Function at 0x425130
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.00424f30
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 0x425378
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 0x4251e1
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x38]
add eax, 0x60
push edx
push eax
call fcn.00435da0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x4251e3
xor esi, esi
test eax, edi
je 0x4251f3
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
test eax, ebx
je 0x4251fe
or edx, 2
mov dword [esp + 0x14], edx
mov dword [esp + ebp*4 + 0x4c], edx
test esi, esi
je 0x42523c
mov ebx, dword [esp + 0x10]
xor ebp, ebp
cmp dword [ebx + 0x78], ebp
jle 0x4252b0
lea eax, [ebx + 0x50]
cmp ecx, dword [eax]
je 0x42522a
inc ebp
add eax, 4
cmp ebp, dword [ebx + 0x78]
jl 0x425218
jmp 0x4252b0
mov eax, dword [ebx + ebp*4 + 0x64]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 1
jmp 0x4252b7
mov edi, dword [esp + 0x20]
add edi, 0x60
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0xffffffff
je 0x425268
push 4
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.00435da0
add esp, 0xc
test eax, eax
je 0x425268
mov esi, eax
jmp 0x4252a0
push 0x24
push 1
call dword [0x47605c]
mov esi, eax
add esp, 8
test esi, esi
je 0x425360
push 0
push esi
call fcn.0044d890
push esi
push 4
lea edx, [esp + 0x28]
push edx
push edi
call fcn.00435c70
add esp, 0x18
test eax, eax
je 0x425356
test esi, esi
je 0x425360
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
je 0x4252df
mov eax, dword [esp + 0x2c]
cmp eax, edx
je 0x425308
test al, 1
je 0x4252c6
dec dword [esi + 0x1c]
test al, 2
je 0x4252cd
dec dword [esi + 0x20]
test dl, 1
je 0x4252d5
inc dword [esi + 0x1c]
test dl, 2
je 0x425308
inc dword [esi + 0x20]
jmp 0x425308
mov eax, 1
add dword [esi + 0x18], eax
test al, dl
je 0x4252ee
add dword [esi + 0x1c], eax
test dl, 2
je 0x4252f6
add dword [esi + 0x20], eax
mov ecx, dword [esi + 4]
lea eax, [ebx + 0x24]
push eax
push ebx
push ecx
push esi
call fcn.0044d8b0
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 0x425343
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x425340
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 0x425378
mov eax, dword [esp + 0x1c]
jmp 0x425180
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.004183ef
add esp, 0x54
ret
cmp dword [esi + 0x78], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 0
jle 0x42544a
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 0x4253b1
cmp edi, dword [esp + eax*4 + 0x38]
je 0x425433
inc eax
cmp eax, ebp
jl 0x4253a2
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x425433
mov ebx, dword [esp + 0x20]
push 4
lea edx, [esp + 0x1c]
push edx
lea ebp, [ebx + 0x60]
push ebp
call fcn.00435da0
add esp, 0xc
test eax, eax
je 0x42542f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
dec dword [eax + 0x18]
mov edx, dword [eax + 0x18]
test cl, 2
je 0x4253e9
dec dword [eax + 0x20]
test cl, 1
je 0x4253f1
dec dword [eax + 0x1c]
test edx, edx
jne 0x425420
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x42540d
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.00435d20
jmp 0x42542c
push 0
lea edx, [esi + 0x24]
push edx
push eax
call fcn.0044d920
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 0x425395
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.004183ef
add esp, 0x54
ret