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

Disassembly:
push ebx
push edi
push esi
sub esp, 0xf0
mov eax, dword [esp + 0x100]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x104]
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp], eax
call fcn.0040d8b0
movzx eax, al
mov dword [esp], eax
call fcn.0040be90
mov byte [esp + 0x3b], al
mov eax, 1
xor ecx, ecx
cmp byte [esp + 0x3b], 6
cmove eax, ecx
cmp eax, 0
jne 0x40dcfb
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
cmp eax, ecx
ja 0x40dc32
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
ja 0x40dc4d
jmp 0x40dc68
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x504960
call fcn.0044b8e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x504960
call fcn.0044b8c0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
mov edx, dword [esp + 0xc4]
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [eax], edi
call fcn.0040adb0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub edx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], eax
mov esi, eax
add esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [eax + 0x3c]
add eax, 4
mov dword [esp + 0x1c], eax
seto al
test al, 1
jne 0x40dd39
jmp 0x40dd25
mov edx, dword [esp + 0x28]
mov cl, byte [esp + 0x3b]
mov byte [esp + 0x77], cl
lea eax, [0x504990]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040b0c0
jmp 0x40deaa
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x10], eax
seto al
test al, 1
jne 0x40dd82
jmp 0x40dd46
mov eax, esp
mov dword [eax], str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28dmemexec_0.2.0_srcpeparserheader.rs
call fcn.0044b9b0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
movzx eax, word [eax + ecx]
mov cx, ax
mov word [esp + 0xe], cx
sub eax, 0x10b
je 0x40dde1
jmp 0x40dd71
mov ax, word [esp + 0xe]
movzx eax, ax
sub eax, 0x20b
je 0x40ddaa
jmp 0x40dd8f
mov eax, esp
mov dword [eax], str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28dmemexec_0.2.0_srcpeparserheader.rs
call fcn.0044b9b0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4e], 5
mov cl, byte [esp + 0x4e]
mov byte [eax], cl
mov dword [eax + 0xc], 2
jmp 0x40deaa
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 1
jmp 0x40de10
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0040d900
movzx eax, al
mov dword [esp], eax
call fcn.0040be90
mov byte [esp + 0x4f], al
mov eax, 1
xor ecx, ecx
cmp byte [esp + 0x4f], 6
cmove eax, ecx
cmp eax, 0
jne 0x40de85
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x40deaa
mov edx, dword [esp + 0x28]
mov cl, byte [esp + 0x4f]
mov byte [esp + 0x76], cl
lea eax, [0x504980]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040b0c0
mov eax, dword [esp + 0x2c]
add esp, 0xf0
pop esi
pop edi
pop ebx
ret