Function at 0x1000db60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x1c], 1
cmp eax, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
jne 0x1000dba7
lea eax, [ebp - 0x10]
push eax
push 0x80000000
push 0x10003a40
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 4], eax
jmp 0x1000dbaa
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], edi
jne fcn.1000dd3b
mov esi, 0x8000
push esi
push 0xc
push dword [0x10032058]
mov dword [ebp - 8], esi
call dword [fcn.10013be7]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0xc], ebx
jne 0x1000dbdc
mov dword [ebp - 4], 0xe
jmp 0x1000dc31
mov edi, dword [fcn.10013be7]
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
jbe 0x1000dc1a
cmp dword [ebp - 8], esi
je 0x1000dc1a
push dword [ebp - 8]
push ebx
push 0xc
push dword [0x10032058]
call dword [pe_dos_header]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x1000dc1a
mov dword [ebp - 4], 0xe
cmp dword [ebp - 4], 0x7a
jne 0x1000dc2f
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call edi
mov dword [ebp - 4], eax
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x1000dd1a
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx + 0x30]
mov dx, word [eax + ebx + 0x58]
lea ecx, [ebx + eax]
lea eax, [eax + ebx + 0x58]
mov dword [ebp - 0x24], ecx
test dx, dx
jbe 0x1000dcfc
cmp dx, 0x170
lea esi, [eax + 2]
jb 0x1000dc7b
movzx eax, dx
mov ecx, 0x2de
mov edx, 0x16f
lea esi, [esi + eax*2 - 0x2de]
jmp 0x1000dc7e
movzx ecx, dx
mov eax, ecx
lea edi, [ebp - 0x22c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movzx eax, dx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
shr eax, 1
xor esi, esi
mov word [ebp + eax*2 - 0x22c], si
mov eax, dword [ebp + 0x10]
cmp dword [eax], esi
jbe 0x1000dcf9
mov eax, esi
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x328
lea ebx, [eax + ecx]
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1000dcee
mov eax, dword [ebp - 0x24]
lea edi, [ebx + 8]
mov ecx, dword [eax + 0x40]
lea esi, [eax + 0x44]
mov dword [ebx + 0x18], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 0x18]
cmp dword [ebp - 0x14], ebx
jae 0x1000dce9
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, dword [eax]
jb 0x1000dca8
mov ebx, dword [ebp - 0x20]
inc dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1000dd0a
add ebx, eax
mov dword [ebp - 0x20], ebx
jmp 0x1000dd0e
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
jne 0x1000dc40
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x1000dd2b
push dword [ebp - 0x10]
call dword [fcn.10013be7]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx