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

Disassembly:
push 0xffffffffffffffff
push 0x102460b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ebp
call fcn.006453f9
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [ebp + 0x24]
call fcn.004849e9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], ecx
je 0x4da20f
push ebx
push esi
push edi
jmp 0x4d9f99
mov eax, dword [esp + 0x78]
lea ecx, [ecx]
mov edx, dword [ebp + 0x60]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
push 0
push edx
push edi
push ebx
call fcn.0049d059
mov ecx, dword [esp + 0x78]
mov esi, edx
mov edx, dword [0x102fe7f8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
cmp eax, edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], esi
jne 0x4d9fd1
cmp ecx, dword [0x102fe7fc]
je 0x4d9fd5
add eax, ebx
adc ecx, edi
mov edx, dword [ebp + 0x60]
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov ecx, edx
add ecx, eax
mov eax, ebx
adc eax, edi
push ebx
add ecx, 0xffffffff
push edx
adc eax, 0xffffffff
push eax
push ecx
call fcn.0049d059
cmp esi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
ja 0x4da1f1
mov edx, dword [esp + 0x20]
jb 0x4da019
cmp edx, eax
jae 0x4da1f1
mov edi, edi
mov ecx, dword [ebp + 0x58]
mov eax, dword [ecx + 4]
mov bl, byte [eax + 0x21]
test bl, bl
jne 0x4da049
lea ecx, [ecx]
mov edi, dword [eax + 0x14]
cmp edi, esi
ja 0x4da03e
jb 0x4da039
mov edi, dword [eax + 0x10]
cmp edi, edx
jae 0x4da03e
mov eax, dword [eax + 8]
jmp 0x4da042
mov ecx, eax
mov eax, dword [eax]
mov bl, byte [eax + 0x21]
test bl, bl
je 0x4da029
mov eax, dword [ebp + 0x58]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x4da066
cmp esi, dword [ecx + 0x14]
jb 0x4da066
ja 0x4da060
cmp edx, dword [ecx + 0x10]
jb 0x4da066
lea eax, [esp + 0x14]
jmp 0x4da06e
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x58]
jne 0x4da1cb
mov ebp, dword [ebp + 0x60]
xor ebx, ebx
push ebx
add edx, 1
push ebp
adc esi, ebx
push esi
push edx
call fcn.0049cd99
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x44]
mov edi, edx
mov edx, eax
or edx, ecx
je 0x4da0ae
cmp edi, ecx
jb 0x4da0ae
ja 0x4da0aa
cmp esi, eax
jbe 0x4da0ae
mov esi, eax
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push ebx
push ebp
call fcn.0049cd99
mov ebp, dword [esp + 0x7c]
mov ecx, ebp
mov ebx, eax
mov dword [esp + 0x3c], edx
call fcn.00481939
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4da148
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
test eax, eax
je 0x4da148
mov ecx, ebp
call fcn.00481939
mov eax, dword [eax + 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
sub eax, 0x10
cmp ecx, dword [0x102fe7f8]
jne 0x4da106
cmp edx, dword [0x102fe7fc]
je 0x4da10b
add ecx, dword [eax]
adc edx, dword [eax + 4]
cmp ecx, ebx
jne 0x4da148
mov eax, dword [esp + 0x3c]
cmp edx, eax
jne 0x4da14c
mov ecx, ebp
call fcn.00481939
mov eax, dword [eax + 8]
mov edx, dword [eax - 0xc]
mov ebx, dword [eax - 0x10]
sub eax, 0x10
mov ecx, ebp
mov dword [esp + 0x44], edx
call fcn.00481939
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x44]
sub esi, ebx
sbb edi, ecx
mov dword [eax - 8], esi
mov dword [eax - 4], edi
jmp 0x4da1bf
mov eax, dword [esp + 0x3c]
sub esi, ebx
sbb edi, eax
mov ecx, ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
call fcn.00481939
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x4da174
xor edx, edx
jmp 0x4da17c
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x4da1ad
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x4da1ad
mov ecx, dword [esp + 0x7c]
mov edi, dword [esi + 8]
push ecx
push esi
lea edx, [esp + 0x60]
push edx
push 1
push edi
call fcn.00611a49
add esp, 0x14
add edi, 0x10
mov dword [esi + 8], edi
jmp 0x4da1bf
mov eax, dword [esi + 8]
lea ecx, [esp + 0x58]
push ecx
push 1
push eax
mov ecx, esi
call fcn.004805a9
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add edx, 1
adc esi, 0
cmp esi, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
jb 0x4da019
ja 0x4da1f1
cmp edx, dword [esp + 0x28]
jb 0x4da019
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
cmp eax, ecx
mov dword [esp + 0x78], eax
jne 0x4d9f92
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
test eax, eax
pop ebp
je 0x4da21d
push eax
call fcn.0049cb9b
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8