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

Disassembly:
sub esp, 0x54
mov eax, dword [0x476018]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov dword [esp + 0x18], eax
or eax, 0xffffffff
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push edi
lea ecx, [ebp + 5]
lea edx, [esp + 0x38]
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], ebp
call fcn.004255e0
mov dword [esp + 0x1c], eax
nop
lea ecx, [ebp + 0x10]
mov ebx, 1
shl ebx, cl
mov ecx, ebp
mov edi, 1
shl edi, cl
mov ecx, edi
or ecx, ebx
test eax, ecx
je 0x425a28
mov ecx, dword [esp + ebp*4 + 0x38]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
cmp ecx, 0xffffffff
je 0x425891
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x38]
add eax, 0x60
push edx
push eax
call fcn.00436430
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x425893
xor esi, esi
test eax, edi
je 0x4258a3
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
test eax, ebx
je 0x4258ae
or edx, 2
mov dword [esp + 0x14], edx
mov dword [esp + ebp*4 + 0x4c], edx
test esi, esi
je 0x4258ec
mov ebx, dword [esp + 0x10]
xor ebp, ebp
cmp dword [ebx + 0x78], ebp
jle 0x425960
lea eax, [ebx + 0x50]
cmp ecx, dword [eax]
je 0x4258da
inc ebp
add eax, 4
cmp ebp, dword [ebx + 0x78]
jl 0x4258c8
jmp 0x425960
mov eax, dword [ebx + ebp*4 + 0x64]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 1
jmp 0x425967
mov edi, dword [esp + 0x20]
add edi, 0x60
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0xffffffff
je 0x425918
push 4
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.00436430
add esp, 0xc
test eax, eax
je 0x425918
mov esi, eax
jmp 0x425950
push 0x24
push 1
call dword [0x47605c]
mov esi, eax
add esp, 8
test esi, esi
je 0x425a10
push 0
push esi
call fcn.0044df20
push esi
push 4
lea edx, [esp + 0x28]
push edx
push edi
call fcn.00436300
add esp, 0x18
test eax, eax
je 0x425a06
test esi, esi
je 0x425a10
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
je 0x42598f
mov eax, dword [esp + 0x2c]
cmp eax, edx
je 0x4259b8
test al, 1
je 0x425976
dec dword [esi + 0x1c]
test al, 2
je 0x42597d
dec dword [esi + 0x20]
test dl, 1
je 0x425985
inc dword [esi + 0x1c]
test dl, 2
je 0x4259b8
inc dword [esi + 0x20]
jmp 0x4259b8
mov eax, 1
add dword [esi + 0x18], eax
test al, dl
je 0x42599e
add dword [esi + 0x1c], eax
test dl, 2
je 0x4259a6
add dword [esi + 0x20], eax
mov ecx, dword [esi + 4]
lea eax, [ebx + 0x24]
push eax
push ebx
push ecx
push esi
call fcn.0044df40
add esp, 0x10
mov edi, dword [esi + 0x20]
neg edi
sbb edi, edi
xor edx, edx
and edi, 2
cmp dword [esi + 0x1c], edx
setne dl
or edi, edx
cmp dword [esi + 0x10], edi
je 0x4259f3
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x4259f0
mov edx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x38]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edi
push edx
push ebx
call eax
add esp, 0x14
mov dword [esi + 0x10], edi
mov esi, dword [esp + 0x10]
inc ebp
cmp ebp, 5
jge 0x425a28
mov eax, dword [esp + 0x1c]
jmp 0x425830
push esi
call dword [0x476050]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00418a8f
add esp, 0x54
ret
cmp dword [esi + 0x78], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 0
jle 0x425afa
lea eax, [esi + 0x64]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx - 0x14]
xor eax, eax
test ebp, ebp
jle 0x425a61
cmp edi, dword [esp + eax*4 + 0x38]
je 0x425ae3
inc eax
cmp eax, ebp
jl 0x425a52
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x425ae3
mov ebx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x1c]
push edx
lea ebp, [ebx + 0x60]
push ebp
call fcn.00436430
add esp, 0xc
test eax, eax
je 0x425adf
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
dec dword [eax + 0x18]
mov edx, dword [eax + 0x18]
test cl, 2
je 0x425a99
dec dword [eax + 0x20]
test cl, 1
je 0x425aa1
dec dword [eax + 0x1c]
test edx, edx
jne 0x425ad0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x425abd
mov edx, dword [eax + 0x14]
mov eax, dword [ebx + 0x38]
push edx
push eax
push 4
push edi
push esi
call ecx
add esp, 0x14
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov dword [esp + 0x24], edi
call fcn.004363b0
jmp 0x425adc
push 0
lea edx, [esi + 0x24]
push edx
push eax
call fcn.0044dfb0
add esp, 0xc
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], 4
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x78]
jl 0x425a45
lea edi, [ebp*4]
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esi + 0x50]
push ecx
call sub.MSVCR100.dll_memcpy
push edi
lea edx, [esp + 0x5c]
push edx
lea eax, [esi + 0x64]
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x78]
add esp, 0x18
pop edi
mov dword [esi + 0x78], ebp
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00418a8f
add esp, 0x54
ret