Function at 0x1004db3d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
mov dword [ebp - 0x18], 0x69f4
xor ebx, ebx
push esi
mov dword [ebp - 0x30], 0xfb1c0380
push edi
mov dword [ebp - 0xc], ebx
mov edi, ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], 0xd7540573
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0x9958900f
mov dword [ebp - 0x2c], ecx
push 3
mov dword [ebp - 0x20], 0x9f5ab171
mov dword [ebp - 8], ebx
pop edx
jmp 0x1004db9d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x3c], 0x187110e6
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x1004db8f
mov dword [ebp - 8], ebx
jmp 0x1004dbb5
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x48], 0xa44198d7
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x1004dba7
mov dword [ebp - 8], ebx
jmp 0x1004dbcd
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x14], 0x826f393
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004dbbf
cmp dword [ebp - 0x18], ebx
jne 0x1004dc5d
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
je 0x1004dbec
mov eax, dword [ebp - 0xc]
mov esi, ecx
neg eax
jne 0x1004dbee
mov esi, ebx
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setg dl
sub edx, eax
neg edx
push 0
sbb edx, edx
neg edx
mov edx, dword [ebp - 0x48]
pop eax
sete al
sub edx, eax
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
sub edx, eax
mov eax, dword [ebp - 0x3c]
imul edx, eax
mov eax, dword [ebp - 0x28]
cmp edx, eax
mov eax, dword [ebp - 0x18]
setl cl
xor edx, edx
add ecx, esi
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
sub edx, 0x323f
cmp edx, eax
setne cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x30]
push 0x4503
push ecx
mov dword [ebp - 0x3c], eax
dec dword [ebp - 0x20]
push edi
call fcn.10047b5d
mov dword [ebp - 0xc], 0x61f9
add esp, 0xc
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x30], 0xa75015e0
cmp dword [ebp - 0xc], ebx
je 0x1004dca7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004dd59
push ebx
call dword [sym.imp.KERNEL32.dll_EncodePointer]
jmp 0x1004dd59
mov dword [ebp - 0x10], 0x8555145c
xor edx, edx
mov dword [ebp - 8], 0xfffffffd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 8]
setle dl
xor ecx, ecx
cmp eax, edx
setne cl
cmp ecx, dword [ebp - 0xc]
jge 0x1004dcd7
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp eax, 9
mov eax, dword [ebp - 8]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x10]
setne cl
xor edx, edx
cmp ecx, 0x1f9e
setl dl
xor ecx, ecx
cmp eax, edx
setle cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setle dl
imul edx, dword [ebp - 0xc]
cmp edx, 0xffff
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xfffc
setne cl
cmp ecx, dword [ebp - 0x30]
jl 0x1004dd42
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, 0xfffffff6
setle cl
mov dword [ebp - 8], ecx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004dd67
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push edi
call fcn.1002fc08
mov esi, eax
mov eax, 0xa5d6c05b
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 8], 0x8da8e97e
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 8], 3
pop ecx
cmp dword [ebp - 8], ebx
jl 0x1004de20
xor edi, edi
inc edi
mov dword [ebp - 0xc], 0xc4c8d3c8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0xc], ebx
jmp 0x1004de15
mov dword [ebp - 0x10], 0xfffffffb
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x58], ecx
test ecx, ecx
jne 0x1004ddd8
mov edx, ebx
cmp dword [ebp - 0xc], ebx
je 0x1004ddda
mov edx, edi
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, 0x67120dd9
setle cl
sub ecx, 0x59512e2e
cmp edx, ecx
jl 0x1004de0d
mov eax, edi
cmp dword [ebp - 0x50], ebx
jne 0x1004de0f
mov eax, ebx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jle 0x1004ddb1
dec dword [ebp - 8]
jns 0x1004dda2
mov dword [ebp - 8], ebx
jmp 0x1004de38
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004de35
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
je 0x1004de25
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret