Function at 0x10083ed
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
xor ebx, ebx
push 0x1007b53
mov dword [ebp - 0xc], 0x12c
mov dword [ebp - 0x10], ebx
call fcn.01005988
inc dword [0x102fc6c]
push ebx
push 0xa5
call fcn.01003de7
push eax
call fcn.01003b80
push 1
push 0x10016fc
mov esi, 0xa6
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003c36
mov edi, 0x1f4
cmp eax, 1
push edi
jle 0x100848f
call fcn.01005994
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100849b
push edi
push 0x10013f0
push eax
push 0x1001480
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003ca8
push 5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [ebp - 4]
mov edi, eax
call fcn.01005a0e
cmp edi, 0x20
jl 0x10085dd
jmp 0x100849b
call fcn.01005994
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x10084a5
call fcn.01003ba8
jmp 0x1008734
push 1
push 0x10016fc
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003d1c
push edi
push dword [ebp - 4]
push dword [0x103337c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp - 4]
push 0x10016f0
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003d7c
push ebx
push 0xa9
call fcn.01003de7
push eax
push 0x10016e4
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003d7c
push ebx
push esi
call fcn.01003de7
push eax
push 0x10016d0
push ebx
call fcn.01003d7c
push dword [ebp - 4]
call fcn.01005a0e
push edi
call fcn.01005994
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10085dd
push edi
call fcn.01005994
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x10085d5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push 0x10016c8
push eax
call fcn.01020470
add esp, 0xc
lea eax, [ebp - 0x68]
push edi
push 0x10013f0
push dword [ebp - 4]
push eax
push ebx
call fcn.01003ca8
mov eax, dword [ebp - 4]
cmp byte [eax], bl
je 0x10085b6
push edi
push 0x10013f0
push dword [ebp - 0x18]
push 0x10016e4
push eax
call fcn.01003ca8
push ebx
push 0xa9
call fcn.01003de7
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10085af
mov eax, dword [ebp - 0x18]
cmp byte [eax], bl
je 0x10085b6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x7fbc
jl 0x100853f
jmp 0x10085b6
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jne 0x10085cd
push ebx
push esi
call fcn.01003de7
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.01003d7c
push dword [ebp - 0x18]
call fcn.01005a0e
push dword [ebp - 4]
call fcn.01005a0e
dec dword [0x102fc6c]
push 0x10016c0
push dword [ebp + 0x10]
call fcn.01020ae0
mov edi, dword [ebp + 8]
pop ecx
neg eax
pop ecx
mov dword [0x103337c], edi
sbb eax, eax
push 0x12c
neg eax
push ebx
push 0xa8
mov dword [0x10302dc], eax
call fcn.01003de7
push eax
push 0x10301ac
push 0x10016b0
push ebx
push esi
call fcn.01003de7
push eax
call fcn.01003ca8
push 0x100168c
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push ebx
mov esi, 0xa7
push ebx
push esi
mov dword [0x103332c], eax
call fcn.01003de7
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x100866a
push ebx
push ebx
push dword [0x103332c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1008734
call fcn.01003de4
test eax, eax
jne 0x1008734
push 0x10015dc
push edi
mov dword [ebp - 0x48], 0x1008
mov dword [ebp - 0x44], 0x1007bd9
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x28], 0x1001684
call fcn.01003de7
mov dword [ebp - 0x24], eax
mov eax, 0x1001674
push eax
push eax
push edi
call fcn.010073e7
mov dword [ebp + 8], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
call fcn.01006ab7
push ebx
push 0x26
call fcn.01003de7
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push edi
push ebx
push ebx
push 0x1e0
push 0x280
push ebx
push ebx
lea eax, [ebp - 0x130]
push 0x3ca0000
push eax
push ebx
push esi
call fcn.01003de7
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [0x1033330], eax
jne 0x100873b
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x1008a79
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.01005aad
call fcn.01014ddd
call fcn.01014414
push 0x1001668
push dword [ebp + 0x10]
call fcn.01020ae0
pop ecx
test eax, eax
pop ecx
je 0x1008778
push 1
pop eax
push eax
push 0x193
mov dword [0x10333ac], eax
call fcn.01005e7a
push dword [ebp + 0x14]
push dword [0x1033330]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x10333ac]
call fcn.0100405e
push dword [0x1033330]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x10087b5
push esi
call fcn.01007507
cmp esi, ebx
je 0x10087b5
push esi
call fcn.01007545
push dword [0x10333b0]
call fcn.01007b92
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov esi, eax
call edi
cmp eax, esi
jb 0x10087f1
call edi
sub eax, esi
cmp eax, 0x7d0
jae 0x10087f1
push 1
push ebx
push ebx
lea eax, [ebp - 0x64]
push dword [0x1033330]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x10087ca
push 0x1001660
push dword [ebp + 0x10]
call fcn.01020ae0
pop ecx
test eax, eax
pop ecx
je 0x100880b
call fcn.01013e9f
jmp 0x1008811
push ebx
call fcn.01014a1c
call edi
mov dword [0x1033378], eax
mov esi, 0x1033340
cmp dword [ebp - 0xc], ebx
jne 0x100893d
cmp dword [0x102fd44], ebx
mov dword [ebp - 0xc], 0x12c
je 0x100893a
call edi
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 8], eax
je 0x1008932
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
push ecx
push ecx
mov dword [ebp - 0x20], eax
fild qword [ebp - 0x20]
fmul qword [0x1001650]
fdivr qword [0x1001658]
fstp qword [esp]
push 0x1001634
push 0x102fcf0
call fcn.01020470
add esp, 0x10
push 0x102fcf0
push dword [0x1033330]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x102fd48], ebx
je 0x1008932
cmp dword [0x1033348], ebx
jne 0x1008911
push 0x400
call fcn.010204e0
mov dword [ebp + 0x10], eax
xor edx, edx
xor edi, edi
pop ecx
add eax, 0x29
lea ecx, [edx + 0xa]
cmp ecx, 0x100
jge 0x10088ed
cmp edi, 0xff
mov ecx, edi
jle 0x10088ca
mov ecx, 0xff
mov byte [eax + 1], cl
cmp edi, 0xff
mov ecx, edi
jle 0x10088d9
mov ecx, edx
mov byte [eax], cl
mov byte [eax - 1], cl
add edi, 8
add eax, 4
inc edx
cmp edx, 0x100
jl 0x10088b0
push dword [ebp + 0x10]
call fcn.010049ce
push dword [ebp + 0x10]
call fcn.01020590
pop ecx
push 0xf
push 0x190
push esi
call fcn.01004ba4
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
push 0xa
push 0x12c
push ebx
push ebx
push ebx
push ebx
push esi
call fcn.01004cf3
push ebx
push ebx
push ebx
push 0xa
push 0x12c
push esi
call fcn.01004dd9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x100893d
mov dword [ebp - 0x10], ebx
call fcn.01006e65
call fcn.01008a80
test eax, eax
je 0x1008a2c
cmp dword [0x102fd50], ebx
je 0x100881d
cmp dword [0x102fd4c], ebx
je 0x10089a9
call edi
mov dword [0x1033370], eax
sub eax, dword [0x1033378]
cmp eax, 2
jl 0x10089a9
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 4]
sub eax, dword [0x103336c]
push eax
mov eax, dword [0x1033368]
sub eax, dword [ebp - 8]
push eax
call fcn.0101445b
push dword [0x103336c]
push dword [0x1033368]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [0x102fd40], ebx
jne 0x100881d
call edi
cmp dword [0x102fd58], ebx
mov dword [0x1033370], eax
je 0x10089cf
mov dword [0x1033378], eax
mov dword [0x102fd58], ebx
sub eax, dword [0x1033378]
push eax
call fcn.010142dc
test eax, eax
je 0x100881d
cmp dword [0x1033348], ebx
je 0x1008a1a
mov eax, dword [0x1033370]
sub eax, dword [0x1033378]
add eax, 0xa
cmp eax, 0xec
jle 0x1008a05
mov eax, 0xf9
push eax
mov eax, 0x12b
sub eax, dword [ebp - 0xc]
push ebx
push eax
push 0xa
push 1
push esi
call fcn.01004dd9
mov eax, dword [0x1033370]
dec dword [ebp - 0xc]
mov dword [0x1033378], eax
jmp 0x100881d
push esi
call fcn.01004c10
call fcn.01005daa
call fcn.0100adaa
call fcn.01014c7a
call fcn.01006d69
call fcn.01004b1f
push dword [0x1033330]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.01003ba8
push dword [0x103337c]
push ebx
push 0xa7
call fcn.01003de7
push eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x1033374]
pop edi
pop esi
pop ebx
leave
ret 0x10