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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x40f363
mov eax, dword [edi + 4]
mov dword [edi], eax
mov al, 1
jmp 0x40f365
xor al, al
test al, al
je 0x40f541
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
lea esi, [edx + 8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40f39a
test cl, cl
je 0x40f396
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40f39a
add eax, 2
add esi, 2
test cl, cl
jne 0x40f376
xor eax, eax
jmp 0x40f39f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f3fc
test edx, edx
je 0x40f3bc
mov eax, dword [edx]
test eax, eax
je 0x40f3b3
mov dword [edi], eax
mov al, 1
jmp 0x40f3be
test edx, edx
je 0x40f3bc
mov ecx, dword [edi + 4]
mov dword [edi], ecx
xor al, al
test al, al
je 0x40f541
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
lea esi, [edx + 8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x40f3f3
test cl, cl
je 0x40f3ef
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x40f3f3
add eax, 2
add esi, 2
test cl, cl
jne 0x40f3cf
xor eax, eax
jmp 0x40f3f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f3a3
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.0040f8b0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi]
push edx
push eax
add ecx, 0x18
call fcn.0040deb0
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov eax, dword [edi]
add eax, 0x3c
cmp dword [eax], 0
je 0x40f45c
mov edx, dword [eax + 4]
mov dword [eax], edx
mov al, 1
jmp 0x40f45e
xor al, al
test al, al
je 0x40f536
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x8c]
push ecx
mov ecx, dword [eax + 0x88]
push edx
mov edx, dword [eax + 0x84]
push ecx
mov ecx, dword [eax + 0x80]
push edx
mov edx, dword [eax + 0x7c]
push ecx
mov ecx, dword [eax + 0x78]
push edx
mov edx, dword [eax + 0x74]
push ecx
mov ecx, dword [eax + 0x70]
push edx
mov edx, dword [eax + 0x6c]
push ecx
mov ecx, dword [eax + 0x68]
push edx
mov edx, dword [eax + 0x64]
push ecx
mov ecx, dword [eax + 0x60]
push edx
mov edx, dword [eax + 0x5c]
push ecx
mov ecx, dword [eax + 0x58]
push edx
mov edx, dword [eax + 0x54]
push ecx
mov ecx, dword [eax + 0x50]
push edx
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x44]
push ecx
mov ecx, dword [eax + 0x40]
push edx
mov edx, dword [eax + 0x3c]
push ecx
mov ecx, dword [eax + 0x38]
push edx
mov edx, dword [eax + 0x34]
push ecx
mov ecx, dword [eax + 0x30]
push edx
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esi]
push edx
add ecx, 0x18
call fcn.0040dee0
mov eax, dword [edi]
add eax, 0x3c
mov ecx, dword [eax]
test ecx, ecx
je 0x40f52c
mov edx, dword [ecx]
test edx, edx
je 0x40f523
mov dword [eax], edx
mov al, 1
jmp 0x40f52e
test ecx, ecx
je 0x40f52c
mov ecx, dword [eax + 4]
mov dword [eax], ecx
xor al, al
test al, al
jne 0x40f466
mov eax, dword [esi]
add eax, 0x18
pop edi
pop esi
pop ebx
ret 0x20
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x20