Function at 0x427d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f380
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 4
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
jne 0x428156
cmp dword [ebp + 0x20], 1
jne 0x428156
xor eax, eax
lea edi, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
lea esp, [esp]
mov ebx, dword [edi + 0x14]
and ebx, 0xfffffffc
cmp ebx, 4
jae 0x427d80
mov ebx, 4
mov ecx, dword [edi - 0x14]
test ecx, ecx
je 0x427da0
cmp ebx, dword [edi]
je 0x427dce
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [edi - 0x14], 0
mov dword [edi], 0
test ebx, ebx
je 0x42814f
push 4
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x42814f
mov dword [edi - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi], ebx
inc eax
add edi, 4
mov dword [ebp - 0x2c], eax
cmp eax, 5
jb 0x427d70
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
mov dword [esi + 0x98], eax
lea edi, [esi + 0xd4]
mov dword [esi + 0xa8], eax
mov ecx, 0x81
mov dword [esi + 0x54], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov eax, dword [ebx + 4]
mov dword [esi + 0x9c], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov eax, dword [esi + 0x24]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xb4], eax
mov eax, 0x4000400
mov dword [esi + 0x60], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xc0], 3
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x98]
xor edi, edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.00434920
test eax, eax
jne 0x42806f
mov eax, dword [esi + 0xc0]
cmp eax, 4
jae 0x427f5f
mov ecx, dword [ebp - 0x3c]
push dword [ecx + eax*4]
mov ecx, ebx
call fcn.00427ba0
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + ecx*4 + 0xa8]
mov edx, dword [esi + ecx*4 + 0x54]
cmp eax, dword [esi + ecx*4 + 0x18]
je 0x42806a
test edx, edx
je 0x427fd9
cmp dword [ebp - 0x2c], 0
jne 0x427fd9
mov dword [ebp - 0x2c], edx
jmp 0x427fd9
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0x28]
sub eax, ecx
je 0x427f90
add dword [ebp - 0x28], eax
mov edx, ecx
push eax
mov eax, dword [ebp - 0x38]
adc edi, 0
mov dword [ebp - 0x24], edi
mov ecx, dword [eax]
call fcn.00424e80
add esp, 4
test eax, eax
jne 0x42815b
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp + 0x1c]
mov edx, dword [esi + 0x3c]
test eax, eax
je 0x427fc2
mov eax, dword [eax]
test eax, eax
je 0x427fc2
mov edi, dword [eax]
sub edi, dword [ebp - 0x28]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], eax
jb 0x427fbf
ja 0x427fbd
cmp edx, edi
jbe 0x427fbf
mov edx, edi
mov edi, dword [ebp - 0x24]
mov dword [esi + 0xb8], ecx
lea eax, [ecx + edx]
mov dword [esi + 0xbc], eax
test edx, edx
je 0x428076
cmp dword [ebp - 0x34], 0
je 0x428057
mov edx, dword [esi + 0xb8]
xor edi, edi
sub edx, dword [esi + 0x28]
add edx, dword [ebp - 0x28]
mov ecx, edx
adc edi, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x18]
mov eax, edi
sbb eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
jne 0x428007
cmp ecx, 0x1000000
jb 0x428057
mov eax, dword [esi + 0xb4]
sub eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x90]
sub ecx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x94]
sbb eax, 0
mov dword [ebp - 0x18], edx
add ecx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x34]
adc eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, edi
call dword [0x4502ac]
call edi
test eax, eax
jne 0x42815b
lea ecx, [esi + 0x98]
call fcn.00434920
mov edi, dword [ebp - 0x24]
jmp 0x427f11
mov dword [ebp - 0x30], edx
jmp 0x428076
mov dword [ebp - 0x30], 1
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x28]
sub eax, edx
je 0x42809f
add dword [ebp - 0x28], eax
push eax
mov eax, dword [ebp - 0x38]
adc edi, 0
mov ecx, dword [eax]
call fcn.00424e80
add esp, 4
test eax, eax
jne 0x42815b
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x42814b
mov eax, dword [ebp - 0x2c]
mov ecx, eax
test eax, eax
jne 0x42814b
cmp byte [esi + 0x2d8], al
je 0x428140
cmp dword [esi + 0xd0], eax
jne 0x428144
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x4280da
cmp eax, 8
jne 0x428144
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4280f3
mov eax, dword [eax]
test eax, eax
je 0x4280f3
mov ecx, dword [ebp - 0x28]
cmp dword [eax], ecx
jne 0x428144
cmp dword [eax + 4], edi
jne 0x428144
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x428140
mov esi, 0x60
mov edx, 0x90
mov edi, dword [eax + edx - 0x90]
test edi, edi
je 0x428132
mov eax, dword [edx + ebx - 0x44]
sub eax, dword [edx + ebx - 0x10]
add eax, dword [edx + ebx]
mov ecx, dword [esi + ebx]
sub ecx, eax
mov eax, dword [esi + ebx + 4]
sbb eax, 0
cmp dword [edi], ecx
jne 0x428144
cmp dword [edi + 4], eax
jne 0x428144
mov eax, dword [ebp + 0x10]
add esi, 8
add edx, 4
cmp esi, 0x80
jb 0x428104
xor eax, eax
jmp 0x42815b
mov eax, 1
jmp 0x42815b
mov eax, ecx
jmp 0x42815b
mov eax, 0x8007000e
jmp 0x42815b
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret 0x20