Function at 0x10002b30
Capabilities:
Access the windows event log
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x10098070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
jmp 0x10002b60
mov ecx, dword [ebp - 0xc8]
add ecx, 0x19
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp + 8]
add edx, 0x5c3
cmp dword [ebp - 0xc8], edx
ja 0x10002ff3
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x5316
ja 0x10002bd3
cmp dword [ebp - 0xc0], 0x5316
je 0x10002ca6
mov ecx, dword [ebp - 0xc0]
sub ecx, 0x4ad9
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0xc0], 0xfa
ja case.0x10002bcc.1
mov edx, dword [ebp - 0xc0]
movzx eax, byte [edx + 0x1000303c]
jmp dword [eax*4 + 0x1000300c]
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], ecx
sub dword [ebp - 0xb8], 0x532f
je 0x10002cf3
sub dword [ebp - 0xb8], 0x19
je 0x10002c24
sub dword [ebp - 0xb8], 0x19
je 0x10002c49
jmp case.0x10002bcc.1
call fcn.1001d180
push eax
call fcn.1001f300
jmp case.0x10002bcc.1
call fcn.10001c90
test al, al
je 0x10002c24
jmp case.0x10002bcc.1
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xb2]
mov byte [ebp - 0xb1], al
jmp case.0x10002bcc.1
je case.0x10002bcc.200
jmp case.0x10002bcc.1
mov al, byte [ebp - 0xb1]
jmp 0x10002ff9
push ebx
push esi
mov ebx, eax
mov eax, dword [0x10098ca0]
cmp byte [eax + 0xd], 0
jmp case.0x10002bcc.1
push eax
call dword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
jmp case.0x10002bcc.150
mov eax, dword [0x100988e0]
mov eax, dword [eax]
cmp dword [eax + 0x38], 0
jmp case.0x10002bcc.1
mov eax, dword [0x10098a70]
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
je case.0x10002d71.10
push 1
mov eax, dword [0x10098890]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
jmp case.0x10002bcc.1
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x10002cdd
mov byte [ebp - 0xb1], 0
mov al, byte [ebp - 0xb1]
jmp 0x10002ff9
mov dword [ebp - 0xb0], 0x1c
jmp case.0x10002bcc.1
mov eax, ebx
jmp case.0x10002bcc.1
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x10002f33
mov dword [ebp - 0xcc], 0x4c53
jmp 0x10002d2a
mov ecx, dword [ebp - 0xcc]
add ecx, 2
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xcc], 0x4c65
ja 0x10002f33
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
sub eax, 0x4c53
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x12
ja case.0x10002d71.1
mov ecx, dword [ebp - 0xd0]
movzx edx, byte [ecx + 0x10003164]
jmp dword [edx*4 + 0x10003138]
lea eax, [ebp - 0x24]
add eax, 0xfffffffe
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dx, word [ecx + 2]
mov word [ebp - 0xda], dx
add dword [ebp - 0xd4], 2
cmp word [ebp - 0xda], 0
jne 0x10002d84
mov edi, dword [ebp - 0xd4]
mov eax, dword [0x1008dd60]
mov dword [edi], eax
mov ecx, dword [0x1008dd64]
mov dword [edi + 4], ecx
mov edx, dword [0x1008dd68]
mov dword [ebp - 0x1e], edx
mov eax, dword [0x1008dd6c]
mov dword [ebp - 0x1a], eax
jmp case.0x10002d71.1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xf4], ecx
push 0x70
push 0
lea edx, [ebp - 0x94]
push edx
call fcn.1006cf60
add esp, 0xc
jmp case.0x10002d71.1
push 0x1008dd70
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 0xb9], 1
mov cl, byte [ebp - 0xb9]
mov byte [ebp - 0xb3], cl
jmp case.0x10002d71.1
push 8
push 0x1008dd74
lea edx, [ebp - 0x18]
push edx
call fcn.10069cf0
add esp, 0xc
push 0xa
push 0x1008dd7c
lea eax, [ebp - 0x12]
push eax
call fcn.10069cf0
add esp, 0xc
mov ecx, dword [0x1008dd88]
mov dword [ebp - 0xa], ecx
jmp case.0x10002d71.1
mov dword [ebp - 0xec], 0x70
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf8], edx
jmp case.0x10002d71.1
mov dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xd8], eax
jmp case.0x10002d71.1
xor ecx, ecx
cmp dword [ebp - 0xf4], 0x12
sete cl
mov byte [ebp - 0xb1], cl
mov al, byte [ebp - 0xb1]
jmp 0x10002ff9
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x10002edf
mov byte [ebp - 0xb3], 0
jmp case.0x10002d71.1
xor ecx, ecx
mov word [ebp - 0x24], cx
jmp case.0x10002d71.1
movzx edx, byte [ebp - 0xb3]
test edx, edx
je case.0x10002d71.1
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
lea eax, [ebp - 0x94]
push eax
push 0
push 9
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
jmp 0x10002d1b
mov byte [ebp - 0xba], 1
mov al, byte [ebp - 0xba]
mov byte [ebp - 0xb2], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ecx]
je 0x10002f55
jmp 0x10002fab
mov eax, dword [ebp - 0xa8]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x10002f7a
jmp 0x10002fab
movzx ebx, byte [ebp - 0xb2]
mov ecx, dword [ebp - 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
cmp eax, 0xffffffff
setne dl
and ebx, edx
mov byte [ebp - 0xb2], bl
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10002f46
jmp case.0x10002bcc.1
je case.0x10002d71.12
push 1
mov eax, dword [0x10098e14]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
call fcn.1002eaa0
jmp case.0x10002bcc.1
pop esi
pop ebx
ret
mov eax, ebx
mov si, 0xffc2
call fcn.10034220
jmp 0x10002b51
mov al, byte [ebp - 0xb1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100685c5
mov esp, ebp
pop ebp
ret