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

Disassembly:
push 0xffffffffffffffff
push 0x4448ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x78], ebp
mov bl, 0xb
push eax
push 0x458368
lea ecx, [esp + 0x88]
call fcn.00500728
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x4cd773
push eax
push 0x45835c
lea ecx, [esp + 0x88]
call fcn.00500728
mov edx, eax
cmp edx, ebp
jl 0x4cd773
mov eax, dword [0x459a84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x4487b8
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov edi, 0x45835c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 3
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
sub edx, eax
add ecx, edx
push ecx
push eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x88]
push eax
call fcn.0050056e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 4
call fcn.00502059
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.00501f20
lea ecx, [esp + 0x4c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x458354
call fcn.00501f8e
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 5
call fcn.00501c95
mov byte [esp + 0x84], 3
call fcn.004ccd10
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45834c
call fcn.00501f8e
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 6
call fcn.00501c95
mov byte [esp + 0x84], 3
call fcn.004ccd10
add esp, 0xc
lea ecx, [esp + 0x24]
push 5
call fcn.00502350
push eax
call fcn.004ef6cf
add esp, 4
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x458344
call fcn.00501f8e
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 7
call fcn.00501c95
mov byte [esp + 0x84], 3
call fcn.004ccd10
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x458338
call fcn.00501f8e
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 8
call fcn.00501c95
mov byte [esp + 0x84], 3
call fcn.004ccd10
add esp, 0xc
push ebp
push 0x45832c
lea ecx, [esp + 0x18]
call fcn.00500728
mov ebp, eax
xor edi, edi
cmp ebp, edi
jl 0x4cd4b4
push ebp
push 0x458320
lea ecx, [esp + 0x18]
call fcn.00500728
mov edx, eax
cmp edx, edi
jl 0x4cd4ae
mov eax, dword [0x459a84]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], edi
mov edi, 0x458320
or ecx, 0xffffffff
xor eax, eax
sub edx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x30]
add ecx, edx
mov byte [esp + 0x78], bl
push ecx
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0050056e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xc
call fcn.00502059
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.00501f20
lea ecx, [esp + 0x3c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x458318
call fcn.00501f8e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xd
call fcn.00501c95
mov byte [esp + 0x84], bl
call fcn.004ccd10
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45830c
call fcn.00501f8e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xe
call fcn.00501c95
mov byte [esp + 0x84], bl
call fcn.004ccd10
add esp, 0xc
lea ecx, [esp + 0x1c]
push 5
call fcn.00502350
push eax
call fcn.004ef6cf
add esp, 4
mov dword [esp + 0x40], eax
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x458304
call fcn.00501f8e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0xf
call fcn.00501c95
mov byte [esp + 0x84], bl
call fcn.004ccd10
add esp, 0xc
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4582f4
call fcn.00501f8e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x88], 0x10
call fcn.00501c95
mov byte [esp + 0x84], bl
call fcn.004ccd10
mov esi, dword [esp + 0x70]
add esp, 0xc
lea ecx, [esp + 0x5c]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.004ce080
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x3c]
shl esi, 4
add esi, edi
push ecx
mov ecx, esi
call fcn.00502059
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 8]
mov dword [esi + 4], edx
call fcn.00502059
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0xc]
call fcn.00502059
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0x12
call fcn.00501f20
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 0x11
call fcn.00501f20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 0xa
call fcn.00501f20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 9
call fcn.00501f20
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.00501f20
mov esi, dword [esp + 0x18]
inc ebp
jmp 0x4cd277
mov ecx, dword [esi + 0x24]
mov ebp, ecx
mov dword [esp + 0x38], ebp
inc ebp
cmp ebp, edi
jne 0x4cd4fe
mov ebp, dword [esi + 0x20]
cmp ebp, edi
je 0x4cd4f3
mov edx, ecx
dec ecx
test edx, edx
je 0x4cd4e4
lea edi, [ecx + 1]
push 0
mov ecx, ebp
call fcn.004ce230
add ebp, 0x24
dec edi
jne 0x4cd4d3
xor edi, edi
mov eax, dword [esi + 0x20]
push eax
call fcn.00501c8a
add esp, 4
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
jmp 0x4cd668
mov eax, dword [esi + 0x20]
cmp eax, edi
jne 0x4cd569
lea edi, [ebp + ebp*8]
shl edi, 2
push edi
call fcn.00501c61
mov edx, eax
mov ecx, edi
mov dword [esi + 0x20], edx
mov esi, edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x20], esi
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x34], esi
test esi, esi
mov byte [esp + 0x78], 0x13
je 0x4cd54b
mov ecx, esi
call fcn.004cd7b0
add esi, 0x24
dec edi
mov byte [esp + 0x78], 3
mov dword [esp + 0x20], esi
jne 0x4cd537
mov eax, dword [esp + 0x18]
mov dword [eax + 0x28], ebp
mov dword [eax + 0x24], ebp
jmp 0x4cd664
cmp ebp, dword [esi + 0x28]
jg 0x4cd5c1
cmp ecx, ebp
jge 0x4cd58b
mov edx, ebp
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.004ce2b0
mov dword [esi + 0x24], ebp
jmp 0x4cd668
jle 0x4cd5b9
lea edx, [ebp + ebp*8]
sub ecx, ebp
lea edi, [eax + edx*4]
mov eax, ecx
dec ecx
test eax, eax
je 0x4cd5b9
inc ecx
mov dword [esp + 0x20], ecx
push 0
mov ecx, edi
call fcn.004ce230
mov eax, dword [esp + 0x20]
add edi, 0x24
dec eax
mov dword [esp + 0x20], eax
jne 0x4cd5a2
mov dword [esi + 0x24], ebp
jmp 0x4cd668
mov eax, dword [esi + 0x2c]
cmp eax, edi
jne 0x4cd5eb
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4cd5df
mov eax, 4
jmp 0x4cd5eb
cmp eax, 0x400
jle 0x4cd5eb
mov eax, 0x400
mov ecx, dword [esi + 0x28]
add eax, ecx
cmp ebp, eax
jge 0x4cd5fa
mov dword [esp + 0x20], eax
jmp 0x4cd600
mov dword [esp + 0x20], ebp
mov eax, ebp
lea ecx, [eax + eax*8]
shl ecx, 2
push ecx
call fcn.00501c61
mov ecx, dword [esi + 0x24]
mov esi, dword [esi + 0x20]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*8]
mov dword [esp + 0x34], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
sub edx, ecx
lea ecx, [ecx + ecx*8]
push edx
lea edx, [eax + ecx*4]
push edx
call fcn.004ce2b0
mov eax, dword [esi + 0x20]
push eax
call fcn.00501c8a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ecx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push 0
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x20]
lea edi, [eax + edx*4]
lea ebp, [edi + 0x10]
mov ecx, ebp
call fcn.004ce080
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.00502059
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 8]
mov dword [edi + 4], edx
call fcn.00502059
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edi + 0xc]
call fcn.00502059
lea edx, [esp + 0x5c]
mov ecx, ebp
push edx
call fcn.004cd920
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x4487b8
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x60]
test edi, edi
je 0x4cd71f
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], edi
test eax, eax
je 0x4cd716
lea ebp, [eax]
lea ecx, [edi + 0xc]
mov byte [esp + 0x78], 0x19
call fcn.00501f20
lea ecx, [edi + 8]
mov byte [esp + 0x78], 0x18
call fcn.00501f20
mov ecx, edi
mov byte [esp + 0x78], 0x17
call fcn.00501f20
add edi, 0x10
dec ebp
mov dword [esp + 0x38], edi
jne 0x4cd6e2
mov edi, dword [esp + 0x60]
push edi
call fcn.00501c8a
add esp, 4
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 0x15
call fcn.00501f20
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0x14
call fcn.00501f20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 2
call fcn.00501f20
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.00501f20
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 0
call fcn.00501f20
mov ecx, dword [esp + 0x28]
xor ebp, ebp
lea eax, [ecx + 1]
jmp 0x4cd0ac
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call fcn.00501f20
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 4