joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013c7d
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
mov esi, edi
call fcn.10013cde
push dword [ebp - 4]
push edi
push 4
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
mov dword [ebx], eax
test eax, eax
je 0x1002384d
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
je 0x1002382c
cmp dword [ebx + 4], edi
je 0x1002386b
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10023841
movzx esi, si
or esi, 0x80070000
mov ecx, ebx
call fcn.1001b580
jmp 0x10013cc5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10013cc5
movzx esi, si
or esi, 0x80070000
jmp 0x10013cc5
mov edi, 0x80004005
test esi, esi
jns 0x10013cce
mov edi, esi
jmp 0x10013cce

Function at 0x10013e89
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x100620b8]
push esi
xor esi, esi
test eax, eax
jne 0x10013ea9
push esi
push esi
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov dword [0x100620b8], eax
test eax, eax
je 0x10013efb
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lock inc dword [0x10061e7c]
push 0x100620c0
push esi
push 0x100620ac
push 0x10011e90
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [0x100620bc], eax
test eax, eax
je 0x10013ee9
push 0xffffffffffffffff
push dword [0x100620b8]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
push dword [0x100620b8]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [0x100620b8], esi
pop esi
ret
Function at 0x10014e60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10061340]
push ebx
mov bl, cl
cmp eax, 0xffffffff
je 0x10014e8f
push esi
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x10014e89
test bl, bl
jne 0x10023e85
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc
call fcn.1001b614
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x10023ea3
push edi
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
jmp 0x10023ea5
xor esi, esi
push esi
push dword [0x10061340]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, esi
jmp 0x10014e89

Function at 0x10014ea0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10061340]
cmp eax, 0xffffffff
je 0x10014eb9
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test eax, eax
jne 0x10023eb9
ret
push eax
call fcn.1001b63d
add esp, 4
push 0
push dword [0x10061340]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
ret
Function at 0x10015b69
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
mov dword [ebp - 8], esi
push edi
mov dword [ebp - 0x10], ebx
mov ecx, ebx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
movzx eax, word [eax + 4]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x100240a6
mov eax, ebx
mov edi, ebx
test eax, eax
jne 0x100240d1
mov esi, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [ebp - 8]
movzx esi, word [esi + 6]
mov eax, dword [eax + 0x1c]
test esi, esi
jne 0x100241b9
mov eax, edi
mov dword [edx + 0x10], ebx
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, edi
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
cmp dword [eax], edx
mov edx, dword [ebp - 4]
jne 0x100240fd
cmp dword [ebp + 0xc], ebx
je 0x100240e2
cmp dword [esi + 0x20], ebx
je 0x100240e2
test byte [eax + 4], 1
jne 0x100240fd
imul esi, ecx, 0xc
lea edi, [ebp - 0x24]
add esi, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp + 0xc], ebx
je 0x10024115
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], ebx
je 0x10024115
push 0xc
jmp 0x10024117
test byte [eax + 4], 1
lea edi, [ebp - 0x24]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x1002410d
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
inc ecx
add eax, 0xc
cmp ecx, edi
jb 0x100240ab
mov eax, dword [ebp - 0x10]
jmp 0x10015ba0
xor eax, eax
inc eax
jmp 0x10015ba0
push 8
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
pop eax
mov eax, dword [eax + ecx]
test al, 4
je 0x1002412e
and esi, 0xffffcfff
mov dword [ebp - 0x20], esi
test al, 2
je 0x1002413b
and esi, 0xfffff3ff
mov dword [ebp - 0x20], esi
test al, 1
je 0x10024148
and esi, 0xfffffcff
mov dword [ebp - 0x20], esi
test al, 8
je 0x10024158
and esi, 0xc0ffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x24]
mov edi, ebx
call fcn.1002e301
mov edx, dword [ebp - 4]
test eax, eax
je 0x10015baa
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, esi
shr eax, 0x1e
mov dword [edx + 8], eax
mov eax, esi
shr eax, 0x18
and al, 0x3f
mov byte [edx + 4], al
mov eax, esi
shr eax, 1
and eax, 1
mov dword [edx + 0x14], eax
mov eax, esi
shr eax, 0xc
and eax, 3
jne 0x100241af
mov eax, esi
shr eax, 0xa
and eax, 3
jne 0x100241af
shr esi, 8
and esi, 3
je 0x100241b1
mov dword [edx], esi
jmp 0x100241b1
mov dword [edx], eax
xor edi, edi
inc edi
jmp 0x10015baa
mov edx, dword [ebp + 8]
cmp dword [eax], edx
mov edx, dword [ebp - 4]
je 0x100241d0
inc ecx
add eax, 0x10
cmp ecx, esi
jb 0x100241b9
jmp 0x10015bc1
xor ebx, ebx
inc ebx
jmp 0x10015bc1
Function at 0x1001680a
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x10061338]
xor eax, esp
mov dword [esp + 0x88], eax
cmp byte [0x100625b7], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x10016879
push 0x30
pop esi
push esi
xor ebx, ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
cmp dword [esp + 0x24], ebx
je 0x10016879
push ebx
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
cmp eax, esi
je 0x100242c9
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001bb80
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x100242d6
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
push 0x48
lea eax, [esp + 0x4c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x14], ebx
xor eax, eax
lea ecx, [esp + 0x48]
mov word [esp + 0x10], ax
mov word [esp + 0xc], ax
call fcn.10029186
test eax, eax
js 0x1002431a
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x50]
call fcn.1002979a
push dword [esp + 0xc]
lea edx, [esp + 0x4c]
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1005c7a7
jmp 0x10016879
Function at 0x100181b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10061338]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x10062010]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x100181f0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1001bb80
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x30], 0
je 0x10024a21
call fcn.100182d4
test al, al
jne 0x10024a32
mov eax, dword [0x1000e270]
mov dword [esp + 0x14], eax
mov eax, dword [0x1000e274]
mov dword [esp + 0x18], eax
mov eax, dword [0x1000e278]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1000e27c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0x100082c0
push 1
push 0
push 0x1000862c
mov dword [esp + 0x38], 0x100082d0
mov dword [esp + 0x3c], 2
mov dword [esp + 0x20], 0
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x100182c3
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov esi, dword [ecx]
push ecx
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x10063524]
call esi
test eax, eax
js 0x100182c3
mov ecx, dword [esp + 0x10]
mov dword [0x10062010], ecx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100182cb
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10063524]
call esi
mov eax, dword [0x10062010]
mov ecx, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001bb80
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x10062010]
jmp 0x1001828e
mov dword [edi], ecx
mov eax, ebx
jmp 0x100181dc
invalid

