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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4cd774
sub esp, 0x94
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x44], edx
test edx, edx
je 0x4cd070
jmp 0x4cd098
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x94
ret
mov edx, dword [esp + 0x98]
test byte [edx], al
mov edx, dword [edx + 0x104]
test edx, edx
jne 0x4cd0ad
jmp 0x4cd0b2
jmp 0x4cd1c3
lea eax, [0x5116e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2710
call fcn.004711a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x2710
mov ecx, dword [esp + 0x98]
test byte [ecx], al
mov dword [ecx + 0x108], 0
mov dword [ecx + 0x10c], 0x2710
mov edx, dword [0x5efdd0]
test edx, edx
je 0x4cd11a
jmp 0x4cd11c
jmp 0x4cd12e
call fcn.004757c0
mov dword [edi], eax
mov edx, dword [ecx + 0x104]
mov dword [edi + 4], edx
jmp 0x4cd12e
mov dword [ecx + 0x104], eax
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x10c]
mov dword [esp + 0x44], eax
lea ecx, [0x511660]
mov dword [esp], ecx
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 8], eax
call fcn.004711a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
shl ecx, 2
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x98]
test byte [edx], al
mov dword [edx + 0x114], 0
mov dword [edx + 0x118], ecx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4cd1a7
jmp 0x4cd1a9
jmp 0x4cd1bb
call fcn.004757c0
mov dword [edi], eax
mov ebx, dword [edx + 0x110]
mov dword [edi + 4], ebx
jmp 0x4cd1bb
mov dword [edx + 0x110], eax
jmp 0x4cd1c3
jmp 0x4cd1c5
mov edx, dword [esp + 0x98]
test byte [edx], al
mov edx, dword [edx + 0x114]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x98]
test byte [ebx], al
cmp dword [ebx + 0x11c], edx
jge 0x4cd1ee
jmp 0x4cd3ee
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x10c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x98]
test byte [ecx], al
mov ecx, dword [ecx + 0x108]
mov dword [esp + 0x3c], ecx
sub eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0x4cd22b
jmp 0x4cd238
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x24], eax
jmp 0x4cd23a
jmp 0x4cd23a
lea eax, [0x511760]
mov dword [esp], eax
call fcn.0040dc80
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov dword [eax], 0
mov eax, dword [esp + 0x98]
test byte [eax], al
mov eax, dword [eax + 0x108]
mov dword [esp + 0x3c], eax
lea ecx, [eax + 1]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x98]
test byte [eax], al
mov edx, dword [eax + 0x10c]
mov eax, dword [eax + 0x104]
cmp edx, ecx
jae 0x4cd291
jmp 0x4cd76e
jmp 0x4cd293
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x98]
test byte [ebx], al
mov eax, dword [ebx + 0x108]
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x98]
test byte [ebx], al
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x84]
cmp eax, ecx
jb 0x4cd2db
jmp 0x4cd769
lea eax, [ebx + eax*2]
mov dword [esp + 0x74], eax
mov edx, dword [0x5ccc1c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
test eax, eax
jne 0x4cd328
jmp 0x4cd348
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x94
ret
mov ebx, dword [esp + 0x98]
test byte [ebx], al
mov ebx, dword [ebx + 0x108]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x90]
mov ebp, dword [ebp]
lea ecx, [ebx + ebp]
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x98]
test byte [ebx], al
mov edx, dword [ebx + 0x10c]
mov ebx, dword [ebx + 0x104]
cmp edx, ecx
jae 0x4cd38a
jmp 0x4cd764
jmp 0x4cd38c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x98]
test byte [edx], al
jmp 0x4cd3a3
jmp 0x4cd3a5
mov edx, dword [esp + 0x98]
test byte [edx], al
mov dword [edx + 0x108], 0
mov edx, dword [esp + 0x98]
test byte [edx], al
mov ebx, dword [edx + 0x110]
mov edx, dword [edx + 0x118]
jmp 0x4cd3cf
jmp 0x4cd3d1
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], edx
mov dword [esp + 0x2c], 0
jmp 0x4cd569
jmp 0x4cd3f0
mov edx, dword [esp + 0x98]
test byte [edx], al
mov eax, dword [edx + 0x11c]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x98]
test byte [edx], al
mov ecx, dword [edx + 0x114]
mov ebx, dword [edx + 0x110]
mov edx, dword [edx + 0x118]
jmp 0x4cd420
cmp eax, ecx
jbe 0x4cd429
jmp 0x4cd564
sub edx, eax
sub ecx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and eax, edx
lea edx, [ebx + eax]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 0
jmp 0x4cd457
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x28], edx
setl dl
mov byte [esp + 0x1f], dl
jl 0x4cd46e
jmp 0x4cd486
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x28], edx
setl dl
mov byte [esp + 0x1f], dl
jmp 0x4cd488
jmp 0x4cd488
movzx edx, byte [esp + 0x1f]
test dl, dl
jne 0x4cd493
jmp 0x4cd50e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
cmp ecx, eax
ja 0x4cd4a8
jmp 0x4cd55f
add edx, eax
movzx edx, byte [edx]
mov byte [esp + 0x1e], dl
cmp dl, 0x1a
je 0x4cd4b8
jmp 0x4cd4e7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4cd4c2
jmp 0x4cd4e3
mov eax, dword [esp + 0x98]
test byte [eax], al
mov ecx, dword [esp + 0x98]
test byte [ecx], al
mov ecx, dword [ecx + 0x11c]
inc ecx
mov dword [eax + 0x11c], ecx
jmp 0x4cd4e5
jmp 0x4cd4e5
jmp 0x4cd510
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
cmp ecx, eax
ja 0x4cd4ff
jmp 0x4cd55a
add ebx, eax
mov byte [ebx], dl
jmp 0x4cd505
inc dword [esp + 0x28]
jmp 0x4cd457
jmp 0x4cd510
mov eax, dword [esp + 0x98]
test byte [eax], al
mov ecx, dword [esp + 0x98]
test byte [ecx], al
mov ecx, dword [ecx + 0x11c]
add ecx, dword [esp + 0x28]
mov dword [eax + 0x11c], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x94
ret
call fcn.00475830
call fcn.00475830
call fcn.00475890
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
cmp dword [esp + 0x2c], edx
jl 0x4cd57c
jmp 0x4cd6d2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cmp eax, ecx
jb 0x4cd591
jmp 0x4cd75f
lea eax, [edx + eax*2]
movzx eax, word [eax]
mov dword [esp + 0x20], eax
mov dword [esp], eax
call fcn.004a5e10
movzx eax, byte [esp + 4]
mov byte [esp + 0x1f], al
test al, al
jne 0x4cd5b5
jmp 0x4cd689
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x2c]
inc ebp
cmp ebx, ebp
je 0x4cd5c8
jmp 0x4cd639
mov ebx, dword [esp + 0x90]
mov ebx, dword [ebx]
test ebx, ebx
ja 0x4cd5d7
jmp 0x4cd62f
mov ebx, dword [esp + 0x98]
test byte [ebx], al
mov edx, dword [ebx + 0x10c]
cmp edx, 1
jae 0x4cd5f0
jmp 0x4cd755
jmp 0x4cd5f2
mov edx, dword [esp + 0x98]
test byte [edx], al
mov dword [edx + 0x108], 1
mov edx, dword [esp + 0x98]
test byte [edx], al
mov ecx, dword [edx + 0x108]
mov edx, dword [edx + 0x104]
mov ebx, dword [esp + 0x20]
test ecx, ecx
ja 0x4cd627
jmp 0x4cd74e
mov word [edx], bx
jmp 0x4cd6d4
mov dword [esp + 0x20], 0xfffd
jmp 0x4cd687
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [ebx + 1]
cmp ecx, eax
ja 0x4cd651
jmp 0x4cd749
lea eax, [edx + ebx*2 + 2]
movzx eax, word [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a5e70
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
cmp eax, 0xfffd
jne 0x4cd67d
jmp 0x4cd683
inc dword [esp + 0x2c]
jmp 0x4cd685
jmp 0x4cd685
jmp 0x4cd687
jmp 0x4cd68b
jmp 0x4cd68b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004838e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
jmp 0x4cd6c9
inc dword [esp + 0x2c]
jmp 0x4cd569
jmp 0x4cd6d4
mov edx, dword [esp + 0x98]
test byte [edx], al
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov dword [edx + 0x114], ebp
mov dword [edx + 0x118], esi
mov ebp, dword [0x5efdd0]
test ebp, ebp
je 0x4cd701
jmp 0x4cd703
jmp 0x4cd715
call fcn.004757c0
mov dword [edi], ebx
mov ebp, dword [edx + 0x110]
mov dword [edi + 4], ebp
jmp 0x4cd715
mov dword [edx + 0x110], ebx
mov edx, dword [esp + 0x98]
test byte [edx], al
mov dword [edx + 0x11c], 0
mov edx, dword [esp + 0x90]
mov edx, dword [edx]
test edx, edx
je 0x4cd73d
jmp 0x4cd742
jmp 0x4cd3f0
jmp 0x4cd744
jmp 0x4cd1c5
call fcn.00475830
xor eax, eax
call fcn.00475830
mov ecx, 1
call fcn.00475870
call fcn.00475830
call fcn.00475870
call fcn.00475830
call fcn.00475870
nop
call fcn.004743b0
jmp fcn.004cd020