Function at 0x497e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532af8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58c250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 4]
push 0x3f4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x53d168
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00411460
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x498299
mov edx, dword [ecx]
cmp dword [edx - 0xc], 0
je 0x498299
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.00401b70
mov byte [ebp - 4], 1
push 0x53f288
push eax
call fcn.0041f2f0
add esp, 8
mov bl, al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x497f27
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00443260
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [edi + 0x58]
call fcn.00406b10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x497f27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x115
call fcn.00401480
add esp, 8
test eax, eax
je 0x497f48
push 0x115
push eax
lea ecx, [ebp - 0x18]
call fcn.00406170
mov ecx, dword [ebp - 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [edi + 0x58]
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x497f69
mov edx, dword [eax - 0xc]
push edx
mov ecx, esi
call fcn.00401820
mov eax, dword [edi + 0x58]
mov eax, dword [eax]
mov ecx, dword [esi]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x497f81
cmp word [ecx + esi*2], 0x5c
je 0x497f81
dec esi
jns 0x497f77
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 6
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1c]
push esi
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [edx + 0x58]
call fcn.00401b70
mov byte [ebp - 4], 9
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x49801e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x498011
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x498011
push eax
call fcn.00401500
mov dword [ebp - 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x498006
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
jmp 0x49801e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x498041
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 6
push str.Data_
lea ecx, [ebp - 0x10]
call fcn.00401ed0
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4980a2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x498095
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x498095
push eax
call fcn.00401500
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x49808d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x4980a2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401e30
push 0xe
push 0x541340
lea ecx, [ebp - 0x10]
call fcn.00401ed0
push 7
push str.CLFiles
lea ecx, [ebp - 0x14]
call fcn.00401ed0
mov eax, dword [ebp - 0x10]
mov ebx, 1
cmp dword [eax - 4], ebx
jle 0x4980dc
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401820
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 7
push 0
push 0
push eax
push str.open
push 0
call edi
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], ebx
jle 0x498109
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401820
mov eax, dword [ebp - 0x14]
push 7
push 0
push 0
push eax
push str.open
push 0
call edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x58]
mov eax, dword [esi]
cmp dword [eax - 4], ebx
jle 0x498131
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.00401820
mov esi, dword [esi]
push 7
push 0
push 0
push esi
push str.open
push 0
call edi
mov esi, eax
cmp esi, 0x20
jg 0x4981fc
mov edx, dword [0x58c214]
mov eax, dword [edx + 0xc]
mov ecx, 0x58c214
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xc
push 0
push 0x44c
call fcn.00401480
add esp, 8
test eax, eax
je 0x498189
push 0x44c
push eax
lea ecx, [ebp - 0x20]
call fcn.00406170
cmp esi, 0x1f
jne 0x4981c9
push 0
push 0x44d
call fcn.00401480
add esp, 8
test eax, eax
je 0x4981af
push 0x44d
push eax
lea ecx, [ebp - 0x18]
call fcn.00406170
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x20]
push 0x541374
push ecx
call fcn.00402550
add esp, 0xc
mov esi, dword [ebp - 0x20]
push 0x30
push 0x54132c
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 8
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4981fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49821f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 4
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x114
call fcn.00401480
add esp, 8
test eax, eax
je 0x4982ba
push 0x114
push eax
lea ecx, [ebp - 0x18]
call fcn.00406170
mov ecx, dword [ebp - 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x498245