Function at 0x1001852b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x1000837c
push 0x80000002
mov dword [ebp - 8], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018593
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x10008354
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10018593
cmp dword [ebp - 8], ebx
setne bl
mov al, bl
pop ebx
leave
ret
Function at 0x100185a0
Capabilities:
Contain obfuscated stackstrings
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [0x100619c4], 2
jne 0x1001860e
cmp byte [0x10062008], 0
jne 0x10018614
mov eax, dword [0x1006246c]
test eax, eax
je 0x10024a49
cmp dword [eax + 0x2c], 0
je 0x10018614
mov cl, 1
cmp byte [0x10062009], 0
jne 0x10024a65
test cl, cl
je 0x100185f5
mov edx, dword [ebp + 0x10]
xor cl, cl
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.10018630
mov eax, dword [0x10061340]
cmp eax, 0xffffffff
je 0x1001860e
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test eax, eax
jne 0x10024a79
mov esp, ebp
pop ebp
ret 0x1c
xor cl, cl
jmp 0x100185cf
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
ja 0x10024a2d
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.1002459f
cmc
and al, 0xbc
xchg ebx, eax
lea eax, [ebp - 0x84]
push eax
call fcn.100245af
push eax
push esi
push dword [ebp + 8]
call fcn.10024564
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x10024d98
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10024510
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x10024b0f
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10024510
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10024adc
call fcn.1002459f
push ebp
or eax, 0x7e8b62c1
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
Function at 0x100196b8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [0x10062018]
push ebx
xor ebx, ebx
push esi
inc ebx
push edi
mov edi, ecx
cmp eax, ebx
jne 0x100196e0
mov eax, dword [0x10062020]
xor esi, esi
cmp dword [eax], esi
jne 0x10024abd
mov dword [edi], esi
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x100623b8], ebx
jne 0x1001972a
mov esi, dword [0x10061fc4]
test esi, esi
jne 0x10024aad
test eax, eax
jne 0x10024a9e
cmp dword [0x10061fb4], 5
jb 0x10024a94
mov eax, dword fs:[0x30]
mov ecx, 0x10062018
mov eax, dword [eax + 0xa0]
add eax, 0xc
mov dword [0x10062020], eax
mov eax, ebx
xchg dword [ecx], eax
jmp 0x100196c9
push ebx
jmp 0x10024aa0
les edx, [eax]
xlatb
add al, byte [eax]
add bh, bh
mov ch, 0x4c
Function at 0x1001ab90
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10061338]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x20c]
mov eax, edx
push esi
mov esi, 0x104
sub ecx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x1001abe6
movzx eax, word [ecx + edx]
test ax, ax
je 0x1001abe6
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x1001abc6
jmp 0x1001abea
test esi, esi
jne 0x1001abed
sub edx, 2
xor eax, eax
mov ecx, 0x104
mov word [edx], ax
lea eax, [ebp - 0x20c]
lea ecx, [ecx]
cmp word [eax], 0
je 0x1001ac0e
add eax, 2
sub ecx, 1
jne 0x1001ac00
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x1001ac68
lea eax, [ebp - 0x20c]
lea eax, [eax + esi*2]
push edi
sub edx, esi
je 0x1001ac5f
mov edi, 0x10008994
mov ecx, 0x7ffffffe
sub edi, eax
lea ecx, [ecx]
test ecx, ecx
je 0x1001ac5b
movzx esi, word [edi + eax]
test si, si
je 0x1001ac5b
mov word [eax], si
dec ecx
add eax, 2
sub edx, 1
jne 0x1001ac40
jmp 0x1001ac5f
test edx, edx
jne 0x1001ac62
sub eax, 2
xor ecx, ecx
mov word [eax], cx
pop edi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
call fcn.1001d3e6
test al, al
jne 0x1001acb0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x1001acea
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.1002ceb5
mov esi, eax
jmp 0x1001acec
lea edx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
mov ecx, esi
call fcn.1001ad10
mov esi, eax
test esi, esi
jns 0x1001acde
push esi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.1002ceca
jmp 0x1001acec
mov eax, dword [ebp - 0x210]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor esi, esi
lea ecx, [ebp - 0x214]
call fcn.1001d13e
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001bb80
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ad10
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov esi, ecx
mov edi, edx
push 0
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10024ad8
test eax, eax
jne 0x10024aeb
mov dword [ebp - 4], 0
test eax, eax
jne 0x10024b13
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
test eax, eax
je 0x10024b00
inc dword [ebp - 4]
push 0
push 1
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSemaphore]
test eax, eax
jne 0x1001ad88
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12a
jne 0x1001ad88
mov eax, dword [ebp - 4]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0xa3
jmp fcn.10024b9c
adc byte [eax], al
add bh, bh
jne 0x10024abc
test bh, dl
pop ebp
or al, 0x76
xor ecx, dword [edi]
mov bh, 0x45
or al, 0x8b
dec ebp
mov esp, 0xff80048d
je 0x10024aaa
adc byte [ebp + 0x488bc104], cl
adc al, 0x8b
inc eax
or al, 3
dec ebp
adc byte [ebx], al
invalid
add al, 0xc1
les ecx, [edi + edi*8]
inc ebp
or al, 0x66
mov eax, dword [ebp + 0xc]
call dword [ebp + 0xd]
shl dword [edx - 0x75], 0x7e
Function at 0x1001b3a0
Capabilities:
Set global application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x10061fec], 0
jne 0x1001b42a
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp byte [ebp + 0xc], 0
push 0
push dword [0x100619d8]
mov dword [0x10061fec], eax
je 0x1001b3e2
push sym.tiptsf.dll_RestrictedModeMsgWndProc
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10061fdc], eax
mov eax, 1
pop ebp
ret 8
push 0x1001b450
push 0xa
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0x100619d8]
mov dword [0x10061fe8], eax
push 0x10016930
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0x100619d8]
mov dword [0x10061fe4], eax
push 0x10018010
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10061fe0], eax
jmp 0x1001b3d9
xor eax, eax
jmp 0x1001b3de

