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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4dce6e
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x104], eax
mov byte [esp + 0x2a], 0
mov eax, dword [esp + 0x11c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x44], eax
nop
cmp eax, 0x14
ja 0x4dc5da
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4dc5fd
cmp eax, 0x14
je 0x4dc5e4
jmp 0x4dce27
cmp eax, 0x16
jbe 0x4dc5fd
cmp eax, 0x17
jne 0x4dc5f4
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
test ebx, ebx
setne bl
jmp 0x4dc626
cmp eax, 0x1a
jne 0x4dce27
test ecx, 0x200
jne 0x4dc654
test ecx, 0x80
je 0x4dc618
mov edx, dword [esp + 0x118]
mov ebx, dword [edx]
jmp 0x4dc621
mov edx, dword [esp + 0x118]
mov ebx, edx
test ebx, ebx
setne bl
test bl, bl
jne 0x4dc65b
mov eax, dword [esp + 0x110]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x6392f4]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00477b00
add esp, 0x108
ret
mov edx, dword [esp + 0x118]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 0x14]
inc ebp
mov dword [ebx + 0x14], ebp
cmp ebp, 0x3e8
ja 0x4dc678
xor ebp, ebp
jmp 0x4dc77f
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00493580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea ecx, [0x60dd00]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x60f2a0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d2f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4dccd4
lea eax, [0x60dd00]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x110]
mov ebx, dword [edx + 0x18]
lea ebp, [0x60f2a0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0040d670
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x110]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea edx, [0x4dcf00]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
lea ecx, [0x60dd00]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x104], ecx
mov byte [esp + 0x2a], 1
mov ebx, eax
mov ebp, 1
xchg ebp, eax
mov byte [esp + 0x2b], al
xchg ebp, eax
mov dword [esp], ebx
mov byte [esp + 4], 0x7b
call fcn.00478000
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4dc7a7
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 4]
jmp 0x4dc7d0
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 8], edx
call fcn.00491950
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
lea eax, [0x61dd00]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044da60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x15
je 0x4dc80f
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call fcn.00491e00
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00467ee1
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xd0], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 0xc8], edx
mov ebx, dword [esp + 0x118]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4dc852
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.00491d10
movzx eax, byte [esp + 4]
test al, al
je 0x4dc950
lea eax, [esp + 0xc8]
mov dword [esp], eax
call fcn.00491b70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x4dcccf
shl eax, 5
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x5c]
lea esi, [ebp + eax]
mov dword [esp + 0x58], esi
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [ebp + eax + 8], ebx
mov ebx, dword [0x860560]
test ebx, ebx
je 0x4dc8d6
mov ebx, edi
call fcn.00467c70
mov dword [edi], ebx
mov edx, dword [ebp + eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [ebp + eax + 4]
mov dword [edi + 0xc], edx
mov edi, ebx
mov dword [esp + 0x40], eax
mov dword [ebp + eax], edi
mov dword [ebp + eax + 4], ecx
lea ecx, [esp + 0xc8]
mov dword [esp], ecx
call fcn.00491c40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x5c]
mov dword [ebp + ebx + 0x14], eax
mov eax, dword [0x860560]
test eax, eax
je 0x4dc92b
call fcn.00467c70
mov dword [edi], ecx
mov eax, dword [ebp + ebx + 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov eax, dword [ebp + ebx + 0x10]
mov dword [edi + 0xc], eax
mov dword [ebp + ebx + 0xc], ecx
mov dword [ebp + ebx + 0x10], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004de2f0
mov eax, dword [esp + 4]
test eax, eax
je 0x4dc84b
jmp 0x4dcb69
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00409b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x4dce80]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x8c], edx
lea ebx, [0x605d40]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.0049dab0
mov eax, dword [esp + 0x5c]
xor ecx, ecx
jmp 0x4dcae1
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x110]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
sub esi, ebp
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
add ebp, dword [ebx]
inc ecx
mov dword [esp + 0x40], ecx
lea esi, [0x6894d0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x121]
mov byte [esp + 0x18], al
call fcn.004e4440
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00477a30
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.00478000
mov edx, dword [esp + 0x10c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x120]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0x121]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x5c]
add eax, 0x20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x4dcb28
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
lea edi, [esp + 0xa8]
mov esi, eax
call fcn.004683b0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4dc9ea
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.00478000
mov ecx, dword [esp + 0x30]
jmp 0x4dc9ea
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.00478000
mov eax, dword [esp + 0x110]
dec dword [eax + 0x14]
movzx eax, byte [esp + 0x2b]
test al, 1
je 0x4dcb62
and eax, 0xfffffffe
mov byte [esp + 0x2a], al
mov edx, dword [esp + 0x104]
mov eax, dword [edx]
call eax
add esp, 0x108
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x114]
mov dword [esp], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.004933c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
call fcn.00409b10
mov eax, dword [esp + 8]
lea ecx, [0x60d940]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00409b10
mov eax, dword [esp + 8]
lea ecx, [0x60d940]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x6454c3]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c9020
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
nop
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x61bac0]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409940
mov eax, dword [esp + 8]
lea ecx, [0x61bac0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438060
call fcn.00467cb0
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov ecx, dword [esp + 0x118]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x11c]
mov dword [esp + 8], edx
call fcn.004933c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
test eax, eax
je 0x4dcd18
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [0x64133e]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cbc00
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
lea edx, [0x619180]
mov dword [esp], edx
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x4dce0a
mov ecx, dword [esp + 0x114]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x4dcdfd
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x689e5c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x61bac0]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00409940
mov eax, dword [esp + 8]
lea ecx, [0x61bac0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438060
call fcn.00467c40
mov ecx, dword [esp + 0x54]
mov dword [edi], ecx
jmp 0x4dcdac
call fcn.00467c50
mov ecx, dword [esp + 0x114]
mov dword [edi], ecx
mov edx, dword [esp + 0x118]
mov dword [edi + 4], edx
jmp 0x4dcd88
lea eax, [0x6195a0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x63d8d3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x6120a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438060
nop
call fcn.004375e0
add esp, 0x108
ret
call fcn.00466840
jmp fcn.004dc580