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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x1c], ecx
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 1], al
mov byte [ebp - 2], al
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call fcn.004d0a36
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
js 0x4cd308
mov eax, dword [ebx + 0x14]
mov ecx, ebx
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0xc], eax
call fcn.004d0ac0
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x4cd07c
mov esi, dword [ecx + 0x94]
mov edx, dword [edi + 0x8c]
cmp edx, esi
mov eax, dword [edi + 0x88]
mov ebx, dword [ecx + 0x90]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 8]
jb 0x4cd06b
ja 0x4cd070
cmp eax, ebx
ja 0x4cd070
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], edx
mov ebx, dword [edi + 0x80]
mov eax, ebx
mov edx, dword [edi + 0x84]
and eax, edx
cmp eax, 0xffffffff
jne 0x4cd0d6
test ecx, ecx
je 0x4cd19a
call fcn.004960f0
test al, al
je 0x4cd19a
mov ecx, edi
call fcn.0048d612
test al, al
je 0x4cd19a
and dword [edi + 0x80], 0
and dword [edi + 0x84], 0
call fcn.0048d5ae
mov ebx, eax
mov dword [edi + 0x84], edx
mov dword [edi + 0x80], ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x78]
sub eax, dword [edi + 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x7c]
sbb eax, dword [edi + 0x7c]
mov dword [ebp + 8], eax
mov eax, ebx
sub eax, dword [ecx + 0x80]
mov dword [ebp - 0x20], eax
mov eax, edx
sbb eax, dword [ecx + 0x84]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
jg 0x4cd118
jl 0x4cd19a
test eax, eax
jb 0x4cd19a
or ebx, edx
jne 0x4cd120
mov byte [ebp - 1], 1
mov ebx, eax
or eax, dword [ebp + 8]
jne 0x4cd133
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
je 0x4cd2bd
mov ecx, dword [ebp - 0x1c]
push 0
mov ecx, dword [ecx + 0xc0]
call fcn.004d0a36
mov esi, eax
test esi, esi
js 0x4cd308
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc0]
call fcn.004d0a18
mov dword [ebp - 0x28], eax
push dword [eax + 0x54]
push dword [eax + 0x50]
push dword [ebp + 8]
push ebx
call fcn.004c60a0
or eax, edx
jne 0x4cd19a
mov ecx, edi
call fcn.0048d624
mov esi, eax
test esi, esi
js 0x4cd308
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.0048d868
mov edx, eax
mov dword [ebp - 8], edx
jmp 0x4cd26c
mov esi, 0xc000000d
jmp 0x4cd308
mov ecx, edx
call fcn.004d0a18
mov ecx, ebx
mov esi, eax
or ecx, dword [ebp + 8]
je 0x4cd1e2
push 0
mov ecx, edx
call fcn.004d0a36
mov esi, eax
test esi, esi
js 0x4cd308
mov ecx, dword [ebp - 8]
call fcn.004d0a18
mov esi, eax
call fcn.004d0ac0
add dword [esi + 0x30], ebx
mov eax, dword [ebp + 8]
adc dword [esi + 0x34], eax
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x20]
mov ecx, dword [edi + 0x80]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x34]
adc eax, dword [esi + 0x24]
cmp byte [ebp - 1], 0
mov esi, dword [edi + 0x84]
mov dword [ebp - 0x14], esi
je 0x4cd22f
cmp esi, eax
mov esi, dword [ebp - 0x10]
jb 0x4cd213
ja 0x4cd21b
cmp ecx, esi
ja 0x4cd21b
mov ebx, dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x84], edx
mov edx, dword [ebp - 8]
mov dword [edi + 0x80], ecx
jmp 0x4cd232
mov esi, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x4cd19a
jb 0x4cd245
cmp esi, ecx
ja 0x4cd19a
push edx
mov ecx, edi
call fcn.0048d80e
mov esi, eax
test esi, esi
js 0x4cd308
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.0048d868
mov edx, eax
mov dword [ebp - 8], eax
test edx, edx
jne 0x4cd1a4
cmp byte [ebp - 1], dl
je 0x4cd296
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x80]
mov edx, dword [edi + 0x84]
sub eax, dword [ecx + 0x80]
sbb edx, dword [ecx + 0x84]
jmp 0x4cd29c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
add dword [ecx + 0xe0], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
adc dword [eax + 0xe4], edx
or ebx, dword [ebp + 8]
je 0x4cd2b9
mov al, 1
jmp 0x4cd2c0
xor al, al
jmp 0x4cd2c0
mov al, byte [ebp - 2]
cmp dword [edi + 0x3c], 5
jne 0x4cd2ce
cmp dword [ecx + 0x3c], 5
je 0x4cd2ce
mov al, 1
test al, al
je 0x4cd308
mov ebx, dword [ebp - 0x1c]
push 0
jmp 0x4cd2f9
mov ecx, edi
call fcn.004d0a18
test byte [eax + 0x38], 1
jne 0x4cd2f8
push 0
call fcn.004d0a36
mov esi, eax
test esi, esi
js 0x4cd308
or word [edi + 0x12], 0x10
push edi
push 3
mov ecx, ebx
call fcn.004cf3e0
mov edi, eax
test edi, edi
jne 0x4cd2d9
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4