Function at 0x10038f44
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062b5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x184
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10038f99
lea eax, [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
push dword [eax]
push 0x3df6
push dword [ebp - 0x7c]
push 1
call fcn.100393d2
add esp, 0x10
jmp 0x100393c1
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x4c], 0x4f0
mov dword [ebp - 0x88], str.viejwtg_crvja_thjxr
cmp dword [ebp - 0x4c], 0x673
jle 0x1003906c
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
and dword [ebp - 0x30], 0
jmp 0x10038ff5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x307d
jge 0x10039064
and dword [ebp - 0x38], 0
jmp 0x1003900b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4d5a
jge 0x10039062
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x38]
mov eax, edx
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xb4]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1000bb02
jmp 0x10039004
jmp 0x10038fee
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x100390d2
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x100390b0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 3
jge 0x100390cd
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.10001ad8
mov dword [eax], 0x13923ccd
jmp 0x100390a5
jmp 0x1003915b
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x10039103
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 3
jg 0x1003915b
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
jmp 0x10039121
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 3
jg 0x10039159
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10039157
push 0x78b1
push 0x4f1e
push 0x18a0
push 0
push 1
push 0x1fd5
push 0
call fcn.1002d59e
add esp, 0x1c
jmp 0x10039116
jmp 0x100390f8
and dword [ebp - 4], 0
mov dword [ebp - 0x68], 0x1a6a
cmp dword [ebp - 0x68], 0xabc
jge 0x10039386
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x1d]
push eax
mov edx, 0x1007ee18
mov ecx, 0x1007ede0
call fcn.1003b874
pop ecx
and dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 2
jmp 0x1003919f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x38
jg 0x100391f6
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0x1007ede0]
test eax, eax
je 0x100391f4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x194], ecx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 0x38
jg 0x100391f4
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
jmp 0x100391e2
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x38
jg 0x100391f4
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x1007ede0], 0
jmp 0x100391d9
jmp 0x10039198
push 4
pop eax
imul eax, eax, 0
and dword [eax + 0x1007ee18], 0
push 4
pop eax
shl eax, 0
mov dword [eax + 0x1007ee18], 1
push 4
pop eax
shl eax, 0
mov dword [eax + 0x1007ed00], 1
mov dword [ebp - 0x14], 1
jmp 0x10039233
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x38
jg 0x10039349
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp + eax*4 - 0x194]
cmp eax, dword [ebp - 0x14]
jne 0x10039253
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
and dword [ebp - 0x1c], 0
jmp 0x10039260
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38
jge 0x10039307
mov ecx, dword [ebp - 0x1c]
push 0x38
pop eax
cdq
idiv dword [ebp + ecx*4 - 0x194]
cmp dword [ebp - 0x14], eax
jg 0x10039307
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp + ecx*4 - 0x194]
test edx, edx
jne 0x10039295
jmp 0x10039259
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp + eax*4 - 0x194]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
push 0x38
pop eax
cdq
idiv dword [ebp + ecx*4 - 0x194]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x24], 1
xor eax, eax
inc eax
je 0x10039302
mov eax, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx*4 + 0x1007ed00]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx*4 + 0x1007ed00], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x70]
jg 0x100392f7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
imul ecx, dword [ebp + eax*4 - 0x194]
mov dword [ebp - 0x3c], ecx
jmp 0x100392f9
jmp 0x10039302
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100392be
jmp 0x10039259
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ecx*4 + 0x1007ed00]
test edx, edx
jne 0x10039330
mov eax, dword [ebp - 0x14]
mov eax, dword [eax*4 + 0x1007ee14]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx*4 + 0x1007ee18], eax
jmp 0x10039344
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x1007ee14]
mov dword [eax*4 + 0x1007ee18], ecx
jmp 0x1003922c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push str._d__d
call fcn.1004a92b
add esp, 0xc
cmp eax, 2
jne 0x10039386
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
mov eax, dword [eax*4 + 0x1007ee18]
sub eax, dword [ecx*4 + 0x1007ee14]
push eax
push 0x1006d2d4
call fcn.1004ae5e
pop ecx
pop ecx
jmp 0x10039349
cmp dword [ebp - 0x4c], 0x4a8
jge 0x1003939b
push dword [ebp - 0x88]
call fcn.1004ae5e
pop ecx
jmp 0x100393b7
or dword [ebp - 4], 0xffffffff
jmp 0x100393c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret