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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4cde89
sub esp, 0xa8
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x4f7860]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00408c00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x4cdb50
lea eax, [0x4f7380]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.00446f60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea ecx, [0x4f3a00]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00446f60
mov eax, dword [esp + 0xc]
mov ecx, 8
mov edx, eax
mov ebx, 2
mov eax, dword [esp + 0x48]
jmp 0x4cdb7b
lea eax, [0x4f7380]
mov dword [esp], eax
mov dword [esp + 4], 0x10008
mov dword [esp + 8], 0x10008
call fcn.00446f60
mov eax, dword [esp + 0xc]
mov ecx, 0x10008
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0xa0]
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045dd88
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x88]
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x58]
mov dword [esp], edx
lea edx, [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00443d70
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4cde20
lea edi, [esp + 0x68]
lea esi, [esp + 0x88]
call fcn.0045e250
movzx ecx, byte [esp + 0x6c]
mov edx, dword [esp + 0x2c]
test edx, edx
jbe 0x4cde7f
mov eax, dword [esp + 0x44]
mov byte [eax], cl
movzx ebx, byte [esp + 0x6d]
cmp edx, 1
jbe 0x4cde73
mov byte [eax + 1], bl
lea ecx, [edx - 2]
mov ebx, dword [esp + 0x78]
cmp ecx, 1
jbe 0x4cde69
neg ecx
sar ecx, 0x1f
and ecx, 2
mov word [eax + ecx], bx
cmp edx, 4
jb 0x4cde5d
lea ecx, [edx - 4]
mov ebx, dword [esp + 0x70]
cmp ecx, 3
jbe 0x4cde53
neg ecx
sar ecx, 0x1f
and ecx, 4
mov dword [eax + ecx], ebx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4cdd2e
cmp edx, 8
jb 0x4cde49
mov edi, dword [esp + 0x38]
mov dword [edi + 4], 8
mov dword [edi + 8], edx
mov ebx, dword [0x609a90]
test ebx, ebx
jne 0x4cdcc2
mov dword [edi], eax
jmp 0x4cdcc7
call fcn.0045dbb0
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
cmp ecx, 1
jbe 0x4cde3f
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], esi
mov ebp, dword [0x609a90]
test ebp, ebp
jne 0x4cdcf1
mov dword [edi + 0xc], ebx
jmp 0x4cdd01
lea ebp, [edi + 0xc]
mov esi, edi
mov edi, ebp
mov eax, ebx
call fcn.0045dbb0
mov edi, esi
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x10]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4cddaf
cmp edx, 8
jb 0x4cde33
lea ebx, [edx - 8]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, eax
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
cmp edi, ebp
jl 0x4cdd54
mov edi, ebp
cmp esi, ebx
je 0x4cdd74
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0045e480
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
add ebx, 8
cmp edx, ebx
jb 0x4cde2c
mov ecx, dword [esp + 0xac]
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov ebp, dword [ebp + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0xfffffff8
test eax, eax
jge 0x4cddb8
xor eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x84]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.004043f0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00404ba0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cdb8b
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004cc900
add esp, 0xa8
ret
cmp ecx, 1
jne 0x4cde2c
add esp, 0xa8
ret
mov ecx, ebx
call fcn.0045dc70
mov eax, 8
mov ecx, edx
call fcn.0045dc90
mov eax, 1
call fcn.0045dc30
mov ecx, 8
call fcn.0045dc70
mov eax, 3
call fcn.0045dc30
mov eax, 4
mov ecx, edx
call fcn.0045dc90
mov eax, 1
call fcn.0045dc30
mov eax, 1
mov ecx, edx
call fcn.0045dc30
xor eax, eax
mov ecx, edx
call fcn.0045dc30
nop
call fcn.0045c7a0
jmp fcn.004cdaa0