Function at 0x4270e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434e70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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 ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0x2c]
mov edi, dword [0x436668]
mov ecx, dword [ecx + 0xc]
call edi
mov ecx, dword [ebx + 0x2c]
mov esi, dword [0x436d9c]
mov byte [ebx + 0x18], al
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 0x18]
call esi
add ebx, 0x1c
push eax
mov ecx, ebx
call dword [0x436360]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x20]
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
push eax
call dword [0x436360]
lea ecx, [ebp - 0x24]
call dword [0x436368]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x30]
call esi
mov esi, dword [ebp - 0x10]
push eax
lea ecx, [esi + 0x24]
call dword [0x436360]
lea ecx, [ebp - 0x24]
call dword [0x436368]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0x38]
call edi
lea ecx, [ebp - 0x14]
mov byte [esi + 0x28], al
call dword [0x436f60]
mov esi, dword [0x43632c]
push 0xc
push str.lksflash.ini
mov dword [ebp - 4], 0
call esi
mov dword [ebp - 0x20], eax
push 7
push str.SAVEALL
mov byte [ebp - 4], 1
call esi
mov dword [ebp - 0x1c], eax
push 4
push str.SAVE
mov byte [ebp - 4], 2
call esi
add esp, 0x18
mov dword [ebp - 0x18], eax
mov edi, dword [0x436f34]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
movzx eax, byte [eax + 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
lea ecx, [ebp - 0x18]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call dword [0x436368]
push 0xc
push str.lksflash.ini
call esi
mov dword [ebp - 0x18], eax
push 9
push str.SAVESTART
mov byte [ebp - 4], 4
call esi
mov dword [ebp - 0x1c], eax
push 4
push str.SAVE
mov byte [ebp - 4], 5
call esi
add esp, 0x18
mov dword [ebp - 0x20], eax
mov esi, dword [0x436f8c]
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [0x436368]
mov ebx, dword [0x43632c]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x18], eax
push 7
push str.SAVEEND
mov byte [ebp - 4], 7
call ebx
mov dword [ebp - 0x1c], eax
push 4
push str.SAVE
mov byte [ebp - 4], 8
call ebx
add esp, 0x18
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
add eax, 0x20
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x18], eax
push 8
push str.SAVEFILE
mov byte [ebp - 4], 0xa
call ebx
mov dword [ebp - 0x1c], eax
push 4
push str.SAVE
mov byte [ebp - 4], 0xb
call ebx
add esp, 0x18
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
add eax, 0x24
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [0x436368]
push 0xc
push str.lksflash.ini
call ebx
mov dword [ebp - 0x18], eax
push 7
push str.SAVEHEX
mov byte [ebp - 4], 0xd
call ebx
mov dword [ebp - 0x1c], eax
push 4
push str.SAVE
mov byte [ebp - 4], 0xe
call ebx
add esp, 0x18
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
movzx eax, byte [ebx + 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call edi
lea ecx, [ebp - 0x20]
call dword [0x436368]
lea ecx, [ebp - 0x1c]
call dword [0x436368]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [0x436368]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc0]
lea ecx, [ebp - 0x14]
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