Function at 0x401f90
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456034
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.00401f40
cmp eax, ebp
je 0x4020cb
mov eax, dword [0x463058]
mov dword [esp + 0x14], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4632b0
test ecx, ecx
mov dword [esp + 0x460], ebp
jne 0x401ff2
xor eax, eax
jmp 0x401ff9
push 0x4632b0
call esi
push 0x4632b0
push eax
lea ecx, [esp + 0x1c]
call fcn.00403e10
mov edx, dword [0x463058]
mov dword [esp + 0x18], edx
mov eax, 0x463298
mov byte [esp + 0x460], 1
test eax, eax
je 0x40202a
push 0x463298
call esi
push 0x463298
push eax
lea ecx, [esp + 0x20]
call fcn.00403e10
push 0x41
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x402065
push eax
push ebp
push ebp
push 0x463240
push 0x463234
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x18]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402096
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402096
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4020c1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4020c1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, 1
jmp 0x402b93
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 8
push eax
mov dword [esp + 0x34], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x463208
push 0x4631f8
mov esi, dword [esp + 0x470]
push esi
call fcn.00401c40
push 0x4631f4
push ebp
call fcn.00442bc8
add esp, 0x14
mov ecx, 0x469650
push ebp
push esi
push ebp
call fcn.00402bb0
cmp eax, ebp
jl 0x402156
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x4696d4], eax
mov dword [0x4696d8], ebp
call fcn.00442bba
add esp, 4
cmp eax, ebp
je 0x402145
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
jmp 0x402147
xor eax, eax
cmp eax, ebp
mov dword [0x4696d8], eax
je 0x402156
mov dword [0x4696dc], ebp
call fcn.00401920
mov al, byte [0x46aed0]
test al, 1
jne 0x402186
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
mov ecx, 0x46aee0
call fcn.00434040
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push ecx
push 0x4631d0
push 0x4631f8
mov ecx, 0x469620
call fcn.0042d810
test eax, eax
je 0x402210
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402209
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4021d8
mov ecx, dword [esp + 0x24]
push 9
push ecx
jmp 0x4021df
mov edx, dword [esp + 0x24]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
mov eax, dword [esp + 0x28]
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push eax
call esi
push 3
push ebp
mov ecx, dword [esp + 0x2c]
push ebp
push ebp
push ebp
push 0xfffffffffffffffe
push ecx
call esi
xor eax, eax
jmp 0x402b93
mov al, byte [0x46af18]
test al, 1
jne 0x40223b
mov dl, al
mov ecx, 0x46af20
or dl, 1
mov byte [0x46af18], dl
call fcn.00434640
push 0x402c80
call fcn.00442500
add esp, 4
mov ecx, 0x46af20
call fcn.004346e0
call fcn.00435120
mov ecx, eax
call fcn.00435150
lea ecx, [esp + 0x34]
call fcn.0042c820
mov dword [esp + 0x460], 2
call fcn.0042b120
test eax, eax
jne 0x40229e
push 0x40
push 0x96
push 0xa2
push ebp
call fcn.00411c80
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0042c8a0
xor eax, eax
jmp 0x402b93
mov edx, dword [0x463058]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x4c]
push pe_nt_image_headers32
push eax
push 0x8f
mov byte [esp + 0x46c], 3
call fcn.00403f40
mov ecx, pe_nt_image_headers32
or ebx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jle 0x4022fb
lea edx, [esp + 0x4c]
test edx, edx
jne 0x4022df
xor eax, eax
jmp 0x4022ea
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x4c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403e10
jmp 0x402348
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40233e
push esi
push eax
push 0x8f
call fcn.00403f40
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x40233e
add esi, 0x100
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push eax
call fcn.00403bf0
cmp eax, ebp
jne 0x402312
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
lea ecx, [esp + 0x10]
push ecx
call fcn.00401120
add esp, 4
lea edx, [esp + 0x4c]
mov edi, eax
push pe_nt_image_headers32
push edx
push 0x94
call fcn.00403f40
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x402387
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x10]
push edx
call fcn.004030c0
jmp 0x4023d4
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x4023ca
push esi
push eax
push 0x94
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4023ca
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40239e
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
cmp edi, ebp
je 0x4023e7
lea eax, [esp + 0x10]
push eax
call fcn.00401120
add esp, 4
mov edi, eax
lea ecx, [esp + 0x4c]
push pe_nt_image_headers32
push ecx
push 0x9b
call fcn.00403f40
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x402417
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.004030c0
jmp 0x402464
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40245a
push esi
push eax
push 0x9b
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40245a
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40242e
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
cmp edi, ebp
je 0x40247d
lea eax, [esp + 0x10]
push eax
call fcn.00401120
add esp, 4
cmp eax, ebp
jne 0x40252d
mov al, byte [0x46aed0]
test al, 1
jne 0x4024a8
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
push 0x18
mov ecx, 0x46aee0
call fcn.004338f0
push 0x40
push 0x4631c8
push 0x4631b8
push 0x463170
push ebp
call fcn.00412190
add esp, 0x14
cmp eax, 1
jne 0x4024e7
push eax
push ebp
push ebp
push 0x463154
push 0x463234
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402516
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402516
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0042c8a0
xor eax, eax
jmp 0x402b93
call fcn.0042f620
mov ecx, eax
call fcn.0042f7d0
test eax, eax
je 0x402b06
call fcn.0042f620
mov ecx, eax
call fcn.0042fbc0
test eax, eax
je 0x402b06
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], bp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
lea ecx, [esp + 0x250]
push 0xc800000
push ecx
call fcn.0042a2a0
add esp, 0xc
test eax, eax
jne 0x40275e
mov al, byte [0x46aed0]
test al, 1
jne 0x4025c9
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
push 0x1a
mov ecx, 0x46aee0
call fcn.004338f0
lea edx, [esp + 0x24c]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0042a300
add esp, 8
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], 4
call fcn.004033c0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov byte [esp + 0x460], 5
je 0x402656
cmp dword [ecx - 0xc], ebp
jge 0x402628
mov edx, dword [0x46305c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40262d
cmp dword [eax - 0xc], ebp
jge 0x40263d
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00403e10
jmp 0x402656
lea ecx, [esp + 0x1c]
call fcn.00403ed0
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x28]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402687
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402687
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [0x463058]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
push 0xc8
push ecx
lea edx, [esp + 0x34]
push 0x95
push edx
mov byte [esp + 0x470], 6
call fcn.00403530
mov eax, dword [esp + 0x3c]
push 0x40
push 0x96
push eax
push ebp
call fcn.00411f10
mov eax, dword [esp + 0x4c]
mov edx, dword [0x46305c]
add esp, 0x20
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4026f1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4026f1
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40271c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40271c
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x402747
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x402747
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0042c8a0
xor eax, eax
jmp 0x402b93
lea ecx, [esp + 0x3c]
call fcn.004299b0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x460], 7
cmp dword [eax - 8], ebp
je 0x4027b2
mov al, byte [0x46aed0]
test al, 1
jne 0x4027a3
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x46aee0
call fcn.00433d40
mov ecx, 0x469c08
call fcn.004310b0
mov ecx, 0x469c08
call fcn.00430c00
call fcn.0042b2a0
test eax, eax
jne 0x402a7d
mov eax, dword [0x469c84]
cmp dword [eax - 0xc], ebp
jl 0x4027ed
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x402801
mov edx, dword [0x463058]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.004030c0
mov eax, dword [0x463058]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
push pe_nt_image_headers32
mov bl, 0xa
push eax
push 0x9c
mov byte [esp + 0x46c], bl
call fcn.00403f40
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x402847
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x14]
push edx
call fcn.004030c0
jmp 0x402895
push 0x1ff
lea ecx, [esp + 0x18]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40288a
push esi
push eax
push 0x9c
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40288a
add esi, 0x100
lea ecx, [esp + 0x14]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x40285e
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00403cb0
mov eax, dword [esp + 0x14]
push eax
call fcn.00442b68
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [0x469cb4], eax
push pe_nt_image_headers32
push ecx
push 0x9d
call fcn.00403f40
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x4028d7
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x20]
push eax
call fcn.004030c0
jmp 0x402925
push 0x1ff
lea ecx, [esp + 0x24]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebp
je 0x40291a
push esi
push eax
push 0x9d
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x40291a
add esi, 0x100
lea ecx, [esp + 0x20]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebp
jne 0x4028ee
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00403cb0
mov eax, dword [esp + 0x20]
push eax
call fcn.00442b68
mov dword [0x469cb8], eax
mov eax, dword [0x469cb4]
mov ecx, dword [esp + 0x1c]
shl eax, 0x14
cdq
push edx
push eax
push ecx
call fcn.0042a2a0
add esp, 0x10
test eax, eax
jne 0x402a47
mov al, byte [0x46aed0]
test al, 1
jne 0x40297f
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
push 0x1b
mov ecx, 0x46aee0
call fcn.004338f0
mov edx, dword [0x463058]
mov dword [esp + 0x28], edx
mov eax, dword [0x469cb4]
lea ecx, [esp + 0x28]
push eax
push 0x99
push ecx
mov byte [esp + 0x46c], 0xb
call fcn.00403530
mov edx, dword [esp + 0x34]
push 0x40
push 0x96
push edx
push ebp
call fcn.00411f10
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], bl
call fcn.00403d80
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403d80
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403d80
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403d80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.00429b00
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403d80
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], 0xffffffff
call fcn.0042c8a0
xor eax, eax
jmp 0x402b93
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 9
call fcn.00403d80
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 8
call fcn.00403d80
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 7
call fcn.00403d80
or ebx, 0xffffffff
mov eax, dword [esp + 0x474]
mov ecx, dword [esp + 0x470]
push eax
push ecx
call fcn.00401ca0
add esp, 8
mov ecx, 0x469620
mov esi, eax
call fcn.0042da30
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x469650
call fcn.00402ef0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00401ab0
call fcn.00403f70
mov ecx, eax
call fcn.00434020
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 3
call fcn.00429b00
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00403d80
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0042c8a0
mov eax, esi
jmp 0x402b93
mov al, byte [0x46aed0]
test al, 1
jne 0x402b31
mov dl, al
mov ecx, 0x46aee0
or dl, 1
mov byte [0x46aed0], dl
call fcn.00433620
push 0x403fb0
call fcn.00442500
add esp, 4
push 0x19
mov ecx, 0x46aee0
call fcn.004338f0
push 0x40
push 0x80
push 0x8d
push ebp
call fcn.00411c80
mov eax, dword [esp + 0x20]
mov ecx, dword [0x46305c]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x402b81
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402b81
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x460], ebx
call fcn.0042c8a0
mov eax, ebx
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 0x10