Function at 0x409370
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push 0
push 1
push str.kernel32.dll
mov esi, ecx
call fcn.00409260
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 0x40944e
cmp eax, 0xffffffff
je 0x40944e
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 0x40946d
cmp eax, 0xffffffff
je 0x40946d
push 0x41b4d0
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409471
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ecx
xor ecx, ecx
test eax, eax
je 0x409490
cmp eax, 0xffffffff
je 0x409490
push 0x41b4e4
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409494
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x10], ecx
xor ecx, ecx
test eax, eax
je 0x4094b3
cmp eax, 0xffffffff
je 0x4094b3
push str.CreateProcessW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4094b7
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x14], ecx
xor ecx, ecx
test eax, eax
je 0x4094d6
cmp eax, 0xffffffff
je 0x4094d6
push 0x41b500
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4094da
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x4094f9
cmp eax, 0xffffffff
je 0x4094f9
push 0x41b50c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4094fd
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x1c], ecx
xor ecx, ecx
test eax, eax
je 0x40951c
cmp eax, 0xffffffff
je 0x40951c
push str.MoveFileExA
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409520
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x24], ecx
xor ecx, ecx
test eax, eax
je 0x40953f
cmp eax, 0xffffffff
je 0x40953f
push str.MoveFileExW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409543
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x28], ecx
xor ecx, ecx
test eax, eax
je 0x409562
cmp eax, 0xffffffff
je 0x409562
push 0x41b538
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409566
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x2c], ecx
xor ecx, ecx
test eax, eax
je 0x409585
cmp eax, 0xffffffff
je 0x409585
push 0x41b54c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409589
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x30], ecx
xor ecx, ecx
test eax, eax
je 0x4095a8
cmp eax, 0xffffffff
je 0x4095a8
push str.ExpandEnvironmentStringsW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4095ac
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x34], ecx
xor ecx, ecx
test eax, eax
je 0x4095cb
cmp eax, 0xffffffff
je 0x4095cb
push 0x41b57c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4095cf
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x38], ecx
xor ecx, ecx
test eax, eax
je 0x4095ee
cmp eax, 0xffffffff
je 0x4095ee
push 0x41b58c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4095f2
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x3c], ecx
xor ecx, ecx
test eax, eax
je 0x409611
cmp eax, 0xffffffff
je 0x409611
push 0x41b59c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409615
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x40], ecx
xor ecx, ecx
test eax, eax
je 0x409634
cmp eax, 0xffffffff
je 0x409634
push 0x41b5b0
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409638
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x44], ecx
xor ecx, ecx
test eax, eax
je 0x409657
cmp eax, 0xffffffff
je 0x409657
push str.GetFileAttributesExW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40965b
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x48], ecx
xor ecx, ecx
test eax, eax
je 0x40967a
cmp eax, 0xffffffff
je 0x40967a
push 0x41b5dc
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40967e
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
test eax, eax
je 0x40969d
cmp eax, 0xffffffff
je 0x40969d
push 0x41b5f4
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4096a1
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x50], ecx
xor ecx, ecx
test eax, eax
je 0x4096c0
cmp eax, 0xffffffff
je 0x4096c0
push str.GetTempPathW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4096c4
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x54], ecx
xor ecx, ecx
test eax, eax
je 0x4096e3
cmp eax, 0xffffffff
je 0x4096e3
push 0x41b61c
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x4096e7
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x58], ecx
xor ecx, ecx
test eax, eax
je 0x409706
cmp eax, 0xffffffff
je 0x409706
push 0x41b630
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40970a
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x5c], ecx
xor ecx, ecx
test eax, eax
je 0x409729
cmp eax, 0xffffffff
je 0x409729
push str.GetFullPathNameW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x40972d
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x60], ecx
xor ecx, ecx
test eax, eax
je 0x40974c
cmp eax, 0xffffffff
je 0x40974c
push str.GetVolumeInformationW
push eax
call edi
mov ecx, eax
test ecx, ecx
jne 0x409750
mov byte [esi + 8], 0
mov eax, dword [esi + 4]
mov dword [esi + 0x64], ecx
xor ecx, ecx
test eax, eax
je 0x409771
cmp eax, 0xffffffff
je 0x409771
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