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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4dc61e
sub esp, 0x5c
mov edx, dword [esp + 0x60]
cmp edx, 2
jne 0x4dc188
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x4dc15e
mov edx, dword [0x663ef8]
mov ebx, dword [0x663efc]
mov ebp, dword [0x663f00]
jmp 0x4dc16a
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
cmp ebx, 4
je 0x4dc17f
cmp ebx, 0x10
jne 0x4dc5d3
xor eax, eax
jmp 0x4dc5e1
mov eax, edx
mov ecx, ebx
jmp 0x4dc4bd
cmp edx, 0x17
jne 0x4dc41b
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4dc1d8
mov ecx, dword [0x663ef8]
mov edx, dword [0x663efc]
mov ebx, dword [0x663f00]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov esi, dword [esp + 0x6c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004d80c0
movzx eax, byte [esp + 0x18]
test al, al
je 0x4dc1ec
mov eax, dword [0x65f4c0]
mov ecx, dword [0x65f4c4]
mov edx, dword [0x65f4c8]
jmp 0x4dc1f8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp ecx, 4
jne 0x4dc2c1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
movzx ebx, byte [eax]
movzx ebp, byte [eax + 1]
movzx esi, byte [eax + 2]
movzx edi, byte [eax + 3]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [0x65f4d0]
mov ecx, dword [0x65f4d4]
cmp ecx, 0x10
jl 0x4dc24e
mov ecx, 0x10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x34]
cmp edx, eax
je 0x4dc294
mov byte [esp + 0x1f], bl
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045d2d0
movzx ebx, byte [esp + 0x1f]
movzx ebp, byte [esp + 0x1e]
movzx esi, byte [esp + 0x1d]
movzx edi, byte [esp + 0x1c]
mov byte [esp + 0x40], bl
xchg ebp, eax
mov byte [esp + 0x41], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x42], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x43], al
xchg edi, eax
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x34]
mov ecx, 0x10
jmp 0x4dc2d4
cmp ecx, 0x10
jne 0x4dc2cc
mov ebx, eax
mov ebp, ecx
jmp 0x4dc2d4
mov ebx, eax
mov ebp, ecx
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4dc385
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], ecx
lea eax, [0x6643c0]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call fcn.004d69d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [0x53dca0]
mov dword [esp], ecx
call fcn.0040b290
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jl 0x4dc337
mov ecx, 0x10
lea edx, [eax + 8]
mov ebx, dword [esp + 0x44]
cmp ebx, edx
je 0x4dc35a
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045d2d0
mov eax, dword [esp + 0x4c]
lea ecx, [0x587a44]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004d7570
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x537d00]
mov dword [esp], edx
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x551148]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4dc3e0
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
jmp 0x4dc3f0
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c980
mov eax, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5878dc]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004d7570
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x537d00]
mov dword [esp], edx
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x5534ed]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4dc482
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
jmp 0x4dc492
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c980
mov eax, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5878dc]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
test edx, edx
je 0x4dc53d
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], edx
lea eax, [0x53c7a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
cmp ecx, 4
jl 0x4dc4ef
mov ecx, 4
lea edx, [eax + 4]
mov ebx, dword [esp + 0x48]
cmp ebx, edx
je 0x4dc512
mov dword [esp + 0x50], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045d2d0
mov eax, dword [esp + 0x50]
lea ecx, [0x587a30]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x5c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004d7570
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea edx, [0x537d00]
mov dword [esp], edx
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x551138]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4dc598
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], ecx
jmp 0x4dc5a8
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045c980
mov eax, ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x5878dc]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x5c
ret
mov eax, edx
mov ecx, ebx
xor edx, edx
xor ebx, ebx
jmp 0x4dc4bd
inc eax
cmp eax, 0xa
jge 0x4dc5f4
jae 0x4dc613
movzx esi, byte [edx + eax]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4dc5e0
jmp 0x4dc5d3
cmp byte [edx + 0xa], 0xff
jne 0x4dc5d3
cmp byte [edx + 0xb], 0xff
jne 0x4dc5d3
lea esi, [edx + 0xc]
mov eax, edx
mov ecx, ebx
mov edx, esi
mov ebx, 4
jmp 0x4dc4bd
mov ecx, 0xa
call fcn.0045ca00
nop
call fcn.0045b540
jmp fcn.004dc120