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

Disassembly:
push 0xc0
push 0x42ca30
call fcn.00417d90
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0x90
mov dword [ebp - 0xb0], 5
push 0x88
xor ebx, ebx
push ebx
lea eax, [ebp - 0xac]
push eax
call fcn.00417fbd
add esp, 0xc
mov dword [ebp - 0xcc], ebx
mov ecx, dword [0x436748]
mov dword [ecx + 0x30], ebx
mov byte [0x42e0d2], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xac], eax
push 0x3a
cmp byte [0x436755], bl
je 0x41e515
mov eax, dword [esi + 0x38]
pop esi
cmp word [eax], si
jne 0x40fd8b
mov eax, dword [ecx + 0x110]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
call fcn.004172ef
test al, al
je 0x41e541
mov dword [ebp - 0xc8], ebx
lea eax, [ebp - 0xc8]
push eax
push edi
mov eax, dword [0x436748]
add eax, 0x30
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_SaferWorker]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41e51b
mov dword [ebp - 4], 0xfffffffe
mov edx, dword [ebp - 0xc0]
mov byte [0x42e0d2], cl
mov ecx, dword [0x436748]
mov dword [ecx + 8], ebx
mov dword [ecx], edi
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp byte [0x436755], 0
je 0x410035
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x38]
cmp word [eax], si
jne 0x410032
mov esi, dword [ecx + 0x110]
push dword [esi]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040f3a0
mov eax, dword [esi + 8]
mov ecx, dword [0x436748]
mov dword [ecx + 8], eax
mov edi, 0x2000
mov edx, edi
lea ecx, [ebp - 0xc0]
call fcn.00411a05
mov esi, dword [ebp - 0xc0]
test esi, esi
je 0x410047
mov eax, dword [ebp - 0xbc]
push dword [eax + 0x38]
mov edx, edi
mov ecx, esi
call fcn.0040f3a0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40fe66
sub ecx, edx
sar ecx, 1
inc ecx
lea ecx, [esi + ecx*2]
mov dword [ebp - 0xb8], ecx
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x3c], 0
je 0x40fea2
push dword [eax + 0x3c]
mov eax, ecx
sub eax, esi
sar eax, 1
sub edi, eax
mov edx, edi
call fcn.0040f3a0
mov ecx, dword [0x436748]
mov ecx, dword [ecx + 0xc]
call fcn.0041198f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40feb5
sub ecx, edx
sar ecx, 1
mov eax, dword [0x436748]
mov dword [eax + 0x64], ecx
mov ecx, esi
call fcn.0040acb0
mov edx, dword [0x436748]
mov dword [edx + 0x3c], eax
test eax, eax
je 0x41e599
mov dword [edx + 0x8c], eax
lea eax, [edx + 0x68]
push 9
pop ecx
mov dword [ebp - 0xc4], ecx
mov dword [eax - 0x28], ebx
mov dword [eax], ebx
lea eax, [eax + 4]
sub ecx, 1
jne 0x40fef6
mov edi, dword [ebp - 0xb8]
cmp word [edi], bx
je 0x41004e
push 0x402478
push edi
call dword [sym.imp.msvcrt.dll_wcsspn]
pop ecx
pop ecx
lea ecx, [edi + eax*2]
call fcn.0040acb0
mov edx, eax
mov eax, dword [0x436748]
mov dword [eax + 0x34], edx
test edx, edx
je 0x41e599
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40ff3f
sub ecx, edi
sar ecx, 1
lea eax, [edx + ecx*2]
cmp eax, edx
je 0x40ff6f
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x41002a
cmp cx, word [ebp - 0xc4]
je 0x41002a
xor ecx, ecx
mov word [eax], cx
cmp byte [0x436755], cl
je 0x41e5a6
push ebx
xor edx, edx
mov ecx, dword [0x436748]
mov ecx, dword [ecx + 0x34]
call fcn.0040bc30
mov dword [ebp - 0xc0], eax
mov edx, dword [0x436748]
cmp word [eax], bx
je 0x410003
lea edi, [edx + 0x68]
mov dword [ebp - 0xbc], edi
xor ecx, ecx
inc ecx
cmp ecx, 0xa
jge 0x410003
mov dword [edi - 0x28], eax
mov edi, eax
lea eax, [edi + 2]
mov dword [ebp - 0xb8], eax
mov ax, word [edi]
add edi, 2
cmp ax, bx
jne 0x40ffc1
sub edi, dword [ebp - 0xb8]
sar edi, 1
mov eax, dword [ebp - 0xbc]
mov dword [eax], edi
mov eax, dword [ebp - 0xc0]
lea eax, [eax + edi*2]
add eax, 2
mov dword [ebp - 0xc0], eax
inc ecx
mov edi, dword [ebp - 0xbc]
add edi, 4
mov dword [ebp - 0xbc], edi
cmp word [eax], bx
jne 0x40ffae
mov dword [edx + 0x38], eax
mov eax, dword [0x436778]
mov dword [edx + 0x10], eax
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
add eax, 0xfffffffe
jmp 0x40ff51
mov eax, dword [ebp + 8]
push edx
mov edx, eax
mov ecx, edi
call fcn.00411cd5
test eax, eax
je 0x40fe2f
xor ecx, ecx
lea eax, [ecx + 1]
jmp 0x410018
mov dword [edx + 0x38], ebx
mov dword [edx + 0x34], ebx
jmp 0x410006
or byte [ebx + 0x34798308], cl
add byte [ebp + 0x47], dh
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0x14], edx
push 0x4eace798
lodsb al, byte [esi]
dec esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
push eax
call fcn.0041cf00
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 8], eax
jmp 0x41e5aa
push ecx
call fcn.0041cf00
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov dword [ecx + 8], eax
or cl, byte [ecx + 0x558b0841]
or byte [ebx + 0x8788302], cl
add byte [ebp + 7], dh
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 8], 0
jne 0x41e5bc
xor al, al
jmp 0x41e807
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041db30
add esp, 4
movzx edx, al
test edx, edx
jne 0x41e5e7
push 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
call eax
xor al, al
jmp 0x41e807
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041e030
add esp, 4
movzx edx, al
test edx, edx
jne 0x41e601
xor al, al
jmp 0x41e807
mov eax, dword [ebp + 8]
push eax