Function at 0x4a2487
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4b5bd5
call fcn.004a76a9
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, 0x113
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], edx
cmp esi, eax
ja 0x4a26c4
je 0x4a2669
sub esi, 0x20
je 0x4a261e
sub esi, 0x26
je 0x4a25e9
sub esi, 1
je 0x4a25e9
sub esi, 0x3d
je 0x4a2587
sub esi, 0x7c
je 0x4a2555
sub esi, 0x11
je 0x4a2544
sub esi, 1
jne 0x4a293a
mov esi, dword [edi + 0x38]
cmp esi, dword [edi + 0x3c]
je 0x4a2521
mov ecx, dword [esi]
push dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
add esi, 4
or bl, al
cmp esi, dword [edi + 0x3c]
jne 0x4a2501
push 0
test bl, bl
pop ebx
jne 0x4a27ab
cmp dword [ebp + 0x10], 0xf060
jne 0x4a293a
cmp byte [edi + 5], 0
je 0x4a27ab
mov ecx, edi
call fcn.004a20fb
jmp 0x4a27ab
mov ecx, dword [edi + 0x48]
push edx
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
jmp 0x4a293a
mov edx, dword [edi + 0x48]
test edx, edx
je 0x4a293a
push ecx
mov ecx, edx
call fcn.004a0939
test eax, eax
je 0x4a293a
push ecx
mov ecx, edx
call fcn.004a0939
push dword [ebp + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4a293a
movsx eax, dx
mov dword [ebp - 0x28], eax
shr edx, 0x10
movsx eax, dx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a0ebb
mov ecx, eax
test ecx, ecx
je 0x4a293a
cmp byte [ecx + 5], bl
je 0x4a293a
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x24]
test eax, eax
je 0x4a293a
mov ecx, dword [ebp - 0x30]
mov bl, 1
mov dword [ecx], eax
jmp 0x4a293a
mov esi, dword [edi + 0x38]
cmp esi, dword [edi + 0x3c]
je 0x4a293a
mov ebx, dword [ebp - 0x34]
test byte [ebx + 0x18], 2
jne 0x4a2611
push dword [ebx + 0x14]
mov ecx, dword [esi]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov eax, dword [ecx]
push dword [ebx + 8]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0x3c]
jne 0x4a25f8
jmp 0x4a2938
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004a0ebb
mov ecx, eax
test ecx, ecx
je 0x4a293a
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x38]
push eax
call edx
mov bl, al
jmp 0x4a293a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + 0x2c]
mov dword [ebp - 0x30], eax
sub eax, dword [edi + 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call fcn.004a2c1c
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
sar esi, 2
mov dword [ebp - 0x3c], ebx
test esi, esi
jle 0x4a26b1
mov edi, dword [ebp - 0x34]
mov ecx, dword [eax + ebx*4]
push edi
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x1c]
inc ebx
cmp ebx, esi
jl 0x4a269c
mov edi, dword [ebp - 0x24]
xor ebx, ebx
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x10], eax
call fcn.004a2d43
jmp 0x4a293a
mov eax, esi
sub eax, 0x200
je 0x4a27d7
sub eax, 1
je 0x4a27d7
sub eax, 1
je 0x4a27d7
sub eax, 0xa1
je 0x4a27be
sub eax, 0x15e
je 0x4a27b2
sub eax, 1
je 0x4a2738
sub eax, 0x270f
jne 0x4a293a
mov edx, dword [edi + 0x48]
test edx, edx
je 0x4a293a
push ecx
mov ecx, edx
call fcn.004a0939
test eax, eax
je 0x4a293a
push ecx
mov ecx, edx
call fcn.004a0939
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x4a293a
mov ecx, dword [edi]
test ecx, ecx
jne 0x4a2758
push 0x272
push str.widget.cpp
push str.host____NULL
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x30]
je 0x4a2773
push 1
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
mov dword [ecx + 0x24], ebx
mov eax, dword [edi]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, edi
mov dword [edi], ebx
call fcn.004a1e19
push 0x4c
push edi
call fcn.004a43e6
pop ecx
pop ecx
cmp dword [0x4f0284], ebx
jne 0x4a27a4
cmp dword [0x4f0288], ebx
je 0x4a27ab
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov al, 1
jmp 0x4a293c
mov ecx, edi
call fcn.004a2296
jmp 0x4a293a
cmp byte [edi + 5], bl
je 0x4a293a
push ebx
mov ecx, edi
mov byte [edi + 0x14], bl
call fcn.004a23a0
jmp 0x4a293a
cmp dword [0x4f028c], ebx
je 0x4a2868
movaps xmm0, xmmword [0x4c91d0]
mov eax, edx
shr eax, 0x10
cwde
push eax
movsx ecx, dx
lea eax, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a2868
cmp esi, 0x200
jne 0x4a2824
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4a2868
cmp esi, 0x201
jne 0x4a2868
push 0x4f03fc
mov edx, str._select_
lea ecx, [ebp - 0x30]
call fcn.004700e4
pop ecx
push 1
push ebx
push dword [ebp - 0x30]
push 0x4c8ec8
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
cmp byte [edi + 5], bl
je 0x4a293a
mov ebx, 0x2a1
cmp esi, 0x200
jne 0x4a28ae
cmp byte [edi + 0x14], 0
jne 0x4a28ae
mov eax, dword [edi]
mov byte [edi + 0x14], 1
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 2
mov eax, dword [eax + 4]
or dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov esi, ebx
mov ecx, dword [ebp - 0x34]
movsx eax, cx
shr ecx, 0x10
mov dword [ebp - 0x28], eax
movsx eax, cx
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a0ebb
mov ebx, eax
test ebx, ebx
je 0x4a2938
push ebx
mov ecx, edi
call fcn.004a23a0
test al, al
mov eax, 0x2a1
cmovne esi, eax
cmp byte [ebx + 5], 0
je 0x4a2938
cmp esi, eax
jne 0x4a28fb
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
jmp 0x4a2938
cmp esi, 0x200
jne 0x4a2910
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
jmp 0x4a2938
cmp esi, 0x201
jne 0x4a2925
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
jmp 0x4a2938
cmp esi, 0x202
jne 0x4a2938
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
xor ebx, ebx
mov al, bl
call fcn.004a7658
ret 0x14