Function at 0x100094c0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x28
mov eax, dword [0x10047bc4]
mov ecx, dword [0x10047be0]
add ecx, eax
push edi
add word [0x10047bb2], cx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cl, byte [0x10047ba6]
mov dword [esp + 0x10], 0
add cl, al
mov eax, dword [0x10041658]
test eax, eax
mov byte [0x10047ba6], cl
jle 0x100099b2
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0x100479d8
movsx edx, word [0x10047baa]
movsx eax, byte [0x10047ba4]
push edx
push eax
call fcn.100075f0
mov ecx, dword [esp + 0x1c]
add word [0x10047bac], ax
mov edx, dword [ecx]
push edx
call fcn.10009470
mov dword [esp + 0x2c], eax
mov eax, dword [0x10047bd0]
push eax
push 0xb699ffff
call fcn.10007740
mov cl, byte [0x10047ba6]
mov ebx, dword [0x10047bd4]
movsx edx, byte [0x10047ba9]
add cl, al
push edx
mov byte [0x10047ba6], cl
xor ecx, ecx
test ebx, ebx
setne cl
push 0xbe9fffff
mov dword [0x10047be0], ecx
call fcn.100078b0
mov ecx, dword [0x10047be0]
add esp, 0x1c
add ecx, eax
mov eax, dword [esp + 0x10]
mov dword [0x10047be0], ecx
lea ebx, [eax*4 + 0x100478a4]
mov eax, dword [eax*4 + 0x100478a4]
test eax, eax
je 0x10009919
movsx ecx, byte [0x10047ba9]
mov al, byte [0x10047ba1]
push ecx
dec al
push 0x1917ffff
mov byte [0x10047ba3], 0xff
mov byte [0x10047ba1], al
call fcn.100075f0
mov cl, byte [0x10047ba7]
mov edx, dword [esp + 0x28]
add cl, al
mov eax, dword [ebx]
mov byte [0x10047ba7], cl
mov dword [esp + 0x34], edx
movsx ecx, word [0x10047bac]
mov edx, dword [esp + 0x18]
add ebx, 4
inc edx
push ecx
push 0x21a9ffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebx
call fcn.100077d0
mov dl, byte [0x10047ba5]
add word [0x10047bb8], ax
mov eax, dword [esp + 0x28]
dec dl
mov byte [0x10047ba5], dl
mov dword [esp + 0x44], eax
movsx edx, byte [0x10047ba3]
inc eax
push 0x5a31ffff
push edx
mov byte [0x10047ba1], 0
mov dword [esp + 0x30], eax
call fcn.10007780
mov esi, dword [0x10047bd4]
mov dx, word [0x10047bac]
add esi, eax
mov ecx, 0x89f1ffff
movsx eax, word [0x10047bb8]
add esp, 0x18
sub ecx, eax
dec dx
mov dword [0x10047bd0], ecx
add word [0x10047bae], dx
mov ecx, dword [0x10047788]
mov edx, dword [0x1004778c]
mov eax, 0x2aaaaaab
sub edx, ecx
mov dword [0x10047bd4], esi
imul edx
sar edx, 1
mov eax, edx
mov esi, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x100097e6
mov edi, dword [0x10047784]
test edi, edi
je 0x100096ed
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jbe 0x100096ed
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
jmp 0x100096f2
mov ebx, 1
test edi, edi
jne 0x100096fa
xor edx, edx
jmp 0x1000970c
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
add ebx, edx
test ebx, ebx
mov eax, ebx
jge 0x10009716
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, dword [0x10047784]
add esp, 4
cmp ebp, esi
mov dword [esp + 0x24], eax
mov edi, eax
je 0x10009749
push ebp
push edi
call fcn.10009ae0
add ebp, 0xc
add esp, 8
add edi, 0xc
cmp ebp, esi
jne 0x10009735
lea eax, [esp + 0x2c]
mov ecx, 0x10047780
push eax
push 1
push edi
call fcn.10009aa0
mov ecx, dword [0x10047788]
add edi, 0xc
push edi
push ecx
push esi
mov ecx, 0x10047780
call fcn.10009a50
mov edx, dword [0x10047788]
mov eax, dword [0x10047784]
push edx
push eax
mov ecx, 0x10047780
call fcn.10009a40
mov ecx, dword [0x10047784]
push ecx
call fcn.1002cda0
mov ecx, dword [esp + 0x28]
lea edx, [ebx + ebx*2]
add esp, 4
lea eax, [ecx + edx*4]
mov dword [0x1004778c], eax
mov eax, dword [0x10047784]
test eax, eax
jne 0x100097b3
xor edx, edx
jmp 0x100097cb
mov edx, dword [0x10047788]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, dword [esp + 0x28]
lea edx, [edx + edx*2 + 3]
mov dword [0x10047784], ecx
lea eax, [ecx + edx*4]
mov dword [0x10047788], eax
jmp 0x100098db
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x10009870
lea edx, [esi + 0xc]
push edx
push ecx
push esi
mov ecx, 0x10047780
call fcn.10009a50
mov edi, dword [0x10047788]
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, 0x10047780
sub eax, edx
push eax
push edi
call fcn.10009aa0
mov ecx, dword [0x10047788]
mov eax, esi
cmp esi, ecx
je 0x100098d4
mov esi, dword [esp + 0x2c]
mov edx, eax
add eax, 0xc
mov dword [edx], esi
mov esi, dword [esp + 0x30]
cmp eax, ecx
mov dword [edx + 4], esi
mov esi, dword [esp + 0x34]
mov dword [edx + 8], esi
jne 0x10009851
jmp 0x100098d4
lea eax, [ecx - 0xc]
push ecx
push ecx
push eax
mov ecx, 0x10047780
mov dword [esp + 0x34], eax
call fcn.10009a50
mov eax, dword [0x10047788]
mov ecx, eax
add eax, 0xfffffff4
cmp esi, eax
je 0x100098b0
sub eax, 0xc
sub ecx, 0xc
mov edx, eax
mov edi, ecx
cmp eax, esi
mov ebp, dword [edx]
mov dword [edi], ebp
mov ebp, dword [edx + 4]
mov dword [edi + 4], ebp
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
jne 0x10009892
lea eax, [esi + 0xc]
cmp esi, eax
je 0x100098d4
mov edx, dword [esp + 0x2c]
mov ecx, esi
add esi, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
cmp esi, eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
jne 0x100098b7
add dword [0x10047788], 0xc
mov eax, dword [0x10047bd0]
mov ebp, dword [0x10047bd4]
movsx ecx, byte [0x10047ba9]
and eax, 0xc849ffff
push ecx
add ebp, eax
push 0x66e9ffff
mov dword [0x10047bd4], ebp
call fcn.100076b0
add word [0x10047bb2], ax
mov eax, dword [ebx]
add esp, 8
test eax, eax
jne 0x100095b6
mov ax, word [0x10047bb0]
movsx edx, ax
push edx
push 0x26c7ffff
mov word [0x10047bb6], ax
call fcn.100076b0
mov dword [0x10047bd4], eax
mov eax, dword [0x10047bd8]
push 0x6221ffff
push eax
call fcn.100077d0
movsx edx, word [0x10047bb0]
mov ebx, dword [0x10047bd4]
mov edi, dword [esp + 0x20]
mov esi, dword [0x10047bc0]
or ecx, 0xffffffff
add ebx, eax
inc edi
sub ecx, esi
push edx
add word [0x10047bae], cx
push 0x4e4fffff
mov dword [0x10047bd4], ebx
mov dword [esp + 0x28], edi
call fcn.100075f0
add word [0x10047bb6], ax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x10041658]
add esp, 0x18
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
jl 0x1000951c
pop esi
pop ebp
pop ebx
mov ecx, dword [0x10041654]
xor eax, eax
mov edi, 0x10047790
rep stosd dword es:[edi], eax
pop edi
add esp, 0x28
ret