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

Disassembly:
push 0xffffffffffffffff
push 0x1024609e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], esi
call fcn.00483099
xor edi, edi
lea ecx, [esp + 0x90]
mov dword [esp + 0xc0], edi
call fcn.00483099
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0xcc]
lea edx, [esp + 0xa8]
push edx
lea ecx, [esi + 0x24]
push eax
mov byte [esp + 0xcc], 1
mov dword [esp + 0x60], ecx
call fcn.00484d09
lea ecx, [esp + 0x90]
call fcn.00481939
mov esi, dword [eax + 4]
lea ecx, [esp + 0x90]
call fcn.00481939
mov eax, dword [eax + 8]
cmp esi, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
je 0x4d9ec7
add esi, 8
push ebx
mov dword [esp + 0x14], esi
push ebp
jmp 0x4d98e9
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [ecx + 0x60]
mov ebx, dword [esi - 4]
mov ebp, dword [esi - 8]
push 0
push edx
push ebx
push ebp
call fcn.0049d059
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x1c], eax
cmp ecx, dword [0x102fe7f8]
mov dword [esp + 0x20], edx
jne 0x4d9927
cmp esi, dword [0x102fe7fc]
jne 0x4d9927
mov eax, ecx
mov ecx, esi
jmp 0x4d992f
mov eax, ebp
add eax, ecx
mov ecx, ebx
adc ecx, esi
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x60]
xor edi, edi
mov edx, esi
add edx, eax
mov eax, edi
adc eax, ecx
push edi
add edx, 0xffffffff
push esi
adc eax, 0xffffffff
push eax
push edx
call fcn.0049d059
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
push edx
push edi
push esi
mov dword [esp + 0x34], eax
call fcn.0049cd99
mov esi, eax
cmp esi, ebp
mov edi, edx
jne 0x4d9978
cmp edi, ebx
je 0x4d9aff
cmp edi, dword [esp + 0x38]
jb 0x4d9ae9
ja 0x4d998e
cmp esi, dword [esp + 0x34]
jb 0x4d9ae9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
add ecx, 0x54
push eax
call fcn.0066b559
mov ecx, dword [esp + 0x14]
add ecx, 0x54
mov ecx, dword [ecx + 4]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x4d99cb
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jb 0x4d99cb
ja 0x4d99c5
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x4d99cb
lea eax, [esp + 0x10]
jmp 0x4d99d3
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x58]
mov dword [esp + 0x10], eax
je 0x4d99ef
mov edx, dword [eax + 0x18]
test byte [edx + 4], 4
je 0x4d9ae9
mov eax, ebp
sub eax, esi
mov ecx, ebx
sbb ecx, edi
mov ebp, ecx
mov ecx, dword [esp + 0xd4]
mov ebx, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
call fcn.00481939
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d9aac
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 4
test eax, eax
jbe 0x4d9aac
mov ecx, dword [esp + 0xd4]
call fcn.00481939
mov eax, dword [eax + 8]
mov edx, dword [eax - 8]
cmp edx, dword [0x102fe7f8]
mov ecx, dword [eax - 4]
mov dword [esp + 0x6c], ecx
jne 0x4d9a6b
cmp ecx, dword [0x102fe7fc]
jne 0x4d9a6b
mov eax, dword [esp + 0x6c]
mov ecx, edx
jmp 0x4d9a77
mov ecx, dword [eax - 0x10]
mov eax, dword [eax - 0xc]
add ecx, edx
adc eax, dword [esp + 0x6c]
cmp ecx, esi
jne 0x4d9aac
cmp eax, edi
jne 0x4d9aac
mov esi, dword [esp + 0xd4]
mov ecx, esi
call fcn.00481939
mov eax, dword [eax + 8]
mov ecx, dword [eax - 8]
mov eax, dword [eax - 4]
add ebx, ecx
mov ecx, esi
adc ebp, eax
call fcn.00481939
mov eax, dword [eax + 8]
mov dword [eax - 8], ebx
mov dword [eax - 4], ebp
jmp 0x4d9ac7
mov ecx, dword [esp + 0xd4]
lea eax, [esp + 0x80]
push eax
call fcn.00481939
mov ecx, eax
call fcn.00480869
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + 0x58]
je 0x4d9ae9
mov ecx, dword [eax + 0x18]
or dword [ecx + 4], 0x10
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edx + 0x54]
call fcn.004d7869
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, 1
adc eax, 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x60]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push 0
push eax
call fcn.0049cd99
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
mov ebp, dword [ecx + 4]
mov edi, eax
cmp esi, dword [0x102fe7f8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
jne 0x4d9b41
cmp ebp, dword [0x102fe7fc]
jne 0x4d9b41
mov eax, esi
mov ecx, ebp
jmp 0x4d9b4b
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x40]
cmp eax, ebx
mov edx, dword [edx + 0x44]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
jne 0x4d9b69
cmp ecx, edx
je 0x4d9d89
cmp esi, dword [0x102fe7f8]
jne 0x4d9b7f
cmp ebp, dword [0x102fe7fc]
jne 0x4d9b7f
mov eax, esi
mov ecx, ebp
jmp 0x4d9b8d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
cmp eax, edi
jne 0x4d9b9b
cmp ecx, dword [esp + 0x30]
je 0x4d9d89
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
add eax, 0xffffffff
adc edi, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
add ebx, 0x54
push eax
mov ecx, ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], edi
call fcn.0066b559
mov ecx, dword [ebx + 4]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x4d9bed
cmp edi, dword [eax + 0x14]
jb 0x4d9bed
ja 0x4d9be7
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 0x10]
jb 0x4d9bed
lea eax, [esp + 0x10]
jmp 0x4d9bf5
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x58]
mov dword [esp + 0x10], eax
je 0x4d9c11
mov edx, dword [eax + 0x18]
test byte [edx + 4], 4
je 0x4d9d79
cmp esi, dword [0x102fe7f8]
jne 0x4d9c27
cmp ebp, dword [0x102fe7fc]
jne 0x4d9c27
mov eax, esi
mov ecx, ebp
jmp 0x4d9c35
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
sub edx, eax
mov eax, dword [esp + 0x30]
sbb ebx, ecx
cmp eax, edi
jb 0x4d9c87
ja 0x4d9c59
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x40]
jbe 0x4d9c87
cmp esi, dword [0x102fe7f8]
jne 0x4d9c6f
cmp ebp, dword [0x102fe7fc]
jne 0x4d9c6f
mov eax, esi
mov ecx, ebp
jmp 0x4d9c7d
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
mov edx, dword [esp + 0x40]
sub edx, eax
sbb edi, ecx
mov ebx, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add eax, 8
cmp eax, ecx
je 0x4d9ce5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
ja 0x4d9ce5
jb 0x4d9cb4
mov edi, dword [esp + 0x2c]
mov eax, ecx
cmp eax, edi
jae 0x4d9ce5
cmp esi, dword [0x102fe7f8]
mov ebx, dword [esp + 0x94]
mov edx, ecx
jne 0x4d9cd3
cmp ebp, dword [0x102fe7fc]
jne 0x4d9cd3
mov eax, esi
mov ecx, ebp
jmp 0x4d9ce1
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
sub edx, eax
sbb ebx, ecx
cmp esi, dword [0x102fe7f8]
jne 0x4d9cfb
cmp ebp, dword [0x102fe7fc]
jne 0x4d9cfb
mov eax, esi
mov ecx, ebp
jmp 0x4d9d09
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
add eax, esi
adc ecx, ebp
cmp edx, dword [0x102fe7f8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
jne 0x4d9d33
cmp ebx, dword [0x102fe7fc]
jne 0x4d9d33
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
jmp 0x4d9d3f
add eax, edx
adc ecx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0xd8]
call fcn.00481939
mov ecx, eax
call fcn.00480869
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edx + 0x58]
je 0x4d9d79
mov eax, dword [ecx + 0x18]
or dword [eax + 4], 0x10
push ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [edx + 0x54]
call fcn.004d7869
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x20]
cmp ebp, dword [esp + 0x28]
ja 0x4d9eab
mov ebx, dword [esp + 0x1c]
jb 0x4d9da7
cmp ebx, dword [esp + 0x24]
jae 0x4d9eab
mov edi, dword [esp + 0x14]
add edi, 0x54
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dl, byte [eax + 0x21]
test dl, dl
jne 0x4d9ddb
mov edx, dword [eax + 0x14]
cmp edx, ebp
ja 0x4d9dd0
jb 0x4d9dcb
mov edx, dword [eax + 0x10]
cmp edx, ebx
jae 0x4d9dd0
mov eax, dword [eax + 8]
jmp 0x4d9dd4
mov ecx, eax
mov eax, dword [eax]
mov dl, byte [eax + 0x21]
test dl, dl
je 0x4d9dbb
mov eax, dword [edi + 4]
cmp ecx, eax
mov dword [esp + 0x10], ecx
je 0x4d9df8
cmp ebp, dword [ecx + 0x14]
jb 0x4d9df8
ja 0x4d9df2
cmp ebx, dword [ecx + 0x10]
jb 0x4d9df8
lea eax, [esp + 0x10]
jmp 0x4d9e00
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 0x58]
je 0x4d9e85
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
test cl, 0xe
jne 0x4d9e6a
mov ecx, dword [0x10311fe4]
test ecx, ecx
jne 0x4d9e59
push 4
call fcn.0049cb25
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0xc8], 2
je 0x4d9e47
mov ecx, eax
call fcn.004d6a19
jmp 0x4d9e49
xor eax, eax
mov ecx, eax
mov byte [esp + 0xc8], 1
mov dword [0x10311fe4], ecx
mov edx, dword [esi + 0x18]
push edx
call fcn.004d6a99
push esi
lea eax, [esp + 0x14]
push eax
jmp 0x4d9e7e
test cl, 4
je 0x4d9e85
mov edx, dword [eax + 4]
or edx, 0x10
push esi
lea ecx, [esp + 0x14]
mov dword [eax + 4], edx
push ecx
mov ecx, edi
call fcn.004d7869
mov eax, dword [esp + 0x28]
add ebx, 1
adc ebp, 0
cmp ebp, eax
jb 0x4d9dae
ja 0x4d9ea3
cmp ebx, dword [esp + 0x24]
jb 0x4d9dae
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add eax, 0x10
mov dword [esp + 0x18], eax
add eax, 0xfffffff8
cmp eax, ecx
jne 0x4d98e9
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0xa4]
push edx
call fcn.00483339
lea ecx, [esp + 0x90]
mov byte [esp + 0xc0], 0
call fcn.004830b9
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc0], 0xffffffff
call fcn.004830b9
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xbc
ret 8