Function at 0x428270
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x526be1
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1b0]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x68], edx
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0xc]
xor ebp, ebp
mov ebx, vtable.t_fileBufferWrite.1.0
push 0x10000
mov dword [esp + 0x54], 0x554401d3
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 8
mov dword [esp + 0x1c], vtable.t_fileBufferWrite.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], 0x10000
call fcn.004faba2
add esp, 4
mov dword [esp + 0x20], eax
push 0x2c
lea ecx, [esp + 0x54]
push ecx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x1b4], ebp
call fcn.004a1490
test al, al
jne 0x42837b
mov ecx, edi
call fcn.00409990
push 0x560594
push 0x55d15c
mov edx, eax
call fcn.00411e80
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x18], vtable.t_fileBufferWrite.0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
cmp eax, ebp
je 0x428374
push eax
call fcn.004faac5
add esp, 4
xor al, al
jmp 0x428655
push 4
lea edx, [esp + 0x34]
push edx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call fcn.004a1490
test al, al
jne 0x4283bf
mov ecx, edi
call fcn.00409990
push 0x5605b4
push 0x55d15c
mov edx, eax
call fcn.00411e80
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004a1450
xor al, al
jmp 0x428655
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
add esi, eax
mov dword [esp + 0x40], esi
mov esi, dword [eax + 8]
add esi, eax
mov dword [esp + 0x44], esi
mov esi, dword [eax + 0xc]
mov edx, eax
mov edx, dword [edx + 0x10]
add esi, eax
add ecx, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x30], ebp
cmp edx, ebp
jbe 0x428554
lea ebx, [ecx + 8]
nop
cmp dword [ebx], ebp
je 0x428533
push 4
push ebx
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285e6
mov esi, dword [ebx - 8]
add esi, dword [esp + 0x44]
push 2
push esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], esi
call fcn.004a1490
test al, al
je 0x4285e6
movsx ecx, word [esi]
push ecx
lea eax, [esi + 2]
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285e6
mov eax, dword [ebx - 4]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x40]
lea eax, [eax + edx*4]
mov dword [esp + 0x38], ebp
cmp dword [ebx], ebp
jbe 0x428524
lea ebp, [eax + 6]
mov esi, dword [ebp - 6]
add esi, dword [esp + 0x48]
push 2
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285e6
movzx eax, word [esi]
mov edx, 0x80
lea ecx, [esi + 2]
cmp ax, dx
ja 0x428610
test ax, ax
jle 0x428610
cwde
push eax
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285f7
push 2
lea ecx, [ebp - 2]
push ecx
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285f7
push 2
push ebp
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285f7
push 4
lea edx, [ebp + 2]
push edx
push edi
lea ecx, [esp + 0x24]
call fcn.004a1490
test al, al
je 0x4285f7
mov eax, dword [esp + 0x38]
inc dword [esp + 0x3c]
inc eax
add ebp, 0xc
mov dword [esp + 0x38], eax
cmp eax, dword [ebx]
jb 0x428473
mov esi, dword [esp + 0x4c]
xor ebp, ebp
movsx eax, word [esi]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [edx + 4]
inc ecx
add ebx, 0xc
mov dword [esp + 0x30], ecx
cmp ecx, dword [eax + 0x10]
jb 0x428400
lea ecx, [esp + 0x7c]
call fcn.004114e0
mov eax, dword [esp + 0x1b4]
lea edx, [esp + 0x7c]
call fcn.00411710
lea eax, [esp + 0x7c]
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x1ac], 2
call fcn.004a1580
test al, al
mov byte [esp + 0x1a8], 0
sete bl
cmp byte [esp + 0x198], 0
mov dword [esp + 0x7c], vtable.t_str.0
jne 0x4285bd
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x88]
cmp eax, ecx
je 0x4285bd
push eax
call fcn.004faac5
add esp, 4
mov ecx, edi
test bl, bl
je 0x428621
call fcn.00409990
push 0x560610
push 0x55d15c
mov edx, eax
call fcn.00411e80
mov dword [esp + 0x24], vtable.t_fileBufferWrite.1.0
jmp 0x42834c
mov ecx, edi
call fcn.00409990
push 0x5605d4
jmp 0x4283a0
push 0x5605d4
mov ecx, edi
call fcn.00402ea0
lea ecx, [esp + 0x18]
call fcn.004a1450
xor al, al
jmp 0x428655
mov ecx, edi
call fcn.00409990
push 0x5605f0
jmp 0x4283a0
call fcn.004099e0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], vtable.t_fileBufferWrite.0
mov dword [esp + 0x1c], vtable.t_fileBufferWrite.1.0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
cmp eax, ebp
je 0x428653
push eax
call fcn.004faac5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 8