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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4dc27d
sub esp, 0x70
lea eax, [0x4f6b00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004045d0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov dword [esp], 0x14
lea ecx, [0x51b594]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
call fcn.0043dc90
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.004439f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dc1ad
cmp eax, 1
jne 0x4dc27c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
test eax, eax
je 0x4dc173
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.004dabd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4dc18c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
lea edx, [0x506560]
mov dword [esp], edx
call fcn.0040b480
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0x605b20]
test eax, eax
jne 0x4dc0ec
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
jmp 0x4dc0f5
mov eax, dword [esp + 0x4c]
call fcn.0045d600
mov ecx, dword [esp + 0x80]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x605b20]
test ecx, ecx
jne 0x4dc112
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], eax
jmp 0x4dc124
lea ecx, [edi + 8]
mov eax, dword [esp + 0x7c]
mov edx, edi
mov edi, ecx
call fcn.0045d600
mov edi, edx
mov eax, dword [0x5df9c4]
mov ecx, dword [esp + 0x28]
cmp dword [0x5df9c0], ecx
jne 0x4dc167
mov dword [esp + 0x40], edi
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004035c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dc163
mov eax, dword [esp + 0x40]
mov byte [eax + 0x1a], 1
mov edi, eax
jmp 0x4dc167
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
lea eax, [0x53b9cc]
mov ecx, edi
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x70
ret
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 4]
mov ebx, dword [0x5df85c]
mov ebp, dword [esp + 8]
cmp dword [0x5df858], edx
jne 0x4dc222
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], ebp
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004035c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dc212
mov eax, dword [0x5df998]
mov ecx, dword [0x5df99c]
jmp 0x4dc25f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x38]
mov ebx, dword [0x5db884]
cmp dword [0x5db880], edx
jne 0x4dc25f
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004035c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dc257
mov eax, dword [0x5db8b8]
mov ecx, dword [0x5db8bc]
jmp 0x4dc25f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x70
ret
nop
call fcn.0045c1c0
jmp fcn.004dbf40