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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510d44
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x100], 0
jne 0x440c01
mov eax, dword [ebx + 0xb4]
test eax, eax
lea esi, [ebx + 0xb4]
je 0x440802
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
call eax
test al, al
je 0x440c01
push esi
lea esi, [ebx + 0xb8]
call fcn.00444e80
mov al, 1
jmp 0x440c03
cmp dword [ebx + 0xdc], 0
je 0x440c01
push ebx
call fcn.00440330
lea ecx, [esp + 0x8c]
lea edi, [ebx + 0xc8]
push ecx
mov ecx, edi
mov byte [esp + 0x16], 1
call fcn.0043b020
add esp, 4
mov edx, str..part0
lea eax, [esp + 0x38]
mov dword [esp + 0xb8], 0
call fcn.00406ac0
lea eax, [esp + 0x38]
lea esi, [esp + 0x8c]
call fcn.0042bc70
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x50], 8
jb 0x440876
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e7d7e
add esp, 4
cmp byte [ebp + 8], 0
jne 0x44093e
push 4
call fcn.004e7d83
add esp, 4
test eax, eax
je 0x440896
mov dword [eax], 0xffffffff
jmp 0x440898
xor eax, eax
lea edi, [ebx + 0xac]
mov dword [ebx + 0xb4], eax
call fcn.0043e2f0
mov esi, dword [ebx + 0xb4]
push 0x8000000
push 3
push 1
push Ordinal_4
lea edi, [ebx + 0xc8]
call fcn.0043eb10
test al, al
jne 0x440903
mov edx, 0x51a1d4
lea eax, [esp + 0x38]
call fcn.00406ac0
mov byte [esp + 0xb8], 1
mov esi, dword [ebx]
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x3c]
push eax
push 0x10000002
mov ecx, ebx
call edx
jmp 0x440bec
mov ecx, dword [ebx + 0xb4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
lea esi, [ebx + 0xb4]
push ecx
mov ecx, ebx
call edx
push esi
lea esi, [ebx + 0xb8]
mov byte [esp + 0x16], al
call fcn.00444e80
lea esi, [esp + 0x8c]
call fcn.00481d30
mov al, byte [esp + 0x12]
jmp 0x440c03
xor eax, eax
mov esi, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
push eax
push str..part
lea eax, [esp + 0x40]
push str._s_d
push eax
mov byte [esp + 0xc8], 2
call fcn.0042c380
xor eax, eax
add esp, 0x10
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
cmp byte [esp + 0x13], al
mov byte [esp + 0xb8], 3
je 0x4409e7
push edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2e
call fcn.0043b4a0
cmp eax, 0xffffffff
je 0x4409e7
push eax
xor ecx, ecx
lea esi, [esp + 0x20]
lea edx, [ebx + 0xc8]
call fcn.00406be0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0xc4], 4
call fcn.00401610
mov byte [esp + 0xb8], 3
call fcn.00481d30
jmp 0x440a04
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0xc8]
push eax
lea eax, [esp + 0x7c]
call fcn.00401610
lea eax, [esp + 0x38]
call fcn.0041d530
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
push ecx
lea eax, [ebx + 0x12c]
call fcn.00401610
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x74]
push eax
lea edi, [esp + 0x5c]
call fcn.004226f0
mov ecx, edi
push ecx
mov byte [esp + 0xc4], 5
call fcn.0043a7a0
add esp, 0xc
test al, al
je 0x440b4b
push 4
call fcn.004e7d83
add esp, 4
test eax, eax
je 0x440a5e
mov dword [eax], 0xffffffff
mov esi, eax
jmp 0x440a60
xor esi, esi
lea edi, [ebx + 0xb4]
mov dword [edi], esi
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x440a80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x440a80
mov dword [esi], 0xffffffff
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x440a8f
lea eax, [esp + 0x58]
push 0
push 0x8000000
push 3
push 0
push 1
push Ordinal_4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x440b7b
cmp dword [esp + 0x14], 0
jne 0x440ad2
mov edx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [edx + 0x14]
push eax
mov ecx, ebx
call edx
test al, al
mov byte [esp + 0x12], al
je 0x440bc9
push edi
lea esi, [ebx + 0xb8]
call fcn.00444e80
mov eax, dword [esp + 0x14]
add eax, 1
push eax
push str..part
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push str._s_d
push eax
call fcn.0042c380
add esp, 0x10
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x6c], 8
jb 0x440b1d
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004e7d7e
add esp, 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x74]
push eax
lea edi, [esp + 0x5c]
call fcn.004226f0
mov ecx, edi
push ecx
mov byte [esp + 0xc4], 5
call fcn.0043a7a0
add esp, 0xc
test al, al
jne 0x440a46
lea esi, [esp + 0x54]
call fcn.00481d30
lea esi, [esp + 0x70]
call fcn.00481d30
lea esi, [esp + 0x38]
call fcn.00481d30
lea esi, [esp + 0x8c]
call fcn.00481d30
mov al, byte [esp + 0x12]
jmp 0x440c03
mov esi, dword [edi]
test esi, esi
je 0x440b86
call fcn.0043e450
mov edx, 0x51a1d4
lea eax, [esp + 0x1c]
mov dword [edi], 0
call fcn.00406ac0
mov byte [esp + 0xb8], 6
mov esi, dword [ebx]
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
push 0x10000002
mov ecx, ebx
call eax
lea esi, [esp + 0x1c]
call fcn.00481d30
jmp 0x440bda
mov esi, dword [edi]
test esi, esi
je 0x440bd4
call fcn.0043e450
mov dword [edi], 0
lea esi, [esp + 0x54]
call fcn.00481d30
lea esi, [esp + 0x70]
call fcn.00481d30
lea esi, [esp + 0x38]
call fcn.00481d30
lea esi, [esp + 0x8c]
call fcn.00481d30
xor al, al
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 4