Function at 0x100033d8
Capabilities:
Accept command line arguments
Access the windows event log
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [eax + 0x30]
add ebx, eax
mov cx, word [ebx + 0x58]
mov dword [ebp - 0x24], ecx
cmp word [ebp - 0x24], 0
jbe 0x100033fb
cmp word [ebp - 0x24], 0x104
lea esi, [ebx + 0x5a]
jb fcn.10002ede
mov dword [ebp - 0x24], 0x103
mov eax, dword [ebp - 4]
inc dword [ebp - 0x14]
mov dword [eax], 0xc8
mov eax, dword [ebp - 4]
add eax, 0xc8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x30]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10003409
add eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x1000340d
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
jne 0x10002eb5
jmp 0x1000342d
xor ebx, ebx
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x10032064]
je 0x10003447
dec dword [ebp - 0x34]
mov dword [0x1001e78c], 1
cmp dword [0x1001e78c], ebx
je 0x10003479
cmp dword [ebp - 0x34], ebx
je 0x10003479
jmp 0x1000904f
cmp dword [ebp - 0x14], ebx
jbe 0x10003598
push dword [0x1001b210]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0xc]
mov ebx, 0xc8
lea eax, [ecx + eax*2 + 0x1a]
sub eax, esi
add eax, 7
shr eax, 3
shl eax, 3
add eax, ebx
add eax, 7
shr eax, 3
shl eax, 3
cmp dword [edi], eax
jae 0x100034c9
mov eax, dword [ebp + 0x10]
and dword [edi], 0
mov dword [ebp - 0x2c], 0xea
and dword [eax], 0
jmp 0x10003594
mov edi, dword [ebp - 0x14]
xor esi, esi
push esi
push edi
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
call fcn.100013b0
push esi
push edi
push dword [ebp - 0xd8]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
push dword [ebp - 0xdc]
call fcn.100013b0
push esi
push edi
push dword [ebp - 0xc8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xcc]
call fcn.100013b0
push esi
push edi
push dword [ebp - 0x50]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0x54]
call fcn.100013b0
push esi
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x4c]
call fcn.100013b0
push dword [0x1001b210]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x48], edx
push 0xffffffffffffffff
push esi
push esi
push eax
push dword [ebp - 0xc]
call fcn.1000427c
mov edi, dword [ebp - 4]
push 0x32
pop ecx
lea esi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [eax], ebx
mov eax, dword [ebp - 4]
add eax, 0xc8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ecx + 0x28], eax
xor ebx, ebx
jmp 0x100035a1
lea eax, [esi + 0x590]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x2c], ebx
jne 0x100035bf
mov ecx, dword [ebp - 0xc]
mov eax, ecx
sub eax, esi
mov dword [esi], eax
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x318], edi
cmp ecx, ebx
mov dword [esi + 0x31c], eax
mov dword [ebp - 4], ecx
jne 0x1000908b
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x300]
push eax
call fcn.10002fcd
cmp eax, ebx
jge 0x10009083
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x1000908e
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], ecx
jmp 0x1000908e
mov eax, dword [ebp + 8]
cmp ecx, ebx
je 0x100090a5
push 3
lea eax, [ebp - 0x30]
push 0x18
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [fcn.1001396c]
cmp dword [ebp - 4], ebx
je 0x10009139
cmp eax, ebx
jl 0x10009139
mov edi, dword [ebp - 0x1c]
push ebx
imul edi, dword [ebp - 0x20]
push edi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.10008fc8
push ebx
push edi
push dword [ebp - 0x24]
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
push dword [ebp - 0x28]
call fcn.10008fc8
mov dword [esi + 0x310], eax
mov eax, dword [esi + 0x308]
push 0x14
mov dword [esi + 0x314], edx
mov edx, dword [esi + 0x30c]
pop ecx
call fcn.10002ede
mov dword [esi + 0x308], eax
mov eax, dword [esi + 0x310]
push 0x14
mov dword [esi + 0x30c], edx
mov edx, dword [esi + 0x314]
pop ecx
call fcn.10002ede
xor ebx, ebx
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], edx
mov dword [esi + 0x320], ebx
jmp 0x1000915b
mov dword [esi + 0x310], ebx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x320], 1
cmp dword [ebp + 8], ebx
jle 0x10009171
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1000916e
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [esi + 0x1c], ebx
pop edi
pop esi
pop ebx
leave
ret 4