Function at 0x404a90
Capabilities:
Check mutex on windows
Create process on windows
Create thread
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x594
mov eax, dword [0x428060]
xor eax, esp
mov dword [esp + 0x590], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push str.dd_update
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x405c22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404b59
push str.dx_update
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x404b0b
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x405c22
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x39a]
push ecx
mov word [esp + 0x39c], ax
call fcn.00411230
add esp, 0xc
push 0x104
lea edx, [esp + 0x394]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x390]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x390]
call fcn.00405e50
lea eax, [esp + 0x218]
mov byte [esp + 0x13], 0
call fcn.00401040
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.004011a0
cmp dword [esp + 0x218], 1
jne 0x405b21
lea esi, [esp + 0x60]
call fcn.00404430
lea edx, [esp + 0x1a8]
push edx
call fcn.00407420
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x25c]
mov edi, 0xf
push eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], 0
mov byte [esp + 0x12c], 0
call fcn.00401d00
cmp dword [esp + 0x134], 0x10
mov eax, dword [esp + 0x120]
jae 0x404be7
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x294]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x15c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x294]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x294]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d00
lea ecx, [esp + 0x218]
call fcn.00407600
mov ecx, dword [esp + 0x20c]
mov esi, dword [esp + 0x208]
sub ecx, esi
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x404fe7
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x404cbb
mov edi, dword [esp + 0x14]
cmp ebx, eax
jb 0x404ccb
call fcn.0040f353
mov esi, dword [esp + 0x208]
cmp dword [esi + edi + 0x34], 0x10
jb 0x404cd8
mov esi, dword [esi + edi + 0x20]
jmp 0x404cdc
lea esi, [esi + edi + 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, eax
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x404d06
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x108]
call fcn.00401ed0
mov edi, dword [esp + 0x2a0]
test edi, edi
jbe 0x404ebf
mov ecx, dword [esp + 0x104]
mov edx, 0x10
cmp dword [esp + 0x118], edx
jae 0x404d48
lea ecx, [esp + 0x104]
mov esi, dword [esp + 0x114]
mov eax, edi
cmp edi, esi
jb 0x404d57
mov eax, esi
cmp dword [esp + 0x2a4], edx
mov edx, dword [esp + 0x290]
jae 0x404d6e
lea edx, [esp + 0x290]
call fcn.004038b0
test eax, eax
jne 0x404f97
cmp edi, esi
jb 0x404f97
cmp dword [esp + 0x2a0], esi
setne al
test eax, eax
jne 0x404f97
mov ecx, dword [esp + 0x20c]
mov esi, dword [esp + 0x208]
sub ecx, esi
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x404dc8
call fcn.0040f353
mov esi, dword [esp + 0x208]
mov eax, dword [esp + 0x14]
cmp dword [esi + eax + 0x34], 0x10
jb 0x404dd9
mov esi, dword [esi + eax + 0x20]
jmp 0x404ddd
lea esi, [esi + eax + 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
lea edx, [esp + 0x21c]
push edx
mov edi, 0x424de4
lea esi, [esp + 0x158]
mov dword [esp + 0x10], eax
call fcn.00406a70
add esp, 4
push eax
mov eax, dword [esp + 0x10]
mov edi, eax
lea esi, [esp + 0x174]
call fcn.00406a70
mov edi, 0x10
add esp, 4
cmp dword [esp + 0x16c], edi
jb 0x404e38
mov eax, dword [esp + 0x158]
push eax
call fcn.0040f38f
add esp, 4
mov ecx, dword [esp + 0x20c]
sub ecx, dword [esp + 0x208]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x404e62
call fcn.0040f353
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x208]
sub esp, 0x1c
lea esi, [eax + edx]
lea edx, [esp + 0x18c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0040b480
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040b480
add esp, 4
lea eax, [esp + 0x98]
push eax
call fcn.004047c0
cmp dword [esp + 0x188], edi
jb 0x404f97
mov ecx, dword [esp + 0x174]
push ecx
jmp 0x404f8f
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x220]
push eax
mov edi, 0x424de4
lea esi, [esp + 0x15c]
call fcn.00406a70
add esp, 4
push eax
lea edi, [esp + 0x178]
call fcn.00406b20
mov edi, 0x10
add esp, 8
cmp dword [esp + 0x16c], edi
jb 0x404f11
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0040f38f
add esp, 4
mov ecx, dword [esp + 0x20c]
sub ecx, dword [esp + 0x208]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x404f3b
call fcn.0040f353
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x208]
sub esp, 0x1c
lea esi, [edx + ecx]
lea eax, [esp + 0x18c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040b480
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040b480
add esp, 4
lea ecx, [esp + 0x98]
push ecx
call fcn.004047c0
cmp dword [esp + 0x188], edi
jb 0x404f97
mov edx, dword [esp + 0x174]
push edx
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0x118], 0x10
jb 0x404fb1
mov eax, dword [esp + 0x104]
push eax
call fcn.0040f38f
add esp, 4
mov ecx, dword [esp + 0x20c]
mov esi, dword [esp + 0x208]
add dword [esp + 0x14], 0x74
sub ecx, esi
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jl 0x404cb7
mov edi, 0xf
xor ebx, ebx
cmp dword [esp + 0x2a0], ebx
jbe 0x405021
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2b0]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d00
lea eax, [esp + 0x1c4]
push eax
call fcn.004085a0
push ebx
push ebx
lea ecx, [esp + 0x68]
push ecx
push 0x404550
push ebx
push ebx
mov dword [esp + 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
mov dword [esp + 0xa0], eax
call edi
lea esi, [esp + 0x64]
call fcn.00404370
test al, al
jne 0x40507e
lea ebx, [ebx]
lea esi, [esp + 0x64]
call fcn.004041f0
test al, al
jne 0x4051a1
push 0xa
call edi
call fcn.00404370
test al, al
je 0x405060
mov edx, dword [esp + 0x258]
xor ecx, ecx
mov word [esp + 0x13c], cx
mov ecx, dword [esp + 0x26c]
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], ebx
mov eax, edx
cmp ecx, 0x10
jae 0x4050b6
lea eax, [esp + 0x258]
mov esi, dword [esp + 0x268]
lea edi, [esi + eax]
cmp edi, ebx
je 0x4050ea
mov eax, edx
cmp ecx, 0x10
jae 0x4050d2
lea eax, [esp + 0x258]
cmp eax, edi
ja 0x4050ea
mov eax, edx
cmp ecx, 0x10
jae 0x4050e4
lea eax, [esp + 0x258]
add esi, eax
cmp edi, esi
jbe 0x4050fd
call fcn.0040f353
mov ecx, dword [esp + 0x26c]
mov edx, dword [esp + 0x258]
lea ebx, [esp + 0x254]
cmp ecx, 0x10
jb 0x4051c7
mov esi, edx
test edx, edx
je 0x405140
mov eax, edx
cmp ecx, 0x10
jae 0x405121
lea eax, [esp + 0x258]
cmp eax, esi
ja 0x405140
mov eax, edx
cmp ecx, 0x10
jae 0x405133
lea eax, [esp + 0x258]
mov edx, dword [esp + 0x268]
add edx, eax
cmp esi, edx
jbe 0x405145
call fcn.0040f353
push edi
push ebx
push esi
lea eax, [esp + 0x260]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x14c]
call fcn.00402720
cmp dword [esp + 0x2a0], 0
jne 0x4051d3
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1a8]
mov ebx, 1
call fcn.00408e10
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4051d7
mov byte [esp + 0x12], bl
jmp 0x4051dc
cmp dword [esp + 0x134], 0x10
jb 0x4051bb
mov edx, dword [esp + 0x120]
push edx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x130], ebx
jmp 0x405af8
lea esi, [esp + 0x258]
jmp 0x405113
mov bl, byte [esp + 0x18]
mov byte [esp + 0x12], 0
test bl, 1
je 0x4051ea
lea esi, [esp + 0x20]
call fcn.00405fc0
cmp byte [esp + 0x12], 0
je 0x405a92
push 0x104
push 0x429fa8
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x429fa8
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405230
sub eax, ecx
push eax
push 0x429fa8
lea ecx, [esp + 0x15c]
call fcn.00401ed0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1a8]
call fcn.00408e10
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], ebx
test eax, eax
jle 0x405a3d
jmp 0x40528c
mov ebx, dword [esp + 0xc]
cmp ebx, eax
jb 0x405299
call fcn.0040f353
mov esi, dword [esp + 0x2c]
lea edx, [ebx*8]
push 0xffffffffffffffff
sub edx, ebx
lea esi, [esi + edx*4]
push 0
push esi
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
call fcn.00401d00
cmp dword [esp + 0x26c], 0x10
mov ecx, dword [esp + 0x258]
jae 0x4052ec
lea ecx, [esp + 0x258]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0x268]
mov eax, edi
cmp edi, esi
jb 0x405302
mov eax, esi
mov ebx, dword [esp + 0xe0]
mov edx, dword [esp + 0xcc]
cmp ebx, 0x10
jae 0x40531c
lea edx, [esp + 0xcc]
call fcn.004038b0
test eax, eax
jne 0x4054b2
cmp edi, esi
jb 0x4054b2
cmp edi, esi
setne al
test eax, eax
jne 0x4054b2
push 0x424de8
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0x424de8
push str.TrayNotifyWnd
push 0
push eax
call edi
push 0
push str.TrayClockWClass
push 0
push eax
call edi
push 0
push 0
push 0x409
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0xcc]
xor eax, eax
mov word [esp + 0xe8], ax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
mov ecx, edx
cmp eax, 0x10
jae 0x4053bb
lea ecx, [esp + 0xcc]
mov esi, dword [esp + 0xdc]
lea edi, [ecx + esi]
test edi, edi
je 0x4053ef
mov ecx, edx
cmp eax, 0x10
jae 0x4053d7
lea ecx, [esp + 0xcc]
cmp ecx, edi
ja 0x4053ef
mov ecx, edx
cmp eax, 0x10
jae 0x4053e9
lea ecx, [esp + 0xcc]
add ecx, esi
cmp edi, ecx
jbe 0x405402
call fcn.0040f353
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xcc]
lea ebx, [esp + 0xc8]
cmp eax, 0x10
jb 0x4054a6
mov esi, edx
test edx, edx
je 0x405445
mov ecx, edx
cmp eax, 0x10
jae 0x405426
lea ecx, [esp + 0xcc]
cmp ecx, esi
ja 0x405445
cmp eax, 0x10
mov eax, edx
jae 0x405438
lea eax, [esp + 0xcc]
mov ecx, dword [esp + 0xdc]
add eax, ecx
cmp esi, eax
jbe 0x40544a
call fcn.0040f353
mov edx, dword [esp + 0x1c]
push edi
push ebx
push esi
lea eax, [esp + 0xd4]
push eax
push edx
lea eax, [esp + 0xf8]
call fcn.00402720
mov edi, dword [esp + 0xe8]
mov esi, 8
cmp dword [esp + 0xfc], esi
jae 0x405482
lea edi, [esp + 0xe8]
call fcn.00405cd0
mov byte [esp + 0x13], 1
cmp dword [esp + 0xfc], esi
jb 0x4059f3
mov eax, dword [esp + 0xe8]
push eax
jmp 0x4059eb
lea esi, [esp + 0xcc]
jmp 0x405418
cmp dword [esp + 0x16c], 0x10
mov ecx, dword [esp + 0x158]
jae 0x4054ca
lea ecx, [esp + 0x158]
mov esi, dword [esp + 0x168]
mov eax, edi
cmp edi, esi
jb 0x4054d9
mov eax, esi
mov edx, dword [esp + 0xcc]
cmp ebx, 0x10
jae 0x4054ec
lea edx, [esp + 0xcc]
call fcn.004038b0
test eax, eax
jne 0x405924
cmp edi, esi
jb 0x405924
cmp edi, esi
setne al
test eax, eax
jne 0x405924
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x39a]
push edx
mov word [esp + 0x39c], cx
call fcn.00411230
add esp, 0xc
lea eax, [esp + 0x2e8]
push eax
call fcn.0040bfa0
call fcn.0040b570
lea edx, [esp + 0x390]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x405547
push str.copyfile.ini
lea ecx, [esp + 0x394]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
lea eax, [esp + 0x390]
mov word [esp + 0xe8], dx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405595
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x394]
lea esi, [esp + 0xe8]
call fcn.00402100
lea ebx, [esp + 0x40]
mov edi, esi
call fcn.00401cb0
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x50]
mov dword [esp + 0x3c], eax
call fcn.00401c60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
push edx
push esi
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x114]
xor ebx, ebx
push ecx
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.00403180
cmp dword [esp + 0x118], 0x10
mov edx, dword [esp + 0x104]
jae 0x405627
lea edx, [esp + 0x104]
lea ecx, [esp + 0x2e8]
call fcn.0040c150
cmp dword [esp + 0x350], ebx
je 0x405651
lea edx, [esp + 0x338]
push edx
call fcn.0040ea80
mov byte [esp + 0x354], 1
cmp dword [esp + 0xe0], 0x10
mov eax, dword [esp + 0xcc]
jae 0x405669
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
lea ecx, [esp + 0x21c]
push ecx
mov edi, 0x424de4
lea esi, [esp + 0xb0]
mov dword [esp + 0x1c], eax
call fcn.00406a70
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
mov edi, eax
lea esi, [esp + 0x174]
call fcn.00406a70
add esp, 4
cmp dword [esp + 0xc4], 0x10
jb 0x4056c0
mov edx, dword [esp + 0xb0]
push edx
call fcn.0040f38f
add esp, 4
push 8
mov esi, 0xf
push str.copyfile
lea ecx, [esp + 0x194]
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
call fcn.00401ed0
mov ecx, dword [0x4294b4]
push 0xa
lea eax, [esp + 0x374]
push eax
push ecx
mov byte [esp + 0x37c], bl
mov dword [esp + 0x37d], ebx
mov dword [esp + 0x381], ebx
mov dword [esp + 0x385], ebx
mov dword [esp + 0x389], ebx
mov dword [esp + 0x38d], ebx
mov dword [esp + 0x391], ebx
mov dword [esp + 0x395], ebx
mov word [esp + 0x399], bx
mov byte [esp + 0x39b], bl
call fcn.0042161f
mov edi, eax
mov ecx, edi
add esp, 0xc
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x405754
sub ecx, eax
push ecx
push edi
lea eax, [esp + 0x194]
call fcn.00406300
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x194]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.sour
mov byte [ecx + 4], bl
call fcn.00401ed0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1e8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d00
lea ecx, [esp + 0x33c]
call fcn.0040c7e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xec]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d00
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.dest
mov byte [ecx + 4], bl
call fcn.00401ed0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1e8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d00
lea ecx, [esp + 0x33c]
call fcn.0040c7e0
inc dword [0x4294b4]
mov edi, 0x10
cmp dword [esp + 0x1a4], edi
jb 0x40586b
mov ecx, dword [esp + 0x190]
push ecx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
cmp dword [esp + 0x188], edi
jb 0x405899
mov edx, dword [esp + 0x174]
push edx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x188], esi
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
cmp dword [esp + 0x118], edi
jb 0x4058c7
mov eax, dword [esp + 0x104]
push eax
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0xfc], 8
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
jb 0x4058f6
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0040f38f
add esp, 4
lea eax, [esp + 0x2e8]
xor edx, edx
push eax
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
call fcn.0040c040
jmp 0x4059f3
xor ecx, ecx
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], 0
mov word [esp + 0xe8], cx
cmp ebx, 0x10
jb 0x405c3b
mov edx, dword [esp + 0xcc]
mov ecx, edx
mov dword [esp + 0x14], ecx
test edx, edx
je 0x405984
mov eax, edx
cmp ebx, 0x10
jae 0x40596c
lea eax, [esp + 0xcc]
cmp eax, ecx
ja 0x405984
mov eax, edx
cmp ebx, 0x10
jae 0x40597e
lea eax, [esp + 0xcc]
add eax, edi
cmp ecx, eax
jbe 0x405989
call fcn.0040f353
lea esi, [esp + 0xc8]
lea ebx, [esp + 0x58]
mov edi, esi
call fcn.00401be0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
push ecx
lea eax, [esp + 0xf8]
call fcn.00402720
mov ecx, dword [esp + 0xe8]
mov esi, 8
cmp dword [esp + 0xfc], esi
jae 0x4059d5
lea ecx, [esp + 0xe8]
call fcn.00405e50
cmp dword [esp + 0xfc], esi
jb 0x4059f3
mov edx, dword [esp + 0xe8]
push edx
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0xe0], 0x10
jb 0x405a0d
mov eax, dword [esp + 0xcc]
push eax
call fcn.0040f38f
add esp, 4
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
mov dword [esp + 0xc], ebx
jl 0x405288
xor ebx, ebx
cmp esi, ebx
je 0x405a5f
mov ecx, dword [esp + 0x1c]
push ecx
mov eax, esi
call fcn.00406dd0
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.0040f38f
add esp, 4
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0040f38f
add esp, 4
cmp dword [esp + 0x16c], 0x10
jb 0x405a92
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0040f38f
add esp, 4
lea edx, [esp + 0x1a8]
push edx
call fcn.00408700
cmp dword [esp + 0x150], 8
jb 0x405ab9
mov eax, dword [esp + 0x13c]
push eax
call fcn.0040f38f
add esp, 4
xor esi, esi
xor ecx, ecx
cmp dword [esp + 0x134], 0x10
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], esi
mov word [esp + 0x13c], cx
jb 0x405af1
mov edx, dword [esp + 0x120]
push edx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x130], esi
lea esi, [esp + 0x1a8]
mov dword [esp + 0x134], 0xf
mov byte [esp + 0x120], 0
call fcn.00405c60
lea eax, [esp + 0x60]
push eax
call fcn.00404480
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], 0
je 0x405c16
xor edx, edx
lea ebx, [esp + 0x58]
lea edi, [esp + 0x254]
mov dword [esp + 0x150], 7
mov dword [esp + 0x14c], 0
mov word [esp + 0x13c], dx
call fcn.00401be0
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x50]
mov dword [esp + 0x3c], eax
call fcn.00401b90
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
push eax
push ecx
lea eax, [esp + 0x14c]
call fcn.00402720
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x13c]
mov edi, 8
cmp dword [esp + 0x150], edi
jae 0x405bc6
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405bfd
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x44]
push ecx
call esi
cmp dword [esp + 0x150], edi
jb 0x405c16
mov edx, dword [esp + 0x13c]
push edx
call fcn.0040f38f
add esp, 4
lea esi, [esp + 0x218]
call fcn.004010b0
mov ecx, dword [esp + 0x59c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040efdf
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0xcc]
mov dword [esp + 0x14], edx
mov ecx, edx
mov edx, dword [esp + 0xcc]
jmp 0x40595e