joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1001c0b4
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x1001c0d1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1001c0c0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1001c10a
cmp eax, edi
jne 0x1001c102
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001c112
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001c112
cmp eax, edi
jne 0x1001c112
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.1001c340
push 0x50
push edi
call fcn.1003171c
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001cde0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
jb 0x1001ce01
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x1001ce21
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1001ce10
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edi, dword [ebx + 4]
mov dword [ebp - 4], edi
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, edi
jne 0x1001ce4b
mov eax, edi
jmp 0x1001ce4f
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1001cec4
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x1001ce63
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x1001ce6e
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0xc]
jne 0x1001cea5
test ecx, ecx
je 0x1001ceaf
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x1001ce9f
sub ebx, eax
cmp dx, di
ja 0x1001ce9f
cmp ecx, 1
je 0x1001ceac
movzx edx, word [ebx + eax + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x1001ce87
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x1001ce43
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1001c3f0
test al, al
cmove edi, esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10020930
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x1002094f
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10020971
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10020960
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov edi, dword [ebx + 4]
mov dword [ebp - 4], edi
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x14], eax
cmp edx, edi
jne 0x1002099e
mov eax, edi
jmp 0x100209a2
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10020a1d
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x100209b6
mov eax, dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebx + 0x10]
jb 0x100209c1
mov ebx, dword [ebx]
cmp ecx, dword [ebp - 0x10]
jne 0x100209f8
test ecx, ecx
je 0x10020a02
movzx edx, word [ebx]
movzx edi, word [eax]
cmp dx, di
jb 0x100209f2
sub ebx, eax
cmp dx, di
ja 0x100209f2
cmp ecx, 1
je 0x100209ff
movzx edx, word [eax + ebx + 2]
add eax, 2
dec ecx
movzx edi, word [eax]
cmp dx, di
jae 0x100209da
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
jmp 0x10020996
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.1001c3f0
test al, al
mov ecx, edi
cmove ecx, esi
mov eax, ecx
jmp 0x10020a24
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov eax, edi
cmp eax, edi
jne 0x10020a84
mov esi, dword [edi]
lea eax, [ebp + 0xf]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov edi, dword [esi + 4]
push eax
push 0x101364c4
push edi
push esi
lea ecx, [ebx + 4]
call fcn.100208e0
mov edx, eax
mov ecx, 0x3333332
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10020a96
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.1001be10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.1002c369
int3
Function at 0x10026d00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10176120]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
jb 0x10026d59
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10026d78
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10026d67
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
and ecx, edx
mov esi, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp esi, eax
je 0x10026e56
mov esi, dword [ecx + 4]
mov esi, dword [esi]
jmp 0x10026da0
mov ebx, dword [ebp - 0x1c]
cmp esi, eax
je 0x10026e56
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x10026db9
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 8
mov edx, ebx
mov dword [ebp - 0x18], ebx
jb 0x10026dc9
mov edx, dword [ebx]
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0x10], edi
jne 0x10026da0
mov edi, dword [ebp - 0x24]
mov ebx, edi
test edi, edi
je 0x10026e04
movzx edx, word [edx]
movzx edi, word [ecx]
cmp dx, di
jb 0x10026d9d
sub dword [ebp - 0x18], ecx
cmp dx, di
ja 0x10026d9d
cmp ebx, 1
je 0x10026e04
mov edx, dword [ebp - 0x18]
add ecx, 2
dec ebx
movzx edx, word [ecx + edx]
movzx edi, word [ecx]
cmp dx, di
jae 0x10026de8
jmp 0x10026d9d
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.10027a90
push 0x38
push edi
call fcn.1003171c
mov eax, dword [ebp - 0x28]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031a8d
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10026e83
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
push esi
push edi
call fcn.1002bae0
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1002b960
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x10026e38
Function at 0x10027420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x10027444
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x10027461
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10027450
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1002749a
cmp eax, edi
jne 0x10027492
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x100274a2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x100274a2
cmp eax, edi
jne 0x100274a2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.10027a90
push 0x38
push edi
call fcn.1003171c
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002bc50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10176120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebx + 8]
push esi
push edi
mov edi, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x1002bc7d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x1002bc99
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1002bc88
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], ebx
jne 0x1002bcd2
cmp eax, ebx
jne 0x1002bcca
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x1002bcda
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x1002bcda
cmp eax, ebx
jne 0x1002bcdd
mov eax, dword [ebx]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [edx + 4]
mov edi, dword [ebx]
push ebx
mov dword [eax], edi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.1002ba70
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.10031a8d
mov esp, ebp
pop ebp
ret 8
Function at 0x1002c040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 8], ebx
jb 0x1002c05f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1002c081
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002c070
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x1002c0ab
mov eax, ebx
jmp 0x1002c0af
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x1002c154
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov edx, edi
jb 0x1002c0c4
mov edx, dword [edi]
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x1002c0cf
mov eax, dword [eax]
cmp edi, dword [ebp - 8]
jne 0x1002c130
sub edi, 4
jb 0x1002c0f1
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1002c0f6
add eax, 4
add edx, 4
sub edi, 4
jae 0x1002c0e0
cmp edi, 0xfffffffc
je 0x1002c12a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1002c123
cmp edi, 0xfffffffd
je 0x1002c12a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1002c123
cmp edi, 0xfffffffe
je 0x1002c12a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x1002c123
cmp edi, 0xffffffff
je 0x1002c12a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x1002c12a
sbb eax, eax
or eax, 1
jmp 0x1002c12c
xor eax, eax
test eax, eax
je 0x1002c140
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x1002c0a3
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.10027d00
test al, al
cmove ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10032b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b68a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10176120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.100086e0
mov ecx, eax
test ecx, ecx
je 0x10032d44
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.100086e0
mov ecx, eax
test ecx, ecx
je 0x10032d4e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.100086e0
mov ecx, eax
test ecx, ecx
je 0x10032d58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x10032c62
xor ecx, ecx
jmp 0x10032c80
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032c70
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10008ee0
push edi
mov ecx, ebx
call fcn.1000dc90
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10032c9c
xor ecx, ecx
jmp 0x10032cb4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032ca4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10008ee0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.100336a0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.1000dc90
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032cf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x10032d2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10032d2e
cmp dword [esi + 0x10], 0
je 0x10032d25
push dword [edi]
call fcn.100eb163
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10008440
push 0x80004005
call fcn.10008440
push 0x80004005
call fcn.10008440
int3
Function at 0x10033440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b778
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10176120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x10033614
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10033495
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x10033614
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100334b3
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x10033614
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100334d1
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x10033614
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x100334ef
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x10033614
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10033614
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10033514
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x2c]
mov dword [edi + 0x1c], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x10033547
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x1003355f
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x1003359d
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10005ec0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.100d99a0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x1013a8ac
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10033e20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100335cb
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x10033604
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10033604
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.1001d660
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.10005ca0
lea ecx, [ebp - 0x28]
call fcn.10005ca0
lea ecx, [ebp - 0x34]
call fcn.10032e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031a8d
mov esp, ebp
pop ebp
ret 4
Function at 0x10033a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b837
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10176120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10033a5a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033a66
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.10005f30
cmp dword [edi + 0x28], 0
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
jne 0x10033ad3
push 0x48
call fcn.100316ec
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x10033ac7
push 0x48
push 0
push ebx
call fcn.100da4a0
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.10032b80
jmp 0x10033ac9
xor eax, eax
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], eax
mov ecx, ebx
mov dword [ebp - 0x14], 7
sete al
lea edx, [ecx + 2]
lea eax, [eax*2 + 1]
mov dword [edi + 0x1c], eax
xor eax, eax
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033b00
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.10005f30
push 3
push 0x1013a8ac
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100205e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10033b4f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x10033b9e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10033b9e
push 0x10
xor eax, eax
mov dword [ebp - 0x40], 0
push str._______log_start
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.10005f30
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x50]
call fcn.10005ca0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10033bd4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10033bca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033c11
push edx
push ecx
call fcn.1003171c
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test esi, esi
je 0x10033bf3
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031a8d
mov esp, ebp
pop ebp
ret 0x14
call fcn.100ddb23
int3
Function at 0x100477e0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x10047805
or esi, 1
push 1
call edi
test ax, ax
jns 0x10047811
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1004781d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x10047829
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret