Function at 0x4205c0
Capabilities:
Create process on windows
Enumerate gui resources
Query environment variable

Disassembly:
sub esp, 0xad4
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0xacc], eax
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x10], 0
mov edi, ecx
call fcn.00420390
mov esi, dword [0x55e7a0]
cmp esi, 4
je 0x420bc4
mov ebx, dword [0x560848]
test esi, esi
je 0x42088e
cmp word [0x560c60], 0
je 0x420bc4
cmp ebx, 1
jne 0x42088e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x560850
push 0x561298
call ebx
test ebp, ebp
jne 0x420643
lea eax, [esp + 0x10]
push eax
push 0x420310
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x420709
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x420705
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x420678
push 9
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindowAsync]
cmp dword [0x563404], 0
je 0x42068b
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x420bf7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x18]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4206ee
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4206e7
mov dword [eax], 0x14
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 1
add eax, 0x14
push edi
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push esi
push 0x233
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x420bf7
mov esi, dword [esp + 0x10]
push 0x208
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00425950
add esp, 0xc
test esi, esi
je 0x420779
push 0x100
lea edx, [esp + 0x46c]
mov ecx, 0xc360
call fcn.00414fe0
add esp, 4
lea eax, [esp + 0x468]
push 0xa
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x420756
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x10024
lea ecx, [esp + 0x46c]
push ecx
push eax
push dword [0x564b3c]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x420bf7
mov ecx, edi
call fcn.00416000
test eax, eax
je 0x4207a5
push 0x104
lea edx, [esp + 0x264]
mov ecx, edi
call fcn.00416080
add esp, 4
test eax, eax
je 0x4207a5
lea edi, [esp + 0x260]
push 0x104
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp word [0x560e70], 0
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
je 0x4207e8
push 0x104
push 0x560e70
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x104
push 0x48ddec
lea eax, [esp + 0x60]
push eax
call esi
push 0x104
push edi
lea eax, [esp + 0x60]
push eax
call esi
push 0x560c60
lea eax, [esp + 0x264]
push eax
call ebx
sub esp, 8
lea edx, [esp + 0x6e0]
lea ecx, [esp + 0x268]
call fcn.00415e90
mov eax, dword [0x564b3c]
add esp, 8
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
lea eax, [esp + 0x6d8]
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
push eax
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0x5634ac
mov dword [esp + 0x3c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x420bf7
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00425950
add esp, 0xc
lea eax, [esp + 0x58]
push 0x208
push 0
push eax
call fcn.00425950
add esp, 0xc
test esi, esi
je 0x420a51
cmp ebx, 2
jne 0x420a4d
mov dword [esp + 0x14], 0
lea ebp, [ebx - 1]
test edi, edi
je 0x420a4d
cmp word [edi], 0
je 0x420a4d
cmp word [0x561080], 0
je 0x420a4d
cmp word [0x560640], 0
je 0x420a4d
cmp word [0x560a60], 0
je 0x420a4d
push 0x100
push 0x561080
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [esp + 0x468]
push 0x48e2e4
push eax
call fcn.00425169
add esp, 8
test eax, eax
je 0x42094b
mov ecx, 0x73
mov word [eax + 2], cx
push edi
lea eax, [esp + 0x46c]
push eax
lea eax, [esp + 0x6e0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x14]
push 0
push 0x10
push 0x416930
push eax
call dword [sym.imp.USER32.dll_DdeInitializeW]
test eax, eax
jne 0x420a3f
mov esi, dword [sym.imp.USER32.dll_DdeCreateStringHandleW]
push 0x4b0
push 0x560640
push dword [esp + 0x1c]
call esi
push 0x4b0
push 0x560a60
push dword [esp + 0x1c]
mov ebx, eax
call esi
mov esi, eax
mov eax, dword [sym.imp.USER32.dll_DdeFreeStringHandle]
test ebx, ebx
je 0x420a1a
test esi, esi
je 0x420a2e
push 0
push esi
push ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DdeConnect]
mov dword [esp + 0x18], eax
test eax, eax
je 0x420a11
push 0
push 0xffffffffffffffff
push 0x4050
push 0
push 0
push eax
lea eax, [esp + 0x6f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0x6f4]
push eax
call dword [sym.imp.USER32.dll_DdeClientTransaction]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_DdeDisconnect]
mov eax, dword [sym.imp.USER32.dll_DdeFreeStringHandle]
jmp 0x420a1e
mov eax, dword [sym.imp.USER32.dll_DdeFreeStringHandle]
xor ebp, ebp
jmp 0x420a1e
test esi, esi
je 0x420a35
push esi
push dword [esp + 0x18]
call eax
test ebx, ebx
je 0x420a35
mov eax, dword [sym.imp.USER32.dll_DdeFreeStringHandle]
push ebx
push dword [esp + 0x18]
call eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_DdeUninitialize]
test ebp, ebp
jne 0x420bf7
mov esi, dword [0x55e7a0]
test esi, esi
jne 0x420a63
test edi, edi
je 0x420bf7
cmp word [edi], 0
je 0x420bf7
mov ecx, edi
call fcn.00416000
test eax, eax
je 0x420a89
push 0x104
lea edx, [esp + 0x5c]
mov ecx, edi
call fcn.00416080
add esp, 4
test eax, eax
je 0x420a89
lea edi, [esp + 0x58]
push 0x104
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp word [0x560e70], 0
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
je 0x420ad2
push 0x104
push 0x560e70
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x104
push 0x48ddec
lea eax, [esp + 0x268]
push eax
call esi
push 0x104
push edi
lea eax, [esp + 0x268]
push eax
call esi
push 0x560c60
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x138
lea eax, [esp + 0x46c]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x420b26
push 0x104
lea eax, [esp + 0x46c]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
sub esp, 8
lea edx, [esp + 0x6e0]
lea ecx, [esp + 0x60]
call fcn.00415e90
mov eax, dword [0x564b3c]
xorps xmm0, xmm0
add esp, 8
movlpd qword [esp + 0x3c], xmm0
cmp dword [0x55e7a0], 0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
je 0x420b9b
lea eax, [esp + 0x6d8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x260]
mov dword [esp + 0x30], eax
jmp 0x420ba7
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0x5634ac
push eax
mov dword [esp + 0x3c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x420bf7
mov esi, dword [0x564b3c]
mov ecx, 0x6c
mov edi, dword [0x560844]
call fcn.00417a20
push 0
push 0x4123d0
push esi
mov ebx, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
test ebx, ebx
je 0x420bf7
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0xadc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0xad4
ret