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

Disassembly:
sub esp, 0x60
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 4], ecx
push edi
mov ecx, esi
call fcn.00481939
mov edi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x6c], edi
call fcn.00481939
mov eax, dword [eax + 8]
cmp edi, eax
mov dword [esp + 0xc], eax
je 0x4d9827
push ebx
push ebp
jmp 0x4d9579
mov edi, dword [esp + 0x74]
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov esi, dword [edi]
mov ebx, dword [eax + 0x60]
mov edi, dword [edi + 4]
xor ebp, ebp
mov ecx, esi
add ecx, ebx
mov edx, edi
adc edx, ebp
push ebp
add ecx, 0xffffffff
push ebx
adc edx, 0xffffffff
push edx
push ecx
call fcn.0049d059
push ebp
push ebx
push edx
push eax
call fcn.0049cd99
mov ecx, dword [esp + 0x10]
mov ebx, edx
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
cmp ebx, ecx
mov dword [esp + 0x18], eax
jb 0x4d95c7
ja 0x4d95c1
cmp eax, edx
jbe 0x4d95c7
mov dword [esp + 0x18], edx
mov ebx, ecx
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 8]
cmp eax, dword [0x102fe7f8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jne 0x4d95f1
cmp ecx, dword [0x102fe7fc]
jne 0x4d95f1
mov ebp, eax
mov dword [esp + 0x34], ecx
jmp 0x4d95fd
mov ebp, eax
add ebp, esi
mov edx, ecx
adc edx, edi
mov dword [esp + 0x34], edx
cmp eax, dword [0x102fe7f8]
jne 0x4d960d
cmp ecx, dword [0x102fe7fc]
je 0x4d9611
add eax, esi
adc ecx, edi
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x60]
mov dword [esp + 0x38], edx
xor edx, edx
push edx
mov edx, dword [esp + 0x3c]
push edx
push ecx
push eax
call fcn.00690f99
sub ebp, eax
mov eax, dword [esp + 0x34]
sbb eax, edx
cmp eax, ebx
mov ecx, ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jb 0x4d979d
ja 0x4d9653
cmp ecx, ebp
jbe 0x4d979d
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x60]
push eax
push edi
push esi
call fcn.00690f99
or eax, edx
je 0x4d96de
mov ecx, dword [esp + 0x78]
sub ebp, esi
sbb ebx, edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
call fcn.00481939
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d9693
xor edx, edx
jmp 0x4d969b
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x4d96cc
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x4d96cc
mov ecx, dword [esp + 0x78]
mov edi, dword [esi + 8]
push ecx
push esi
lea edx, [esp + 0x48]
push edx
push 1
push edi
call fcn.00611a49
add esp, 0x14
add edi, 0x10
mov dword [esi + 8], edi
jmp 0x4d96de
mov eax, dword [esi + 8]
lea ecx, [esp + 0x40]
push ecx
push 1
push eax
mov ecx, esi
call fcn.004805a9
mov ebx, dword [esp + 0x74]
mov esi, dword [ebx + 8]
cmp esi, dword [0x102fe7f8]
mov edi, dword [ebx + 0xc]
jne 0x4d96fe
cmp edi, dword [0x102fe7fc]
jne 0x4d96fe
mov eax, esi
mov ecx, edi
jmp 0x4d9707
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add eax, esi
adc ecx, edi
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 0x60]
push 0
push edx
push ecx
push eax
call fcn.00690f99
or eax, edx
je 0x4d9812
mov edx, dword [0x102fe7f8]
cmp esi, edx
jne 0x4d9738
cmp edi, dword [0x102fe7fc]
jne 0x4d9738
mov eax, esi
mov ecx, edi
jmp 0x4d9741
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add eax, esi
adc ecx, edi
cmp eax, dword [ebp + 0x40]
jne 0x4d974f
cmp ecx, dword [ebp + 0x44]
je 0x4d9812
cmp esi, edx
jne 0x4d9761
cmp edi, dword [0x102fe7fc]
jne 0x4d9761
mov eax, esi
mov ecx, edi
jmp 0x4d976a
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add eax, esi
adc ecx, edi
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
sub eax, edx
sbb ecx, esi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x78]
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
call fcn.00481939
mov ecx, eax
call fcn.00480869
jmp 0x4d9812
mov eax, dword [0x102fe7f8]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
mov eax, dword [esp + 0x24]
jne 0x4d97b6
cmp eax, dword [0x102fe7fc]
je 0x4d97ba
add ecx, esi
adc eax, edi
mov edx, dword [esp + 0x10]
cmp ecx, dword [edx + 0x40]
jne 0x4d97f9
mov ecx, edx
cmp eax, dword [ecx + 0x44]
jne 0x4d97f9
xor eax, eax
push eax
mov edx, ecx
mov eax, dword [edx + 0x60]
push eax
push edi
push esi
call fcn.00690f99
or eax, edx
je 0x4d980e
sub ebp, esi
sbb ebx, edi
lea eax, [esp + 0x60]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
push eax
jmp 0x4d97fe
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
call fcn.00481939
mov ecx, eax
call fcn.00480869
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add ebx, 0x10
cmp ebx, eax
mov dword [esp + 0x74], ebx
jne 0x4d956e
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x60
ret 8