Function at 0x412920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430f6c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5109b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ebx, dword [0x43632c]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call dword [0x436f58]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x10]
call dword [0x436f60]
push 0xc
push str.lksflash.ini
mov dword [ebp - 4], 1
call ebx
mov dword [ebp - 0x24], eax
push 5
push str.CLOCK
mov byte [ebp - 4], 2
call ebx
mov dword [ebp - 0x20], eax
push 3
push 0x43b528
mov byte [ebp - 4], 3
call ebx
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov esi, dword [0x436f38]
lea eax, [ebp - 0x24]
push eax
push 0xf4240
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
call dword [0x436368]
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x28], eax
push 0
push 0x437157
mov byte [ebp - 4], 5
call ebx
mov dword [ebp - 0x1c], eax
push 8
push str.DOWNFILE
mov byte [ebp - 4], 6
call ebx
mov dword [ebp - 0x20], eax
push 3
push 0x43b528
mov byte [ebp - 4], 7
call ebx
add esp, 0x20
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
mov edi, dword [0x436f7c]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x38], eax
push 8
push str.00000000
mov byte [ebp - 4], 0xe
call ebx
mov dword [ebp - 0x34], eax
push 8
push str.PROGADDR
mov byte [ebp - 4], 0xf
call ebx
mov dword [ebp - 0x30], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x10
call ebx
add esp, 0x20
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x2c]
call dword [0x436368]
lea ecx, [ebp - 0x30]
call dword [0x436368]
lea ecx, [ebp - 0x34]
call dword [0x436368]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 5
push str.ERASE
mov byte [ebp - 4], 0x17
call ebx
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x18
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x19
push eax
push 2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x5c], eax
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 6
push str.VERIFY
mov byte [ebp - 4], 0x1a
call ebx
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x1b
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
test eax, eax
lea ecx, [ebp - 0x28]
setne byte [ebp - 0x50]
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 5
push str.RESET
mov byte [ebp - 4], 0x1d
call ebx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1e
push 3
push 0x43b528
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1f
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
test eax, eax
lea ecx, [ebp - 0x28]
setne byte [ebp - 0x54]
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 7
push str.ENCRYPT
mov byte [ebp - 4], 0x20
call ebx
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x21
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x22
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
test eax, eax
lea ecx, [ebp - 0x28]
setne byte [ebp - 0x58]
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 8
push str.LINKTYPE
mov byte [ebp - 4], 0x23
call ebx
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x24
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x20], eax
push 8
push str.CHIPTYPE
mov byte [ebp - 4], 0x26
call ebx
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x27
call ebx
add esp, 0x18
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x28
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x28]
mov ebx, eax
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call dword [0x436368]
mov esi, dword [0x43632c]
push 0xc
push str.lksflash.ini
call esi
mov dword [ebp - 0x1c], eax
push 8
push str.00000000
mov byte [ebp - 4], 0x29
call esi
mov dword [ebp - 0x20], eax
push 9
push str.READSTART
mov byte [ebp - 4], 0x2a
call esi
mov dword [ebp - 0x24], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x2b
call esi
add esp, 0x20
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x28]
call dword [0x436368]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x31
call dword [0x436368]
push 0xc
push str.lksflash.ini
call esi
mov dword [ebp - 0x2c], eax
push 8
push str.00010000
mov byte [ebp - 4], 0x32
call esi
mov dword [ebp - 0x30], eax
push 7
push str.READEND
mov byte [ebp - 4], 0x33
call esi
mov dword [ebp - 0x34], eax
push 3
push 0x43b528
mov byte [ebp - 4], 0x34
call esi
add esp, 0x20
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x38]
call dword [0x436368]
lea ecx, [ebp - 0x34]
call dword [0x436368]
lea ecx, [ebp - 0x30]
call dword [0x436368]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x3a
call dword [0x436368]
mov edi, dword [ebp - 0x14]
push 1
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + 0xe0]
call dword [0x436d98]
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x2c]
call dword [0x4362c8]
push 0
push 0x437157
call esi
add esp, 8
mov dword [ebp - 0x28], eax
mov esi, edi
mov byte [ebp - 4], 0x3b
mov edi, dword [0x436d94]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0xdc]
call edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x3a
call dword [0x436368]
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ecx + 0xdc]
call edi
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.004145b0
mov ecx, dword [esi + 0x18]
mov esi, dword [0x43666c]
push 1
mov ecx, dword [ecx + 0x100]
call esi
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x50]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x104]
call esi
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x54]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x10c]
call esi
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x58]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x108]
call esi
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0xf0]
call edi
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ecx + 0x11c]
call edi
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ecx + 0x124]
call edi
push dword [ebp - 0x3c]
mov edi, esi
mov esi, dword [0x4366b4]
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + 0x80]
call esi
mov ecx, dword [edi + 0x18]
push ebx
mov ecx, dword [ecx + 0xa0]
call esi
mov eax, dword [ebp - 0x3c]
push eax
mov byte [edi + 0x20], al
mov byte [edi + 0x21], bl
call fcn.0040fca0
mov ecx, eax
call fcn.0040fd80
push ebx
call fcn.0040fca0
mov ecx, eax
call fcn.0040fd90
mov eax, dword fs:[0x2c]
mov ecx, dword [0x511434]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x511368]
cmp eax, dword [ecx + 4]
jg 0x4130fa
mov ebx, dword [0x436404]
lea ecx, [ebp - 0x3c]
push 0
push 0
push 0
push 0
call ebx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x3d
push 0x43b5bc
push eax
call dword [0x436304]
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x3e
push ecx
push str.1slot_eraseall__
push edi
mov edi, dword [0x436dec]
mov ecx, 0x511350
push eax
call edi
lea ecx, [ebp - 0x58]
call dword [0x436368]
mov esi, dword [0x436408]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x3a
call esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call ebx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x3f
push 0x43b5e4
push eax
call dword [0x436304]
add esp, 0x10
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
push edx
push str.1slot_erasesection__
push ebx
push eax
mov ecx, 0x511350
mov byte [ebp - 4], 0x40
call edi
lea ecx, [ebp - 0x58]
call dword [0x436368]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x3a
call esi
mov ecx, dword [ebx + 0x18]
push 0x511350
mov ecx, dword [ecx + 0xcc]
call dword [0x4366f0]
mov ecx, dword [ebx + 0x18]
push dword [ebp - 0x5c]
mov ecx, dword [ecx + 0xfc]
call dword [0x436680]
lea ecx, [ebp - 0x40]
call dword [0x436368]
lea ecx, [ebp - 0x44]
call dword [0x436368]
lea ecx, [ebp - 0x48]
call dword [0x436368]
lea ecx, [ebp - 0x18]
call dword [0x436368]
lea ecx, [ebp - 0x10]
call dword [0x436f5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x511368
call fcn.0042dd7e
add esp, 4
cmp dword [0x511368], 0xffffffff
jne 0x412fe2
push 0
mov ecx, 0x511350
mov byte [ebp - 4], 0x3c
call dword [0x4366c8]
push 0x435b70
call fcn.0042dba7
push 0x511368
mov byte [ebp - 4], 0x3a
call fcn.0042dd34
add esp, 8
jmp 0x412fe2