Function at 0x1001c170
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001c1ae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1001c1a6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1001c1b0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1001c196
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001c280
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1001c2b1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1001c2b1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1001c2b1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001eca2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1001ed51
call fcn.10014aa0
mov ecx, dword [0x100619c4]
cmp ecx, 2
je 0x1001ecd0
xor eax, eax
cmp ecx, 1
sete al
jmp 0x1001edcb
push 0x10062028
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
push ecx
push ecx
call fcn.1001edcf
call fcn.10015f00
sub esp, 0xc
call fcn.10014fd0
mov eax, dword [ebp + 8]
push 0x10008a18
mov dword [0x100619d8], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008d10
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008c44
mov dword [0x100619d0], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008cd8
mov dword [0x100619d4], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008a54
mov dword [0x100619cc], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x100619c8], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov dword [0x10061340], eax
mov cl, 1
jmp 0x1001ed58
cmp eax, 2
jne 0x1001ed5f
xor cl, cl
call fcn.100147a0
jmp 0x1001edc8
cmp eax, 3
jne 0x1001ed77
call fcn.10014e50
xor cl, cl
call fcn.100150e0
call fcn.10014ea0
jmp 0x1001edc8
test eax, eax
jne 0x1001edc8
mov ecx, dword [0x100619c4]
cmp ecx, 2
jne 0x1001ecc3
mov cl, 1
call fcn.100150e0
call fcn.10014e50
call fcn.10014ea0
mov eax, dword [0x10061340]
cmp eax, 0xffffffff
je 0x1001edb3
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsFree]
or dword [0x10061340], 0xffffffff
call fcn.1001edfa
push 0x10062028
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
call fcn.10015030
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x100245df
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1002461a

Function at 0x10024ec1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
or al, dh
test dword [eax - 4], ecx
invalid
inc dword [ebx]
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
invalid
invalid
dec esp
cld

Function at 0x10025167
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebx - 0x51c7a3a]
invalid
lcall 0xffff, 0xfae485c6
lodsb al, byte [esi]
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.100245af
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10024564
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.1002459f
jecxz 0x1002515f
xchg ecx, eax
dec esp
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
invalid
invalid
Function at 0x1002527e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xfffffc
je 0x1002545d
cmp dword [ebp + 0xc], 1
je 0x1002545d
cmp dword [ebp + 0xc], 8
jne 0x10025425
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
invalid
test dword [ecx - 7], ebx
invalid
invalid

Function at 0x100254bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [eax]
mov al, byte [0x2ff845c6]
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
inc dword [esi]
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100245af
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
invalid
invalid

Function at 0x100259fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cwde
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
invalid
test esp, esp