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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x100b7000]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov edi, edx
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x24]
xor esi, esi
mov ebx, ecx
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
cmp dword [edi + 0xc], esi
jne 0x4ccfe5
push 1
push 0x100ae698
xor ecx, ecx
jmp 0x4cd4a9
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push esi
mov eax, edi
call fcn.0043a18a
add esp, 8
mov dword [esp + 0xc], eax
cmp eax, esi
jne 0x4cd3c3
call fcn.00476cba
test eax, eax
je 0x4cd02e
xor eax, eax
jmp 0x4cd042
mov eax, dword [esp + 0x48]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
push eax
call fcn.00442cea
add esp, 4
mov dword [esp + 0x68], eax
cmp eax, esi
jne 0x4cd057
mov dword [esp + 0xc], 7
jmp 0x4cd3c3
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x1c], esi
cmp dword [eax + 0x18], esi
jle 0x4cd3c3
jmp 0x4cd080
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
mov ebx, dword [edi]
lea edx, [esp + 0x50]
mov dword [esp + 0x10], esi
push edx
cmp ebx, 5
je 0x4cd0eb
mov ecx, dword [edi + 0xc]
push 0x100a4e40
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0042acaa
add esp, 0x10
test eax, eax
jne 0x4cd0f5
cmp ebx, 2
je 0x4cd0f5
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x50]
push edx
push 0x100a4e40
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0042acaa
add esp, 0x10
jmp 0x4cd0f5
push esi
push edi
call fcn.004cc78a
add esp, 0xc
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
inc ebx
push ebx
push ecx
mov dword [esp + 0x78], ebx
call fcn.0046cb3a
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [edx + 8]
push ebx
push eax
call fcn.0047128a
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp edi, esi
jne 0x4cd14a
mov edx, dword [ecx + 8]
push ebx
push edx
call fcn.00467f2a
add esp, 8
cmp eax, 5
je 0x4cd2b2
mov dword [esp + 0xc], 7
jmp 0x4cd3bf
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ecx + 0x24]
push edx
lea ebx, [esp + 0x38]
mov ecx, eax
mov edx, edi
call fcn.0042b74a
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4cd3bd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [eax + 0x14]
push edx
call ecx
add esp, 0x18
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4cd284
mov eax, dword [esp + 0x48]
mov esi, 0x7fffffff
xor ebx, ebx
mov dword [esp + 0x10], esi
test eax, eax
jle 0x4cd289
mov ecx, dword [esp + 0x68]
add ecx, 4
mov edi, eax
cmp dword [ecx - 4], 0
je 0x4cd1e3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
cmp eax, esi
jge 0x4cd1e3
mov dword [esp + 0x10], eax
lea ebx, [ecx - 4]
mov esi, eax
add ecx, 0xc
dec edi
jne 0x4cd1cb
test ebx, ebx
je 0x4cd289
mov edi, dword [ebx]
mov al, byte [edi]
test al, 0xfe
jne 0x4cd201
mov dword [ebx], 0
jmp 0x4cd230
test al, al
jns 0x4cd216
lea esi, [esp + 0x4c]
mov ecx, edi
call fcn.0042bb9a
mov esi, dword [esp + 0x10]
jmp 0x4cd222
movzx edx, al
mov dword [esp + 0x4c], edx
mov eax, 1
add edi, eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffffe
mov dword [ebx], edi
add dword [ebx + 4], eax
cmp dword [esp + 0x34], esi
jge 0x4cd2c8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x84]
push edx
mov edx, dword [ecx + 0x14]
push eax
call edx
add esp, 0x18
mov dword [esp + 0xc], eax
test eax, eax
je 0x4cd230
cmp eax, 0x65
je 0x4cd3a2
test eax, eax
je 0x4cd1ab
mov eax, dword [esp + 0xc]
cmp eax, 0x65
jne 0x4cd291
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x10]
push ecx
call eax
xor esi, esi
add esp, 4
cmp dword [esp + 0xc], esi
jne 0x4cd3bf
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
cmp ebx, dword [ecx + 0x18]
jl 0x4cd07c
jmp 0x4cd3bf
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4cd26f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x68]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, 0x2aaaaaab
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push 0x100b3718
lea edx, [esp + 0x8c]
push edx
push 0x40
call fcn.0044eb2a
lea eax, [esp + 0x94]
add esp, 0x1c
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cd31a
mov ebx, dword [esp + 0x28]
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esi + ebx + 1]
cmp ecx, eax
jl 0x4cd368
lea edi, [esi + eax + 0x64]
mov dword [esp + 0x10], edi
call fcn.00476cba
test eax, eax
jne 0x4cd395
mov edx, dword [esp + 0x24]
push edi
push edx
call fcn.00444c1a
add esp, 8
test eax, eax
je 0x4cd395
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
jmp 0x4cd36c
mov edi, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [ebx + edi]
push edx
call fcn.004ce718
add esp, 0xc
add esi, ebx
mov dword [esp + 0x28], esi
mov byte [esi + edi], 0
mov dword [esp + 0xc], 0
jmp 0x4cd1ab
mov dword [esp + 0xc], 7
jmp 0x4cd291
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x28], 0
jne 0x4cd289
mov dword [esp + 0xc], 0x10b
jmp 0x4cd291
xor esi, esi
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
push edx
call fcn.004391da
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xf4]
add esp, 4
cmp edi, esi
je 0x4cd41a
mov esi, dword [edi + 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4cd3f2
push eax
call dword [0x100b7064]
add esp, 4
mov ecx, dword [edi + 0x14]
push ecx
call fcn.004aea4a
add esp, 4
mov eax, edi
mov ecx, esi
call fcn.0043e91a
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4cd418
push esi
call dword [0x100b706c]
add esp, 4
xor esi, esi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xf4], esi
cmp eax, esi
je 0x4cd498
test byte [ebx + 0x24], 1
mov dword [ebx + 0x40], eax
mov byte [ebx + 0x45], 1
je 0x4cd476
mov ecx, 0x100b21b4
cmp eax, 0x204
je 0x4cd45e
and eax, 0xff
cmp eax, 0x1a
ja 0x4cd463
mov eax, dword [eax*4 + 0x100ad528]
cmp eax, esi
je 0x4cd463
mov ecx, eax
jmp 0x4cd463
mov ecx, 0x100b21c4
push 1
push ecx
lea edx, [ebx + 8]
xor eax, eax
or ecx, 0xffffffff
call fcn.0045a5ca
add esp, 8
mov eax, dword [esp + 0x24]
push eax
call fcn.004391da
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
dec ecx
push edx
mov eax, 0x10011890
lea edx, [ebx + 8]
call fcn.0045a5ca
add esp, 8
cmp eax, 0x12
jne 0x4cd4d7
push 1
mov dword [ebx + 0x40], eax
push 0x100af0b8
xor eax, eax
or ecx, 0xffffffff
lea edx, [ebx + 8]
mov byte [ebx + 0x45], 1
call fcn.0045a5ca
add esp, 8
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00428ac4
mov esp, ebp
pop ebp
ret