Function at 0x5c3998
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c44a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x470], 0xffffffff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x474], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x174]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
mov dword [ebp - 0x38], eax
xor edi, edi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, dword [0x69f0c8]
call fcn.00403d84
test al, al
je 0x5c3a3b
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x478]
test byte [ebp - 0x12], 0x40
je 0x5c3a6f
cmp byte [ebp - 0x11], 0
jne 0x5c3a6f
mov eax, dword [ebp - 4]
call fcn.005bc13c
test al, al
je 0x5c4473
mov eax, dword [ebp - 4]
mov si, 0xffe9
call fcn.00403df4
push ebp
call fcn.005c38fc
pop ecx
jmp 0x5c4473
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004fecd0
test al, al
je 0x5c3b7a
mov eax, dword [ebp - 4]
test byte [eax + 0x2cf], 1
jne 0x5c3aa0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf8]
test al, al
je 0x5c3afe
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x198]
lea eax, [ebp - 0x3d]
push eax
mov eax, dword [ebp - 4]
add eax, 0x470
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xcc]
cmp byte [ebp - 0x3d], 3
jne 0x5c3afe
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x470]
mov eax, dword [ebp - 4]
call fcn.00502a94
mov edx, dword [ebp - 4]
mov dword [edx + 0x474], eax
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 0xc]
sub edx, 8
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.005ccf60
mov eax, dword [ebp - 4]
mov edx, dword [0x5a6a88]
call fcn.00403d84
test al, al
je 0x5c3b51
push 2
push 1
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x1c]
mov cl, 0xfc
call fcn.004164cc
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 4]
add eax, 0x558
push eax
call fcn.00418f78
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.005020f8
jmp 0x5c443d
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.005ccf60
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x22c]
mov eax, dword [ebp - 0x18]
cmp edx, eax
jne 0x5c3baa
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x228]
cmp edx, dword [ebp - 0x1c]
je 0x5c3bb9
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x498]
cmp edx, dword [ebp - 0x1c]
jle 0x5c3bbd
xor edx, edx
jmp 0x5c3bbf
mov dl, 1
mov byte [ebp - 0x25], dl
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x258]
mov dword [ebp - 0x2c], edx
test eax, eax
jge 0x5c3bee
mov eax, dword [ebp - 4]
call fcn.005bc13c
test al, al
je 0x5c4473
push ebp
call fcn.005c36c8
pop ecx
jmp 0x5c4473
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5c3c03
mov eax, dword [ebp - 4]
test byte [eax + 0x249], 2
je 0x5c3c75
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d1]
cmp eax, dword [ebp - 0x18]
jle 0x5c3c75
mov eax, dword [ebp - 4]
call fcn.005bc13c
test al, al
je 0x5c4473
push ebp
call fcn.005c3730
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
cmp eax, dword [ebp - 0x1c]
jg 0x5c3c5a
test byte [ebp - 0x12], 8
je 0x5c3c4e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005c2c50
push ebp
call fcn.005c36c8
pop ecx
jmp 0x5c4473
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.005020f8
jmp 0x5c4436
mov eax, dword [ebp - 4]
test byte [eax + 0x249], 2
jne 0x5c3cac
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2d1]
cmp eax, dword [ebp - 0x18]
jle 0x5c3cac
mov eax, dword [ebp - 4]
call fcn.005bc13c
test al, al
je 0x5c4473
push ebp
call fcn.005c3730
pop ecx
jmp 0x5c4436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
cmp byte [eax + 0x15], 0
je 0x5c40d7
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x228]
cmp ebx, dword [ebp - 0x1c]
jne 0x5c3d27
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
cmp eax, dword [ebp - 0x18]
jne 0x5c3d27
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x22c]
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x120]
test al, al
jne 0x5c3d27
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x22c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x228]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x1b8]
test al, al
jne 0x5c3d27
cmp byte [ebp - 0x11], 1
je 0x5c3d27
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xf0]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x2d1]
mov eax, dword [ebp - 0x18]
cmp edx, eax
jg 0x5c3d43
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x22c]
jne 0x5c3d47
xor ebx, ebx
jmp 0x5c3d49
mov bl, 1
test bl, bl
je 0x5c3d57
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a2], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x22c]
cmp eax, dword [ebp - 0x18]
jne 0x5c3d77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 0x1c]
jne 0x5c3d77
xor eax, eax
jmp 0x5c3d79
mov al, 1
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov byte [eax + 0x3f3], 1
cmp byte [ebp - 0x1d], 0
je 0x5c3db3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4cc], 0
je 0x5c3db3
mov eax, dword [ebp - 4]
call fcn.00485c28
mov edx, eax
add edx, 0xa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
call fcn.0048596c
mov eax, dword [ebp - 4]
call fcn.005bc13c
test al, al
je 0x5c4473
mov eax, dword [ebp - 4]
test byte [eax + 0x2cd], 1
jne 0x5c3e1d
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x238]
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jg 0x5c3df9
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x498]
push edx
mov edx, eax
pop eax
sub edx, eax
mov eax, dword [ebp - 4]
call fcn.005c0bfc
jmp 0x5c3e1d
mov edx, dword [ebp - 4]
test byte [edx + 0x2ce], 0x40
je 0x5c3e1d
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x498]
push edx
mov edx, eax
pop eax
sub edx, eax
mov eax, dword [ebp - 4]
call fcn.005c0bfc
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a2], 0
test bl, bl
je 0x5c3e44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.004c00ec
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x38]
call fcn.004c52c0
mov eax, dword [ebp - 4]
mov byte [eax + 0x3f3], 0
cmp byte [ebp - 0x1d], 0
je 0x5c3e5f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x158]
mov esi, dword [ebp - 0x1c]
test esi, esi
jl 0x5c3fd8
cmp byte [ebp - 0x11], 0
jne 0x5c3fd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x490]
mov edx, esi
call fcn.0041f8c0
mov eax, dword [eax + 8]
mov edx, 0x5c44c4
call fcn.00404ef8
jne 0x5c3fd8
mov byte [ebp - 0x45], 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x498]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [ebp - 4]
call fcn.005baef0
test eax, eax
je 0x5c3fd8
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x498]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [ebp - 4]
call fcn.005baef0
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.004c00ec
pop edx
call fcn.004c3d24
lea edx, [ebp - 0xec]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x19c]
lea eax, [ebp - 0x45]
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x498]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [ebp - 4]
call fcn.005baef0
mov ecx, eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xfc]
cmp byte [ebp - 0x45], 0
je 0x5c3fd8
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x4c]
call fcn.00409900
mov edx, dword [ebp - 0xf0]
mov eax, 0x5c44d8
call fcn.0040f0c4
test eax, eax
jg 0x5c3f98
mov edx, dword [ebp - 0x4c]
mov eax, 0x5c44e8
call fcn.0040f0c4
mov esi, eax
mov edx, dword [ebp - 0x4c]
mov eax, 0x5c44f4
call fcn.0040f0c4
cmp esi, 1
jle 0x5c3f98
cmp esi, eax
jge 0x5c3f98
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov edx, 0x5c4500
call fcn.00404df8
mov eax, dword [0x6a4920]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004a5364
push 1
push 0
push 0
mov eax, dword [ebp - 0x4c]
call fcn.00404fac
push eax
push 0x5c4508
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x6a4920]
mov eax, dword [eax]
xor edx, edx
call fcn.004a5364
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x2cd], 0x40
je 0x5c405d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.005c6168
test al, al
jne 0x5c405d
test byte [ebp - 0x12], 4
jne 0x5c400b
test byte [ebp - 0x12], 1
je 0x5c4035
mov eax, dword [ebp - 4]
mov si, 0xff96
call fcn.00403df4
test al, al
je 0x5c4028
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c0]
jmp 0x5c405d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1bc]
jmp 0x5c405d
mov eax, dword [ebp - 4]
test byte [eax + 0x3f2], 1
je 0x5c405d
test byte [ebp - 0x12], 8
je 0x5c405d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x148]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1bc]
mov eax, dword [ebp - 4]
test byte [eax + 0x2cd], 0x40
je 0x5c40d7
test byte [ebp - 0x12], 1
jne 0x5c4081
test byte [ebp - 0x12], 4
jne 0x5c4081
mov eax, dword [ebp - 4]
test byte [eax + 0x3f2], 1
je 0x5c40d7
mov eax, dword [ebp - 4]
test byte [eax + 0x3f2], 2
je 0x5c40d7
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a3], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.004c00ec
call fcn.004c5d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
cmp eax, dword [ebp - 0x24]
jne 0x5c40d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2dc]
call fcn.004c00ec
mov edx, dword [eax]
call dword [edx + 0x21c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4a4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x22c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x228]
mov eax, dword [ebp - 4]
call fcn.00500920
mov eax, dword [ebp - 4]
test byte [eax + 0x454], 4
jne 0x5c413b
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x22c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x228]
mov eax, dword [ebp - 4]
call fcn.005c9344
test al, al
je 0x5c413b
mov eax, dword [ebp - 0x54]
mov edx, dword [0x69f0c8]
call fcn.00403d84
test al, al
je 0x5c413b
mov eax, dword [ebp - 4]
call fcn.005cc524
jmp 0x5c4198
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.user32.dll_GetUpdateRect
push 0
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.user32.dll_ValidateRect
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x22c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x228]
mov eax, dword [ebp - 4]
call fcn.00500920
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x88]
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
call fcn.0048cc2c
push eax
call sub.user32.dll_InvalidateRect
cmp byte [ebp - 0x25], 0
je 0x5c4436
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4cc], 0
je 0x5c4436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
call fcn.00403b40
mov edx, 0x5c4518
call fcn.005d67d4
test al, al
jne 0x5c4436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
cmp eax, dword [ebp - 0x2c]
jne 0x5c4436
test byte [ebp - 0x12], 4
jne 0x5c4436
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x4cc]
mov edx, dword [ebp + 8]
sub edx, dword [esi + 0x44]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x40]
lea ecx, [ebp - 0x34]
call fcn.0041e1f0
push 1
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
xor ecx, ecx
call fcn.0048a45c
mov esi, eax
test esi, esi
je 0x5c42a2
mov eax, esi
mov edx, dword [0x481f88]
call fcn.00403d84
test al, al
je 0x5c42a2
lea ecx, [ebp - 0xf8]
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.00485d68
mov dx, word [ebp - 0x30]
sub dx, word [esi + 0x44]
mov di, word [ebp - 0x34]
mov eax, edi
sub ax, word [esi + 0x40]
call fcn.0040849c
push eax
push 0
push 0x201
mov ebx, esi
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_SendMessageA
mov dx, word [ebp - 0x30]
sub dx, word [esi + 0x44]
mov eax, edi
sub ax, word [esi + 0x40]
call fcn.0040849c
push eax
push 0
push 0x202
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_SendMessageA
jmp 0x5c4436
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.005c9344
test al, al
je 0x5c43e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
cmp eax, dword [ebp - 0x44]
jne 0x5c43e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, dword [0x69f0c8]
call fcn.00403d84
test al, al
je 0x5c43e9
test bl, bl
je 0x5c43e9
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov ecx, dword [eax]
call dword [ecx + 0x114]
push 3
push 4
lea eax, [ebp - 0xd8]
push eax
call sub.user32.dll_InflateRect
xor eax, eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
push dword [eax + 0x40]
mov eax, dword [ebp + 0xc]
pop edx
sub eax, edx
lea ecx, [ebp - 0x34]
mov edx, 7
call fcn.0041e1f0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea eax, [ebp - 0xd8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x5c4436
test bl, bl
je 0x5c4386
mov eax, dword [ebp - 0x38]
add eax, edi
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x22c]
jle 0x5c4386
test edi, edi
jle 0x5c4386
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x2c0], edx
jmp 0x5c4399
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov dword [eax + 0x2c0], 0xffffffff
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005cc6d0
xor eax, eax
push ebp
push 0x5c43e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov dl, 1
call fcn.0059aa0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c4436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
mov dword [eax + 0x2c0], 0xffffffff
ret
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4cc]
mov eax, ebx
mov edx, dword [0x474370]
call fcn.00403d84
test al, al
jne 0x5c4436
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x4cc]
mov dx, word [ebp + 8]
sub dx, word [esi + 0x44]
mov ax, word [ebp + 0xc]
sub ax, word [esi + 0x40]
call fcn.0040849c
push eax
push 0
push 0x201
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_SendMessageA
push ebp
call fcn.005c36c8
pop ecx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x4cc]
test ebx, ebx
je 0x5c4473
mov eax, ebx
call fcn.00403b40
mov edx, 0x5c452c
call fcn.005d67d4
test al, al
je 0x5c4473
call sub.user32.dll_GetMessageTime
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4cc]
mov dword [edx + 0x40c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c44b0
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.00404b10
lea eax, [ebp - 0xe8]
call fcn.00411fd4
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404b10
ret