Function at 0x10042b8f
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10042d0b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10042cff
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
inc eax
je 0x10042cec
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0
jge 0x10042c3e
mov dword [ebp - 0x14], 1
jmp 0x10042c42
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jge 0x10042c55
mov dword [ebp - 0x18], 1
jmp 0x10042c59
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x10042c6c
mov dword [ebp - 0x1c], 1
jmp 0x10042c70
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xda2a
jg 0x10042c82
mov dword [ebp - 0x20], 1
jmp 0x10042c86
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
jne 0x10042c9a
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10042c9a
and dword [ebp - 0x24], 0
jmp 0x10042ca1
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x74]
cmp eax, dword [ecx]
jne 0x10042cba
mov dword [ebp - 0x28], 1
jmp 0x10042cbe
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jg 0x10042cd1
mov dword [ebp - 0x2c], 1
jmp 0x10042cd5
and dword [ebp - 0x2c], 0
imul eax, dword [ebp - 0x2c], 0x3240
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x10042cec
mov dword [ebp - 0x30], 1
jmp 0x10042cf0
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x10042d09
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10042d7d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 8], 5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10042d32
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 8], 1
jmp 0x10042d42
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x18
jge 0x10042d63
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10042d61
push 0x824
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x10042d3b
push 0
push 0x134b
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0x24f
call fcn.10033e86
add esp, 0x14
mov esp, ebp
pop ebp
ret