Function at 0x1002f582
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x10056457
call fcn.10055488
sub esp, 0xc4
and dword [ebp - 0x28], 0
mov eax, 0x62a4b15
push ebx
mov dword [ebp - 0x10], 0xffffffff
push esi
mov dword [ebp - 0x1c], 0x4ac0198a
push edi
mov dword [ebp - 0x5c], eax
mov edi, ecx
mov dword [ebp - 0x58], eax
push 0x13
mov dword [ebp - 0x54], eax
pop esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], esi
jmp 0x1002f627
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x1c], 0x3f300457
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
add eax, 0xffaf
jne 0x1002f5eb
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
dec edx
cmp edx, eax
setg cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x1002f62c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1002f5c8
call fcn.1002c543
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1002fbad
and dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0x24a8c6a5
inc ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x20], 0xd3335637
push 2
mov dword [ebp - 0x20], 0xbe92e3f9
mov dword [ebp - 0x10], 0
pop ebx
jmp 0x1002f673
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xb4], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1002f666
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffffff3
jne 0x1002f6c3
mov edx, 0x69f4288a
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x10], 0xcb03629a
mov dword [ebp - 0x10], 0
jmp 0x1002f6b4
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x6c], 0
jne 0x1002f6ba
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x1002f6a7
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff3
je 0x1002f68b
mov dword [ebp - 0x18], 8
cmp dword [ebp - 0x18], 0xffffffe6
jg 0x1002f819
jmp 0x1002f6d9
xor ecx, ecx
inc ecx
or eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0x1078932
mov dword [ebp - 0x20], 0xfffffff7
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x20], 0x60e9
cmp dword [ebp - 0x20], 0x646c
jle 0x1002f78f
xor esi, esi
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 0x1c], 0x7c49
mov ebx, edi
mov esi, 0x5ecb
mov eax, ebx
lea ecx, [ebp - 0x90]
cdq
push edx
push eax
call fcn.10001ac1
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002f741
mov eax, dword [eax]
push eax
call fcn.1003d266
pop ecx
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.1000217e
inc ebx
dec esi
jne 0x1002f727
mov esi, dword [ebp - 0x10]
add edi, esi
dec dword [ebp - 0x1c]
jne 0x1002f720
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x7333
jl 0x1002f717
push 0xd6c
push 0x1180
push 0
push 0
push 0x1f2a
push 0xdec
call dword [sym.imp.USER32.dll_ToUnicode]
mov dword [ebp - 0x10], 0
jmp 0x1002f7c8
mov dword [ebp - 0x1c], 0x2da8afc1
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0x1c], 0x8e55a441
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x1c], 0x26f39384
mov dword [ebp - 0x1c], 0xe2e4ed
inc dword [ebp - 0x1c]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x1002f798
cmp dword [ebp - 0x20], 0x5f99
jge 0x1002f7e2
push str.wefic_ghwgdoyfp_irj_kkutgcvcj
call fcn.1003d266
pop ecx
and dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002f806
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RectVisible]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffe6
jle 0x1002f6d6
mov edi, dword [ebp - 0x30]
push 2
pop ebx
mov edx, dword [ebp - 0x38]
mov ecx, edx
mov esi, dword [ebp - 0x24]
add esi, 0xfffffca7
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1002f855
cmp dword [eax + 0x10], esi
jge 0x1002f83a
mov eax, dword [eax + 8]
jmp 0x1002f83e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1002f830
cmp ecx, edx
je 0x1002f855
cmp esi, dword [ecx + 0x10]
jl 0x1002f855
mov dword [ebp - 0x4c], ecx
lea esi, [ebp - 0x4c]
jmp 0x1002f85b
mov dword [ebp - 0x2c], edx
lea esi, [ebp - 0x2c]
mov esi, dword [esi]
xor edx, edx
mov dword [ebp - 0x10], 0x2121
mov dword [ebp - 0x18], 0xe1c5
mov dword [ebp - 0x24], 0x667120dd
mov dword [ebp - 0x20], 0xef3b0639
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
imul ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002f89b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setne dl
xor ecx, ecx
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
cmp edx, eax
setg cl
cmp ecx, 0x1dab
jge 0x1002f8c8
cmp dword [ebp - 0x10], 0
jne 0x1002f8c8
xor eax, eax
jmp 0x1002f8cb
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
neg edx
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, 0xa6ae
setl cl
xor eax, eax
cmp edx, ecx
setle al
cmp eax, dword [ebp - 0x20]
jle 0x1002f90c
cmp dword [ebp - 0x20], 0
jne 0x1002f90c
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002f936
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x1002f936
mov dword [ebp - 0x20], 0x1c84132d
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002f933
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
dec dword [ebp - 0x20]
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002f956
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x10070f64]
test al, 1
jne 0x1002f98b
and dword [0x10070f7c], 0
or eax, 1
mov dword [0x10070f64], eax
xor eax, eax
push 0x10056ad2
mov dword [0x10070f80], 7
mov word [0x10070f6c], ax
call fcn.1003d23c
pop ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x10], ecx
jmp 0x1002f9a3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x78], 0xfffffffe
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1002f995
mov dword [ebp - 0x10], ecx
jmp 0x1002f9d6
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ecx
jl 0x1002f9d3
mov byte [ebp - 0x11], cl
cmp byte [ebp - 0x11], 0
je 0x1002f9ce
call dword [sym.imp.KERNEL32.dll_GetACP]
xor ecx, ecx
dec dword [ebp - 0x18]
jns 0x1002f9bd
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jle 0x1002f9ae
cmp esi, dword [ebp - 0x38]
je 0x1002f9fb
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0xcc]
call fcn.100295cd
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 3
inc ebx
jmp 0x1002fa12
push 0x10070f6c
lea ecx, [ebp - 0xa8]
call fcn.1000e82a
mov dword [ebp - 4], 4
push eax
mov ecx, edi
mov dword [ebp - 0x28], ebx
call fcn.1000e82a
or ebx, 4
test bl, 2
je 0x1002fa37
push 0
push 1
lea ecx, [ebp - 0xa8]
and ebx, 0xfffffffd
call fcn.1000f361
test bl, 1
je 0x1002fa4b
push 0
push 1
lea ecx, [ebp - 0xcc]
call fcn.1000f361
lea ecx, [ebp - 0x38]
call fcn.1002fb7b
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret