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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cdd14
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x583a60]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x53f20c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004c7450
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x4cdbc3
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [0x583a60]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x53f20c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004c7450
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x40]
cmp ebp, 2
jge 0x4cdd0d
test esi, esi
je 0x4cdbeb
mov ebp, dword [esi + 0xc]
test ebp, ebp
jne 0x4cdd06
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004cdd20
movzx eax, byte [esp + 0xc]
test al, al
je 0x4cdca8
mov eax, 1
test al, al
je 0x4cdc2e
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4cdb25
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004c0e30
jmp 0x4cdb25
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4cdc90
lea eax, [0x523460]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov dword [esp + 0x58], edi
mov eax, dword [0x73c0c0]
test eax, eax
jne 0x4cdc85
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004cde20
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x50]
call fcn.00459850
jmp 0x4cdc5c
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
lea eax, [0x5824b0]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4cdcfc
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
lea esi, [0x582590]
cmp esi, ebx
jne 0x4cdcd0
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
test ebx, ebx
je 0x4cdcf4
lea edi, [0x52da20]
cmp dword [ebx + 4], edi
jne 0x4cdcf0
cmp dword [ebp], 0x20000003
sete bl
mov eax, ebx
jmp 0x4cdc0d
xor ebx, ebx
jmp 0x4cdce9
lea edi, [0x52da20]
jmp 0x4cdcf0
mov edx, dword [esp + 0x54]
mov ebp, edx
mov ebx, ecx
jmp 0x4cdcc0
xor eax, eax
jmp 0x4cdc0d
xor eax, eax
jmp 0x4cdc0d
call fcn.00458300
jmp fcn.004cda70