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

Disassembly:
sub esp, 0x148
mov eax, dword [0x887490]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0x18], edi
mov esi, dword [edi + 0x90]
mov dword [esp + 0x34], ecx
mov esi, dword [esi + 0x14]
mov eax, dword [esi + 0x78]
mov ebx, dword [esi + 0xec]
test eax, eax
je 0x4d1250
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x40], ebp
je 0x4d125d
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x4d127b
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0x74]
call eax
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4d1a0a
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.004d05e0
mov ecx, dword [esp + 0x168]
add esp, 8
mov dword [esi + 0x170], eax
mov dword [esp + 0x10], eax
mov dword [eax + 0x14], ecx
cmp dword [esp + 0x1c], 0
jne 0x4d12cd
push 0
push edi
call fcn.004cf7a0
add esp, 8
test eax, eax
je 0x4d12c3
mov ecx, dword [eax]
push eax
push edi
mov dword [edi + 0x68], ecx
call fcn.004cf820
add esp, 8
jmp 0x4d19f0
mov ebp, 1
jmp 0x4d19f0
mov eax, dword [esi + 0x16c]
xor edi, edi
push dword [esi + 0x88]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edi
call fcn.00454790
mov dword [esp + 0x54], eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
cmp word [eax + 0x70], di
je 0x4d1325
push edi
call fcn.004719e0
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4d1419
cmp dword [ecx + 0x34], edi
jne 0x4d1419
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4d135d
push eax
call fcn.00473cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x4d135d
mov ebx, 1
mov dword [esp + 0x24], ebx
jmp 0x4d1421
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x28], 0
jne 0x4d13ed
cmp dword [eax + 0x20], 0
jg 0x4d13ed
cmp dword [eax + 0x4c], 0
je 0x4d1383
mov dword [esp + 0x2c], 1
jmp 0x4d141f
cmp dword [eax + 0x3c], 0
jne 0x4d1398
mov dword [esi + 0x16c], 0
jmp 0x4d141f
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x4d141f
push eax
call fcn.004d33a0
add esp, 4
test eax, eax
je 0x4d141f
push dword [esi + 0x16c]
call fcn.004d3aa0
push dword [esi + 0x16c]
call fcn.004d2000
mov ecx, dword [esi + 0x16c]
add esp, 8
cmp dword [ecx + 0x60], 0
jne 0x4d13dd
mov eax, dword [ecx + 0x84]
mov edi, dword [eax + 4]
push dword [ecx + 0x90]
call fcn.004cd800
add esp, 4
jmp 0x4d141f
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4d1402
push ecx
call fcn.00473cd0
mov edi, eax
add esp, 4
mov eax, dword [esi + 0x78]
mov eax, dword [eax + 0x20]
test edi, edi
cmovne ebx, edi
mov edi, ebx
xor ebx, ebx
test eax, eax
cmovg ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x4d1421
mov dword [esi + 0x16c], edi
xor ebx, ebx
mov ebp, dword [esp + 0x10]
push 0x10000
mov dword [ebp + 0x1d0], 0x40
call fcn.0048bf00
mov dword [ebp + 0x1cc], eax
xor edx, edx
mov eax, dword [ebp + 0x1d0]
add esp, 4
movzx ecx, word [esi + 0xa2]
shl eax, 0xa
div ecx
mov ebp, eax
mov dword [esp + 0x44], ebp
call fcn.0047e3f0
test eax, eax
jne 0x4d148e
cmp ebp, 1
jle 0x4d148e
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4d1484
cmp dword [ecx + 0x34], eax
jne 0x4d1484
cmp dword [esi + 0x16c], eax
jne 0x4d148e
cmp dword [esp + 0x2c], eax
jne 0x4d148e
mov dword [esp + 0x30], 1
jmp 0x4d1496
mov dword [esp + 0x30], 0
test edi, edi
jne 0x4d14a8
cmp dword [esi + 0x16c], edi
mov eax, 1
cmove edi, eax
mov eax, dword [esi]
test edi, edi
jne 0x4d14b9
mov eax, dword [eax + 0x18]
push esi
call eax
add esp, 4
jmp 0x4d14dd
mov eax, dword [eax + 0x10]
push edi
push esi
call eax
add esp, 8
mov ebp, eax
cmp dword [esp + 0x2c], 0
je 0x4d14df
test ebp, ebp
jne 0x4d14df
mov eax, dword [esi]
push 1
push esi
mov eax, dword [eax + 0x24]
call eax
add esp, 8
mov ebp, eax
mov edi, dword [esi + 0xec]
mov dword [esp + 0x28], edi
test ebp, ebp
jne 0x4d1982
cmp dword [esi + 0x28], 0
jne 0x4d1982
call fcn.0048b3e0
test ax, ax
jne 0x4d197d
cmp dword [esp + 0x30], 0
je 0x4d1620
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
ja 0x4d1982
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d152e
cmp eax, dword [esp + 0x44]
jl 0x4d159b
mov eax, dword [esp + 0x44]
sub ecx, edi
cmp ecx, eax
jb 0x4d153c
mov ecx, eax
jmp 0x4d153d
inc ecx
test ebx, ebx
je 0x4d1546
cmp ebx, ecx
cmovb ecx, ebx
movzx eax, word [esi + 0xa2]
mov ebx, eax
cdq
push edx
push eax
imul ebx, ecx
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00509ac0
mov edi, eax
mov ecx, edx
movzx eax, word [esi + 0xa0]
cdq
add edi, eax
adc ecx, edx
push ecx
push edi
mov edi, dword [esp + 0x18]
push ebx
push dword [edi + 0x1cc]
push dword [esi + 0x8c]
call fcn.00461000
add esp, 0x14
cmp eax, ebx
jne 0x4d18f0
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x4d159f
mov ebx, dword [esp + 0x38]
movzx eax, word [esi + 0xa2]
mov ecx, dword [esp + 0x10]
imul eax, ebx
push 0
push esi
add eax, dword [ecx + 0x1cc]
mov dword [esi + 0xe4], eax
mov eax, dword [esi]
mov dword [esi + 0xec], edi
mov eax, dword [eax + 0x54]
call eax
add esp, 8
cmp eax, 1
je 0x4d1982
mov eax, dword [esi + 0xe4]
xor ecx, ecx
mov dword [esi + 0x118], 1
mov dword [esi + 0x114], 1
cmp byte [eax], 0x2a
sete cl
cmp dword [esi + 0x7c], 0
mov dword [esi + 0x124], ecx
je 0x4d161b
mov eax, dword [esi]
push esi
mov eax, dword [eax + 0xd4]
call eax
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4d1982
inc ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4d163f
push eax
call fcn.004835b0
push eax
call fcn.00473b50
add esp, 8
test eax, eax
je 0x4d1982
cmp edi, dword [esp + 0x1c]
ja 0x4d184a
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4d1668
push eax
call fcn.004835b0
push eax
call fcn.00473b50
add esp, 8
test eax, eax
je 0x4d184a
mov ebx, dword [esp + 0x18]
movzx ecx, word [ebx + 0x70]
test cx, cx
je 0x4d168d
mov eax, dword [esi]
push dword [esp + 0x14]
push ecx
mov eax, dword [eax + 0x58]
push esi
call eax
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
jmp 0x4d169c
push dword [ebx + 0xc]
call fcn.004835b0
add esp, 4
mov dword [esp + 0x14], eax
push eax
call fcn.004763f0
add esp, 4
cmp eax, 0x40
ja 0x4d1747
je 0x4d1703
sub eax, 2
cmp eax, 0x1e
ja case.0x4d16c3.3
movzx eax, byte [eax + 0x4d1a30]
jmp dword [eax*4 + 0x4d1a24]
movzx eax, word [ebx + 0x74]
push eax
movzx eax, word [ebx + 0x72]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
call fcn.004ce020
movzx eax, word [ebx + 0x72]
push eax
lea eax, [esp + 0x68]
push eax
push dword [esi + 0xec]
push dword [esp + 0x2c]
call fcn.004d03b0
add esp, 0x20
jmp 0x4d184e
cmp byte [ebx + 0x6e], 0x54
jne case.0x4d16c3.32
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x18]
call fcn.00474080
push 0x11
lea eax, [esp + 0x60]
push eax
push dword [esi + 0xec]
push dword [esp + 0x24]
call fcn.004d03b0
add esp, 0x18
jmp 0x4d184e
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x18]
call fcn.00473b20
push 8
jmp 0x4d1719
cmp eax, 0x80
je 0x4d181a
cmp eax, 0x400
je 0x4d17ec
cmp eax, 0xc00
je 0x4d17ec
mov eax, dword [ebx + 0x90]
mov ebx, dword [eax]
call fcn.0048b3e0
test ax, ax
jne 0x4d17d4
call fcn.0044a4a0
mov edi, eax
push 0x21
push edi
call fcn.0044a5c0
push 0x402
push edi
call fcn.0044a660
push 0
push edi
call fcn.0044a620
push 0x21
call fcn.00458d20
push eax
push edi
call fcn.0044a560
add esp, 0x24
test ebx, ebx
je 0x4d17bb
push ebx
push edi
call fcn.0044a580
add esp, 8
mov eax, dword [esi]
push edi
push esi
mov eax, dword [eax + 0x144]
call eax
push edi
call fcn.0044acf0
mov edi, dword [esp + 0x34]
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov ebp, 1
mov dword [esp + 0x3c], 0
mov eax, ebp
mov dword [ebx + 0x48], ebp
jmp 0x4d1856
push dword [esp + 0x14]
call fcn.00473ac0
add esp, 4
push eax
push dword [esp + 0x18]
call fcn.00473ae0
add esp, 4
push eax
push dword [esi + 0xec]
push dword [esp + 0x1c]
call fcn.004d03b0
add esp, 0x10
jmp 0x4d184e
push dword [esp + 0x14]
call fcn.00473b50
neg eax
push 1
sbb al, al
and al, 0xe
add al, 0x46
mov byte [esp + 0x5c], al
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0xec]
push dword [esp + 0x20]
call fcn.004d03b0
add esp, 0x14
jmp 0x4d184e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d1863
sub eax, 1
mov dword [esp + 0x24], eax
je 0x4d1982
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4d189a
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
jl 0x4d1896
push edx
mov dword [esp + 0x24], 0
call fcn.004835b0
push eax
call fcn.00473b50
add esp, 8
test eax, eax
je 0x4d1974
inc dword [esp + 0x20]
cmp dword [esp + 0x30], 0
je 0x4d18a4
inc edi
jmp 0x4d18db
test ebp, ebp
jne 0x4d19c3
mov eax, dword [esi]
push 1
push esi
mov eax, dword [eax + 0x28]
call eax
add esp, 8
mov ebp, eax
cmp dword [esp + 0x2c], 0
je 0x4d18d5
test ebp, ebp
jne 0x4d18d5
mov eax, dword [esi]
push 1
push esi
mov eax, dword [eax + 0x24]
call eax
add esp, 8
mov ebp, eax
mov edi, dword [esi + 0xec]
mov dword [esp + 0x28], edi
test ebp, ebp
jne 0x4d1982
mov ebx, dword [esp + 0x24]
jmp 0x4d14f1
call fcn.00461500
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [ecx + 0x90]
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx]
mov dword [esp + 0x34], eax
call fcn.0048b3e0
test ax, ax
jne 0x4d1986
call fcn.0044a4a0
mov edi, eax
push 0x17
push edi
call fcn.0044a5c0
push 0x3f2
push edi
call fcn.0044a660
push dword [esp + 0x50]
push edi
call fcn.0044a620
push 0x17
call fcn.00458d20
push eax
push edi
call fcn.0044a560
add esp, 0x24
test ebx, ebx
je 0x4d1959
push ebx
push edi
call fcn.0044a580
add esp, 8
mov ecx, dword [esp + 0x34]
push edi
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
push edi
call fcn.0044acf0
add esp, 0xc
jmp 0x4d1982
mov dword [ebx + 0x48], 1
jmp 0x4d1982
mov ebp, 1
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x4d19b6
mov eax, dword [esp + 0x48]
mov dword [esi + 0xe4], eax
mov dword [esi + 0x114], 0
test ebp, ebp
jne 0x4d19c3
mov eax, dword [esi]
push dword [esp + 0x28]
push esi
mov eax, dword [eax + 0x10]
call eax
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0x4d19c3
push edi
call fcn.004d07b0
add esp, 4
mov eax, dword [esp + 0x18]
cmp word [eax + 0x70], 0
je 0x4d19da
push dword [esp + 0x14]
call fcn.00475700
add esp, 4
mov eax, dword [esp + 0x4c]
push dword [esp + 0x50]
mov dword [esi + 0x16c], eax
call fcn.00454790
add esp, 4
push 1
push dword [esp + 0x14]
call fcn.004d01b0
add esp, 8
mov dword [esi + 0x170], 0
mov eax, ebp
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005091ef
add esp, 0x148
ret