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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 8]
push ebx
mov eax, dword [edx + 4]
push esi
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x18]
mov ebx, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x24]
push edi
mov edi, dword [eax + 0x24]
mov eax, ecx
cmp edi, ecx
cmovl eax, edi
mov dword [ebp - 0x20], eax
mov eax, edi
cdq
mov dword [ebp - 0xc], ecx
mov ecx, eax
mov eax, edx
push eax
push ecx
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
call fcn.004a7fd0
xor esi, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
cmp edi, dword [ebp - 0xc]
je 0x425812
cmp byte [ebx + 0xc], 0
mov ecx, 8
cmovne esi, ecx
mov ecx, eax
sub ecx, dword [ebp - 0x14]
mov ebx, edx
sbb ebx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
test esi, esi
jne 0x425980
lea ebx, [ebx]
cmp ebx, edx
jg 0x425980
jl 0x425842
cmp ecx, eax
jae 0x425980
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
push ebx
push ecx
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
call fcn.004a7ef0
mov dword [ebp - 0x18], ecx
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], edx
mov edi, dword [eax + 4]
mov eax, dword [0x4d7bec]
xor edx, edx
div dword [edi + 0x24]
inc eax
cmp ecx, eax
je 0x42595f
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42590a
push dword [ebp + 0xc]
call fcn.00467b40
mov esi, eax
add esp, 4
test esi, esi
jne 0x42590a
push dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov eax, dword [eax + 4]
push dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov edi, dword [ebp - 4]
push ebx
push edi
mov dword [ebp - 0x18], eax
call fcn.004a8010
add eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x18]
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [eax + 8]
mov byte [eax], 0
mov eax, edi
or eax, ebx
jne 0x42590a
cmp dword [ebp + 0x14], eax
jne 0x42590a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
bswap eax
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x42595f
test byte [edx + 0x1c], 0x20
je 0x425956
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
mov ebx, dword [edi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a7fd0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x42595f
push edx
call fcn.00468980
add esp, 4
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 8]
adc ebx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
test esi, esi
jne 0x425980
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x425830
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret