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

Disassembly:
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
lea ecx, [eax + ecx*2]
sub ecx, dword [ebp - 8]
add ecx, 0x21
shr ecx, 3
lea edx, [ecx*8 + 0xcf]
mov ecx, dword [ebp + 0xc]
shr edx, 3
shl edx, 3
cmp dword [ecx], edx
jb 0x10003419
lea ecx, [ebp - 0x53c]
push ecx
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 4]
push esi
push ecx
push eax
call fcn.1000427c
and dword [ebx + 0x30], 0xff
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x30]
add dword [ebp - 0xf4], eax
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
fld qword [0x10032070]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], edx
add eax, edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], eax
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 4]
adc ecx, esi
add dword [ebp - 0xe4], eax
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x128], esi
adc dword [ebp - 0xe0], ecx
add dword [ebp - 0xec], eax
mov dword [edx + 0x20], eax
mov edx, dword [ebp - 4]
fild qword [ebp - 0x12c]
adc dword [ebp - 0xe8], ecx
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x30], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x34], eax
mov eax, dword [ebx + 0x10]
add dword [ebp - 0xdc], eax
mov ecx, dword [ebx + 0x14]
fmul st(1)
adc dword [ebp - 0xd8], ecx
add dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x18]
fstp qword [ebp - 0x10]
fild qword [ebp - 0x11c]
adc dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
fmul st(1)
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 4]
fstp qword [ebp - 0x28]
fild qword [ebp - 0x10c]
mov eax, dword [ebx + 0x1c]
mov dword [ecx + 0x44], eax
mov eax, dword [ebx + 0x18]
fmulp st(1)
add dword [ebp - 0xcc], eax
mov ecx, dword [ebx + 0x1c]
adc dword [ebp - 0xc8], ecx
add dword [ebp - 0xc4], eax
adc dword [ebp - 0xc0], ecx
call fcn.10007e0a
mov ecx, dword [ebp - 4]
add dword [ebp - 0xbc], eax
fld qword [ebp - 0x10]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp - 4]
adc dword [ebp - 0xb8], edx
mov dword [ecx + 0x4c], edx
mov esi, dword [ebx + 0x2c]
add esi, dword [ebx + 0x28]
mov eax, dword [ebp - 4]
add dword [ebp - 0xf0], esi
mov dword [eax + 0x14], esi
call fcn.10007e0a
mov ecx, dword [ebp - 4]
add dword [ebp - 0xb4], eax
fld qword [ebp - 0x28]
mov dword [ecx + 0x50], eax
mov eax, dword [ebp - 4]
adc dword [ebp - 0xb0], edx
mov dword [eax + 0x54], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
add dword [ebp - 0xa4], eax
mov dword [ecx + 0x60], eax
call fcn.10007e0a
mov ecx, dword [ebp - 4]
add dword [ebp - 0xac], eax
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 4]
adc dword [ebp - 0xa8], edx
add dword [ebp - 0x9c], esi
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x2c]
add dword [ebp - 0xa0], eax
mov dword [ecx + 0x64], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
add dword [ebp - 0x98], eax
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x2c]
add dword [ebp - 0x94], eax
mov dword [ecx + 0x70], eax
mov eax, dword [ebx]
add eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 4]
adc ecx, dword [ebx + 0xc]
add dword [ebp - 0x8c], eax
mov dword [edx + 0x78], eax
mov edx, dword [ebp - 4]
adc dword [ebp - 0x88], ecx
mov dword [edx + 0x7c], ecx
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
add dword [ebp - 0x84], edx
mov edx, edi
mov dword [ebp - 0x120], edi
mov edi, dword [ebp - 4]
adc dword [ebp - 0x80], edx
mov edx, dword [ebx]
mov dword [edi + 0x80], edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x120]
mov dword [edx + 0x84], edi
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
add dword [ebp - 0x7c], edx
mov edx, edi
mov dword [ebp - 0x110], edi
mov edi, dword [ebp - 4]
adc dword [ebp - 0x78], edx
mov edx, dword [ebx + 8]
add dword [ebp - 0x74], eax
mov dword [edi + 0x88], edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x110]
mov dword [edx + 0x8c], edi
mov edx, dword [ebp - 4]
adc dword [ebp - 0x70], ecx
add dword [ebp - 0x90], esi
mov dword [edx + 0x90], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], esi
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x6c], eax
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 4]
adc dword [ebp - 0x68], ecx
mov dword [eax + 0x9c], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
add dword [ebp - 0x5c], eax
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
add dword [ebp - 0x64], eax
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 4]
adc dword [ebp - 0x60], ecx
mov dword [eax + 0xa4], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x2c]
add dword [ebp - 0x58], eax
mov dword [ecx + 0xac], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0xb0], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebx + 0x20]
add dword [ebp - 0x54], eax
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
adc dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc0], eax
mov eax, dword [ebx + 0x34]
add dword [ebp - 0x44], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
mov dword [ecx + 0xb8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 0xbc], eax
mov eax, dword [ebx + 0x38]
add dword [ebp - 0x4c], eax
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x3c]
adc dword [ebp - 0x48], ecx
xor esi, esi
cmp eax, esi
je 0x10003397
mov ecx, dword [eax + 0x30c]
mov edx, dword [eax + 0x308]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x310]
mov eax, dword [eax + 0x314]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add dword [ebp - 0x100], esi
mov edx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
add dword [ebp - 0xfc], edx
mov eax, dword [eax + 0xc]
add dword [ebp - 0xf8], eax
jmp fcn.100033d8
cmp dword [ebp - 0x18], esi
je 0x100033c6
cmp dword [0x10031fac], esi
jne 0x100033c6
lea eax, [ebp - 0x18]
push eax
push esi
push 4
push esi
push esi
push 0x800007d0
push esi
push 2
push dword [0x10032054]
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov dword [0x10031fac], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov eax, dword [ebp - 4]
mov dword [eax + 8], esi
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ecx], esi
mov dword [ebp - 0x2c], 0xea
mov dword [eax], esi
mov esi, dword [ebp - 8]