Function at 0x1003e76e
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x1006212e
call fcn.10060508
sub esp, 0x50
cmp byte [ebp + 8], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
je 0x1003e8ae
cmp byte [ebp + 0xc], 0
je 0x1003e7c2
mov ecx, dword [ebp + 0x20]
cmp dword [ecx + 0x14], 8
jb 0x1003e7a3
mov edx, dword [ecx]
jmp 0x1003e7a5
mov edx, ecx
movzx esi, word [eax]
mov eax, dword [ecx + 0x10]
cmp word [edx + eax*2 - 2], si
je 0x1003eae9
push esi
push ecx
call fcn.10007af2
jmp 0x1003eae9
mov dword [ebp + 8], 0x31fe
xor esi, esi
cmp dword [ebp + 8], 0x3446
jle 0x1003e811
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x14], esi
lea eax, [esi + ebx]
mov ecx, 0x1007c858
and eax, edi
cdq
push edx
push eax
call fcn.10004668
inc esi
cmp esi, 0xe4a
jl 0x1003e7db
inc ebx
push 0
pop esi
cmp ebx, 0x220a
jl 0x1003e7d8
inc edi
cmp edi, 0x8fd
jl 0x1003e7d6
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [ebp - 4], esi
cmp dword [ebp + 8], 0x2ede
jge 0x1003e82c
mov edx, str.odc_llnpc_cxcqrkfuz_ouwnuvhl_nzscq_lrgrhha_whahrzk
mov ecx, 0x1007c858
call fcn.10006b3c
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x18]
mov eax, dword [edi]
mov dword [eax], esi
jmp 0x1003e8a2
push 0x178a
push 0x3a25
push 0x33cb
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push 0x10ae
push 0x2210
push dword [ebp + 0x1c]
xor dl, dl
push 0x2a94
push 0x59e7
push ecx
push ecx
push 0x7f02
push 0xce6
call fcn.1003d03e
mov eax, dword [edi]
add esp, 0x34
dec dword [eax]
mov eax, dword [edi]
cmp dword [eax], 0xfffffffd
jl 0x1003e85b
jmp 0x1003eae9
cmp byte [ebp + 0x24], 0
je 0x1003e8d7
mov byte [ebp + 0xb], 0
cmp byte [ebp + 0xb], 0
je 0x1003eae9
push 0x3d0c
mov edx, 0x689f
call fcn.1003ff32
pop ecx
jmp 0x1003eae9
xor esi, esi
mov edx, 0x54dd
push esi
push 0x15d0
push 0x3720
push esi
push 0xba1
push 0x154
mov cl, 1
call fcn.1003ff58
add esp, 0x18
lea ecx, [ebp - 0x5c]
push dword [ebp + 0x14]
call fcn.100078fc
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.10041543
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x1003e935
push ecx
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1004004e
add esp, 0xc
mov eax, 0x44455595
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp + 8], 0xfffffff8
mov dword [ebp - 0x14], esi
jmp 0x1003e960
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x20], 0x9649
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1003e952
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
mov eax, dword [ebp - 0x44]
setne dl
xor ecx, ecx
cmp edx, 0xfffffffa
setge cl
sub ecx, eax
mov eax, dword [ebp + 8]
add eax, ecx
jne 0x1003e98f
cmp dword [ebp - 0x44], esi
jne 0x1003e98f
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
mov dword [ebp + 8], esi
jmp 0x1003e9bf
mov eax, dword [ebp + 8]
mov eax, dword [ebp + eax*4 - 0x44]
mov dword [ebp - 0x20], eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jle 0x1003e9b2
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x5c]
sub esp, 0xc
lea edx, [ebp - 0x18]
push eax
call fcn.1003cc95
add esp, 0x10
cmp dword [ebp - 0x18], 0xffffffff
je 0x1003eacb
push 1
lea ecx, [ebp - 0x34]
call fcn.10004892
push 1
push 0x5e03
push 0x16d2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push ecx
mov edx, 0x52e8
lea ecx, [ebp - 0x34]
call fcn.1003ca23
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
add esp, 0x14
mov byte [ebp - 4], 2
mov dword [eax], esi
call fcn.100048f4
mov dword [ebp + 8], 0x3d59
cmp dword [ebp + 8], 0x3e17
jle 0x1003ea75
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x20], esi
mov eax, ebx
mov ecx, 0x1007c858
cdq
idiv esi
or edx, edi
mov eax, edx
cdq
push edx
push eax
call fcn.10004668
inc esi
cmp esi, 0x46e0
jl 0x1003ea3b
inc ebx
push 0
pop esi
cmp ebx, 0x4abd
jl 0x1003ea38
inc edi
cmp edi, 0x2038
jl 0x1003ea36
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea eax, [ebp - 0x18]
xor cl, cl
push eax
push 0x7d5c
lea edx, [ebp - 0x5c]
call fcn.1003fe99
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp + 8], 0x3a14
pop ecx
jge 0x1003eac4
mov edx, str.scjnemuwp_qrbusg_qsy_cmjytha
mov ecx, 0x1007c858
call fcn.10006b3c
jmp 0x1003eac4
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
cmp ecx, eax
je 0x1003eade
push 0xffffffffffffffff
push esi
push eax
call fcn.10005ae4
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.10004e40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret