Function at 0x409700
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0
push 1
push str.kernel32.dll
mov esi, ecx
call fcn.004095f0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esi], vtable.Kernel32DllHelper.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
test eax, eax
je 0x4097de
cmp eax, 0xffffffff
je 0x4097de
push str.GetUserDefaultUILanguage
push eax
call edi
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0x20], ecx
xor ecx, ecx
test eax, eax
je 0x4097fd
cmp eax, 0xffffffff
je 0x4097fd
push 0x41b57c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409801
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ecx
xor ecx, ecx
test eax, eax
je 0x409820
cmp eax, 0xffffffff
je 0x409820
push 0x41b590
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409824
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x10], ecx
xor ecx, ecx
test eax, eax
je 0x409843
cmp eax, 0xffffffff
je 0x409843
push str.CreateProcessW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409847
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x14], ecx
xor ecx, ecx
test eax, eax
je 0x409866
cmp eax, 0xffffffff
je 0x409866
push 0x41b5ac
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40986a
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x409889
cmp eax, 0xffffffff
je 0x409889
push 0x41b5b8
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40988d
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x1c], ecx
xor ecx, ecx
test eax, eax
je 0x4098ac
cmp eax, 0xffffffff
je 0x4098ac
push str.MoveFileExA
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4098b0
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x24], ecx
xor ecx, ecx
test eax, eax
je 0x4098cf
cmp eax, 0xffffffff
je 0x4098cf
push str.MoveFileExW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4098d3
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x28], ecx
xor ecx, ecx
test eax, eax
je 0x4098f2
cmp eax, 0xffffffff
je 0x4098f2
push 0x41b5e4
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4098f6
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x2c], ecx
xor ecx, ecx
test eax, eax
je 0x409915
cmp eax, 0xffffffff
je 0x409915
push 0x41b5f8
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409919
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x30], ecx
xor ecx, ecx
test eax, eax
je 0x409938
cmp eax, 0xffffffff
je 0x409938
push str.ExpandEnvironmentStringsW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40993c
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x34], ecx
xor ecx, ecx
test eax, eax
je 0x40995b
cmp eax, 0xffffffff
je 0x40995b
push 0x41b628
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40995f
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x38], ecx
xor ecx, ecx
test eax, eax
je 0x40997e
cmp eax, 0xffffffff
je 0x40997e
push 0x41b638
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409982
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], ecx
xor ecx, ecx
test eax, eax
je 0x4099a1
cmp eax, 0xffffffff
je 0x4099a1
push 0x41b648
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4099a5
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x40], ecx
xor ecx, ecx
test eax, eax
je 0x4099c4
cmp eax, 0xffffffff
je 0x4099c4
push 0x41b65c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4099c8
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x44], ecx
xor ecx, ecx
test eax, eax
je 0x4099e7
cmp eax, 0xffffffff
je 0x4099e7
push str.GetFileAttributesExW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4099eb
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x48], ecx
xor ecx, ecx
test eax, eax
je 0x409a0a
cmp eax, 0xffffffff
je 0x409a0a
push 0x41b688
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409a0e
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
test eax, eax
je 0x409a2d
cmp eax, 0xffffffff
je 0x409a2d
push 0x41b6a0
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409a31
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x50], ecx
xor ecx, ecx
test eax, eax
je 0x409a50
cmp eax, 0xffffffff
je 0x409a50
push str.GetTempPathW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409a54
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x54], ecx
xor ecx, ecx
test eax, eax
je 0x409a73
cmp eax, 0xffffffff
je 0x409a73
push 0x41b6c8
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409a77
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x58], ecx
xor ecx, ecx
test eax, eax
je 0x409a96
cmp eax, 0xffffffff
je 0x409a96
push 0x41b6dc
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409a9a
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x5c], ecx
xor ecx, ecx
test eax, eax
je 0x409ab9
cmp eax, 0xffffffff
je 0x409ab9
push str.GetFullPathNameW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409abd
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x60], ecx
xor ecx, ecx
test eax, eax
je 0x409adc
cmp eax, 0xffffffff
je 0x409adc
push str.GetVolumeInformationW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409ae0
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x64], ecx
xor ecx, ecx
test eax, eax
je 0x409b01
cmp eax, 0xffffffff
je 0x409b01
push str.QueryFullProcessImageNameW
push eax
call edi
mov dword [esi + 0x68], eax
pop edi
mov eax, esi
pop esi
ret
pop edi
mov dword [esi + 0x68], ecx
mov eax, esi
pop esi
ret