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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427899
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x435300]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x435300]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov edi, ecx
mov byte [esp + 0x17], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xd0], ebx
push 1
push 0x43103c
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.004060c0
mov byte [esp + 0xd0], 1
push ebx
push 0x430600
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
call fcn.004060c0
mov byte [esp + 0xd0], 2
push 1
push 0x431040
lea esi, [esp + 0xac]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
call fcn.004060c0
mov byte [esp + 0xd0], 3
push ebx
push 0x430600
lea esi, [esp + 0x58]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.004060c0
push edi
mov byte [esp + 0xd4], 4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40ce6a
mov eax, edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cd47
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x3c]
call fcn.004060c0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 5
call fcn.00402d50
add esp, 0x10
mov byte [esp + 0xd0], 4
cmp dword [esp + 0x4c], 8
jb 0x40cdad
mov edx, dword [esp + 0x38]
push edx
call fcn.00411032
add esp, 4
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x40cdbc
call fcn.0041101d
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov edi, esi
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x20], esi
jbe 0x40cdd5
call fcn.0041101d
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40cde5
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x40cdea
call fcn.0041101d
cmp edi, esi
jae 0x40ce6a
cmp dword [esp + 0x2c], ebx
jne 0x40cdf9
call fcn.0041101d
mov edx, dword [esp + 0x2c]
cmp edi, dword [edx + 8]
jb 0x40ce07
call fcn.0041101d
cmp dword [edi + 0x18], 8
jb 0x40ce12
mov esi, dword [edi + 4]
jmp 0x40ce15
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40ce42
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ce25
sub eax, edx
sar eax, 1
push eax
push esi
mov esi, dword [esp + 0x20]
add esi, 8
call fcn.004060c0
mov ecx, dword [esp + 0x18]
call fcn.00401f80
test al, al
je 0x40ce54
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x2c]
cmp edi, dword [eax + 8]
jb 0x40ce62
call fcn.0041101d
add edi, 0x1c
jmp 0x40cdc6
mov edi, 8
cmp dword [esp + 0x68], edi
jb 0x40ce82
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00411032
add esp, 4
cmp dword [esp + 0xbc], edi
mov esi, 7
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x40cead
mov edx, dword [esp + 0xa8]
push edx
call fcn.00411032
add esp, 4
cmp dword [esp + 0xa0], edi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
jb 0x40cedc
mov eax, dword [esp + 0x8c]
push eax
call fcn.00411032
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x40cf08
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00411032
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
je 0x40cf41
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
push edx
call fcn.00408c50
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.00411032
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00410b9c
mov esp, ebp
pop ebp
ret 4