Function at 0x4083a0
Capabilities:
Check mutex on windows
Create process on windows
Delete file
Resolve function by parsing pe exports
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x41ae55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf14
mov eax, dword [0x421260]
push ebx
push ebp
push esi
mov dword [esp + 0xf1c], eax
lea eax, [esp + 0x1e0]
push edi
push eax
call fcn.00407ac0
push str.launch.exe
lea ecx, [esp + 0x1ec]
push ecx
lea edx, [esp + 0x298]
xor ebx, ebx
push edx
mov dword [esp + 0xf3c], ebx
call fcn.00405e60
add esp, 0x10
push 0x200
lea eax, [esp + 0x524]
push eax
push ebx
mov byte [esp + 0xf38], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0xf
lea eax, [esp + 0x520]
mov dword [esp + 0x234], edi
mov dword [esp + 0x230], ebx
mov byte [esp + 0x220], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408440
sub eax, esi
push eax
lea ecx, [esp + 0x524]
push ecx
lea ecx, [esp + 0x224]
call fcn.00403a30
push 1
push 0xffffffffffffffff
push 0x41b360
lea ecx, [esp + 0x228]
mov byte [esp + 0xf38], 2
call fcn.00401ce0
cmp eax, ebx
mov ebp, 0x10
jl 0x4084d3
push eax
push ebx
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0x228]
call fcn.004045f0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x228]
mov byte [esp + 0xf38], 3
call fcn.00403720
cmp dword [esp + 0x1c4], ebp
mov byte [esp + 0xf2c], 2
jb 0x4084d3
mov eax, dword [esp + 0x1b0]
push eax
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x234], ebp
mov eax, dword [esp + 0x220]
jae 0x4084ea
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.exportlaunch_pro46_57____i
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x409171
push str.client_
lea ecx, [esp + 0x1e8]
push ecx
lea edx, [esp + 0x1b4]
push edx
call fcn.00405e60
add esp, 0xc
cmp dword [eax + 0x18], ebp
mov byte [esp + 0xf2c], 4
jb 0x408544
mov eax, dword [eax + 4]
jmp 0x408547
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004045b0
call fcn.004067d0
mov eax, dword [esp + 0x1e0]
add esp, 0x1c
cmp eax, ebp
mov byte [esp + 0xf2c], 2
jb 0x408581
mov eax, dword [esp + 0x1b0]
push eax
call fcn.0040e74d
add esp, 4
push str.res.zip
lea ecx, [esp + 0x1e8]
push ecx
lea edx, [esp + 0x1b4]
push edx
call fcn.00405e60
add esp, 0xc
cmp dword [eax + 0x18], ebp
mov byte [esp + 0xf2c], 5
jb 0x4085b0
mov eax, dword [eax + 4]
jmp 0x4085b3
add eax, 4
push eax
push 0x41b604
push str.res.zip
call fcn.004070c0
mov eax, dword [esp + 0x1d0]
add esp, 0xc
cmp eax, ebp
jb 0x4085e1
mov eax, dword [esp + 0x1b0]
push eax
call fcn.0040e74d
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push str.clientpflag.cfg
lea ecx, [esp + 0x1e8]
push ecx
lea edx, [esp + 0x208]
push edx
mov byte [esp + 0xf38], 6
mov byte [esp + 0x1f], bl
call fcn.00405e60
add esp, 0xc
cmp dword [eax + 0x18], ebp
mov byte [esp + 0xf2c], 7
jb 0x408628
mov eax, dword [eax + 4]
jmp 0x40862b
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004045b0
lea eax, [esp + 0x254]
push eax
call fcn.004071d0
add esp, 0x20
cmp dword [esp + 0x218], ebp
mov byte [esp + 0xf2c], 9
jb 0x40866b
mov ecx, dword [esp + 0x204]
push ecx
call fcn.0040e74d
add esp, 4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1ec]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x224], edi
mov dword [esp + 0x220], ebx
mov byte [esp + 0x210], bl
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00403720
push str.res.zip
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xf38], 0xa
call fcn.00405e60
add esp, 0xc
cmp dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x50]
mov byte [esp + 0xf2c], 0xb
jae 0x4086d8
lea ecx, [esp + 0x50]
cmp dword [eax + 0x18], ebp
jb 0x4086e2
mov eax, dword [eax + 4]
jmp 0x4086e5
add eax, 4
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
lea eax, [esp + 0x260]
push eax
call fcn.00407f40
add esp, 0x10
cmp dword [esp + 0x38], ebp
jb 0x40870f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x64], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0xf2c], 0xd
jb 0x408736
mov edx, dword [esp + 0x50]
push edx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x250], ebp
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jae 0x408759
lea eax, [esp + 0x23c]
mov ecx, dword [esp + 0x24c]
mov edx, dword [esp + 0x268]
push ecx
push eax
push edx
push ebx
lea ecx, [esp + 0x264]
call fcn.004014a0
test eax, eax
jne 0x408780
mov byte [esp + 0x13], 1
sub esp, 0x10
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00407650
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x218]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0xf64], 0xf
mov byte [ecx + 4], bl
call fcn.00403720
mov byte [esp + 0xf58], 0xd
call fcn.00407420
add esp, 0x2c
cmp al, bl
je 0x4087e0
cmp byte [esp + 0x13], bl
jne 0x408ae5
jmp 0x4088f3
mov eax, dword [str.rd__S__Q]
mov ecx, dword [0x41b5e8]
mov dx, word [0x41b5ec]
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], ecx
xor eax, eax
mov word [esp + 0x2b0], dx
mov ecx, 0x1b
lea edi, [esp + 0x2b2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.client_
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00405e60
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, ebp
jb 0x408843
mov eax, dword [eax + 4]
jmp 0x408846
add eax, 4
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408848
lea edi, [esp + 0x2a8]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x408860
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1ac]
call fcn.00402220
lea edx, [esp + 0x2a8]
push edx
call fcn.0040f4bc
push str.client_
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x1b8]
push ecx
call fcn.00405e60
add esp, 0x10
cmp dword [eax + 0x18], ebp
mov byte [esp + 0xf2c], 0x10
jb 0x4088c0
mov eax, dword [eax + 4]
jmp 0x4088c3
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004045b0
call fcn.004067d0
add esp, 0x1c
lea ecx, [esp + 0x1ac]
mov byte [esp + 0xf2c], 0xd
call fcn.00402220
mov edi, 0xf
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1ec]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00403720
push str.res.zip
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x1b4]
push ecx
mov byte [esp + 0xf38], 0x11
call fcn.00405e60
add esp, 0xc
cmp dword [esp + 0x80], ebp
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0xf2c], 0x12
jae 0x408957
lea ecx, [esp + 0x6c]
cmp dword [eax + 0x18], ebp
jb 0x408961
mov eax, dword [eax + 4]
jmp 0x408964
add eax, 4
push ecx
push eax
call fcn.004011d0
mov esi, eax
mov eax, dword [esp + 0x1cc]
add esp, 8
cmp eax, ebp
jb 0x40898b
mov edx, dword [esp + 0x1b0]
push edx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
mov byte [esp + 0xf2c], 0xd
jb 0x4089be
mov eax, dword [esp + 0x6c]
push eax
call fcn.0040e74d
add esp, 4
cmp esi, 1
jne 0x408a31
push ebx
push 0x41b5dc
push 0x41b5b4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x254]
call fcn.00402220
lea ecx, [esp + 0x238]
call fcn.00402220
lea ecx, [esp + 0x3c]
call fcn.00407030
lea ecx, [esp + 0x21c]
call fcn.00402220
lea ecx, [esp + 0x28c]
call fcn.00402220
lea ecx, [esp + 0x1e4]
call fcn.00402220
jmp 0x409267
push str.sangowebentry2.dat
lea ecx, [esp + 0x1e8]
push ecx
lea edx, [esp + 0x208]
push edx
call fcn.00405e60
add esp, 0xc
cmp dword [esp + 0x218], ebp
mov eax, dword [esp + 0x204]
mov byte [esp + 0xf2c], 0x13
jae 0x408a6d
lea eax, [esp + 0x204]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push str.sangolaunch.dat
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00405e60
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20c]
mov byte [esp + 0xf38], 0x14
call fcn.00403720
lea ecx, [esp + 0x1ac]
call fcn.00402220
cmp dword [esp + 0x218], ebp
mov eax, dword [esp + 0x204]
jae 0x408ace
lea eax, [esp + 0x204]
push eax
call esi
lea ecx, [esp + 0x200]
mov byte [esp + 0xf2c], 0xd
call fcn.00402220
push 0x41b386
lea ecx, [esp + 0x1cc]
call fcn.004045b0
push 0x41b386
lea ecx, [esp + 0x274]
mov byte [esp + 0xf30], 0x15
call fcn.004045b0
mov edi, dword [esp + 0xf34]
cmp edi, ebx
mov byte [esp + 0xf2c], 0x16
mov byte [esp + 0x13], bl
jle 0x408c46
push 0x200
lea edx, [esp + 0x324]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0x204]
call fcn.004045b0
push 1
push 0xffffffffffffffff
push 0x41b360
lea ecx, [esp + 0x20c]
mov byte [esp + 0xf38], 0x17
call fcn.00401ce0
cmp eax, ebx
jl 0x408bb1
mov ecx, dword [esp + 0x214]
sub ecx, eax
push ecx
inc eax
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20c]
call fcn.004045f0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20c]
mov byte [esp + 0xf38], 0x18
call fcn.00403720
lea ecx, [esp + 0x20]
call fcn.00402220
mov dword [esp + 0x1c4], 0xf
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
mov esi, dword [esp + 0xf38]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x1b0]
mov byte [esp + 0xf30], 0x19
call fcn.00403d50
push ebx
lea ecx, [esp + 0x204]
push ecx
lea ecx, [esp + 0x1b4]
call fcn.004022d0
cmp edi, 1
jle 0x408c17
mov edx, dword [esi + 4]
push edx
lea ecx, [esp + 0x1cc]
call fcn.00403d50
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1ac]
call fcn.00402220
lea ecx, [esp + 0x200]
mov byte [esp + 0xf2c], 0x16
call fcn.00402220
cmp byte [esp + 0x13], bl
jne 0x408eaa
mov ebp, 0x10
push 0x200
lea eax, [esp + 0x324]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x320]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408c64
sub eax, edx
push eax
lea ecx, [esp + 0x324]
push ecx
lea ecx, [esp + 0x1d0]
call fcn.00403a30
push 1
push ebx
push 0x41b360
lea ecx, [esp + 0x1d4]
call fcn.00401b70
cmp eax, ebx
jl 0x408d2d
mov esi, 0xf
mov edx, dword [esp + 0x1dc]
sub edx, eax
push edx
inc eax
push eax
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0x1d4]
call fcn.004045f0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1d4]
mov byte [esp + 0xf38], 0x1a
call fcn.00403720
cmp dword [esp + 0x1c4], ebp
mov byte [esp + 0xf2c], 0x16
jb 0x408cfc
mov ecx, dword [esp + 0x1b0]
push ecx
call fcn.0040e74d
add esp, 4
push 1
push ebx
push 0x41b360
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
call fcn.00401b70
cmp eax, ebx
jge 0x408ca3
push 1
push ebx
push 0x41b58c
lea ecx, [esp + 0x1d4]
call fcn.00401b70
push 4
push ebx
push str..exe
lea ecx, [esp + 0x1d4]
mov esi, eax
call fcn.00401b70
push 1
push ebx
push 0x41b588
lea ecx, [esp + 0x1d4]
mov edi, eax
call fcn.00401b70
lea edx, [esp + 0x254]
push 0x41b584
push edx
mov ebp, eax
call fcn.004027d0
add esp, 8
test al, al
je 0x408ddd
lea eax, [esp + 0x720]
push eax
call fcn.00401320
mov eax, dword [esp + 0x1e4]
add esp, 4
cmp eax, 0x10
mov eax, dword [esp + 0x1cc]
jae 0x408db2
lea eax, [esp + 0x1cc]
lea ecx, [esp + 0x720]
push ecx
push eax
lea edx, [esp + 0xb28]
push str.http:__p.52xiyou.com_MicroInstallCol.aspx_c_ssnnullmac_s
push edx
call fcn.0040e78f
lea eax, [esp + 0xb30]
push eax
call fcn.004012d0
add esp, 0x14
cmp esi, 0xffffffff
je 0x408e31
cmp edi, 0xffffffff
je 0x408e31
mov ecx, edi
sub ecx, esi
dec ecx
push ecx
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0x1d4]
call fcn.004045f0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1d4]
mov byte [esp + 0xf38], 0x1b
call fcn.00403720
lea ecx, [esp + 0x1ac]
mov byte [esp + 0xf2c], 0x16
call fcn.00402220
cmp ebp, 0xffffffff
je 0x408eaa
cmp esi, 0xffffffff
je 0x408e5f
sub esi, ebp
dec esi
push esi
inc ebp
push ebp
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0x1d4]
call fcn.004045f0
mov byte [esp + 0xf2c], 0x1c
jmp 0x408e86
cmp edi, 0xffffffff
je 0x408eaa
sub edi, ebp
dec edi
push edi
inc ebp
push ebp
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0x1d4]
call fcn.004045f0
mov byte [esp + 0xf2c], 0x1d
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x278]
push eax
call fcn.00403720
lea ecx, [esp + 0x1ac]
mov byte [esp + 0xf2c], 0x16
call fcn.00402220
push str.clientkey
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00405e60
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov esi, 0x10
cmp ecx, esi
mov byte [esp + 0xf2c], 0x1e
jb 0x408ee0
mov eax, dword [eax + 4]
jmp 0x408ee3
add eax, 4
push 1
push 0x1b6
push 2
push eax
lea ecx, [esp + 0x94]
call fcn.00406a70
cmp dword [esp + 0x1c4], esi
mov byte [esp + 0xf2c], 0x20
jb 0x408f1a
mov edx, dword [esp + 0x1b0]
push edx
call fcn.0040e74d
add esp, 4
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x88]
mov edi, 0xf
push ecx
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
call fcn.00402d50
add esp, 8
push 0xa
lea ecx, [esp + 0x88]
call fcn.004032e0
lea ecx, [esp + 0x84]
call fcn.00402310
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x88]
call fcn.00403150
lea ecx, [esp + 0x84]
call fcn.00406c30
push str.clientmlogin.cfg
lea edx, [esp + 0x1e8]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00405e60
add esp, 0xc
cmp dword [eax + 0x18], esi
mov byte [esp + 0xf2c], 0x21
jb 0x408fb1
mov eax, dword [eax + 4]
jmp 0x408fb4
add eax, 4
push 1
push 0x1b6
push 2
push eax
lea ecx, [esp + 0x128]
call fcn.00406a70
cmp dword [esp + 0x38], esi
mov byte [esp + 0xf2c], 0x23
jb 0x408fe5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040e74d
add esp, 4
lea edx, [esp + 0x270]
push edx
lea eax, [esp + 0x11c]
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00402d50
add esp, 8
lea ecx, [esp + 0x118]
call fcn.00406c30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x278]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403720
lea eax, [esp + 0x200]
push eax
call fcn.00406300
add esp, 0x20
lea ecx, [esp + 0x178]
mov byte [esp + 0xf2c], 0x20
call fcn.00406bd0
mov ebp, 0x41b1f0
lea ecx, [esp + 0x178]
mov dword [esp + 0x178], ebp
call fcn.0040dd91
lea ecx, [esp + 0xe4]
mov byte [esp + 0xf2c], 0x16
call fcn.00406bd0
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], ebp
call fcn.0040dd91
cmp dword [esp + 0x288], esi
jb 0x4090b3
mov ecx, dword [esp + 0x274]
push ecx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x1e0], esi
mov dword [esp + 0x288], edi
mov dword [esp + 0x284], ebx
mov byte [esp + 0x274], bl
jb 0x4090e1
mov edx, dword [esp + 0x1cc]
push edx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x26c], esi
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
jb 0x40910f
mov eax, dword [esp + 0x258]
push eax
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x250], esi
mov dword [esp + 0x26c], edi
mov dword [esp + 0x268], ebx
mov byte [esp + 0x258], bl
jb 0x40913d
mov ecx, dword [esp + 0x23c]
push ecx
call fcn.0040e74d
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x250], edi
mov dword [esp + 0x24c], ebx
mov byte [esp + 0x23c], bl
mov byte [esp + 0xf2c], 2
call fcn.00407030
mov esi, dword [esp + 0x1c]
mov ebp, 0x10
mov edi, 0xf
cmp dword [esp + 0x1fc], ebp
mov eax, dword [esp + 0x1e8]
jae 0x409188
lea eax, [esp + 0x1e8]
push eax
call fcn.0041a4f8
push str.launch.exe
lea edx, [esp + 0x1ec]
push edx
lea eax, [esp + 0x1b8]
push eax
call fcn.00405e60
mov ecx, dword [eax + 0x18]
add esp, 0x10
cmp ecx, ebp
jb 0x4091b7
mov eax, dword [eax + 4]
jmp 0x4091ba
add eax, 4
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 0x1c4], ebp
jb 0x4091e4
mov ecx, dword [esp + 0x1b0]
push ecx
call fcn.0040e74d
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x234], ebp
jb 0x40920b
mov edx, dword [esp + 0x220]
push edx
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x2a4], ebp
mov dword [esp + 0x234], edi
mov dword [esp + 0x230], ebx
mov byte [esp + 0x220], bl
jb 0x409239
mov eax, dword [esp + 0x290]
push eax
call fcn.0040e74d
add esp, 4
cmp dword [esp + 0x1fc], ebp
mov dword [esp + 0x2a4], edi
mov dword [esp + 0x2a0], ebx
mov byte [esp + 0x290], bl
jb 0x409267
mov ecx, dword [esp + 0x1e8]
push ecx
call fcn.0040e74d
add esp, 4
mov ecx, dword [esp + 0xf24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xf20]
xor eax, eax
call fcn.0040e818
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf20
ret