joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560670
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b53ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e9ef6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00467cf0
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.00457cf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x458310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b53ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e9ef6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00467cf0
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4598e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x459911
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x459900
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x45c6a0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x45c8bd
cmp eax, 0x7c
je 0x45c8bd
cmp eax, 0x29
jne 0x45c6e1
cmp dword [esi + 0x10], 0
jne 0x45c8bd
cmp eax, eax
jne 0x45c6e1
test dword [esi + 0x50], 0x10000000
je 0x45c8ca
jmp 0x45c876
cmp eax, 0x2e
jne 0x45c6f2
push 5
lea ecx, [esi + 0x24]
call fcn.0045c920
jmp 0x45c76e
cmp eax, 0x5c
jne 0x45c751
mov ecx, esi
call fcn.0045c650
test byte [esi + 0x50], 0x80
je 0x45c745
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x45c723
push 4
lea ecx, [esi + 0x24]
call fcn.0045c920
mov ecx, esi
call fcn.0045c650
jmp 0x45c8af
cmp eax, 0x42
jne 0x45c745
push 4
lea ecx, [esi + 0x24]
call fcn.0045c920
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0045c650
jmp 0x45c8af
mov ecx, esi
call fcn.0045dd90
jmp 0x45c8a8
cmp eax, 0x5b
jne 0x45c7be
mov ecx, esi
call fcn.0045c650
mov ecx, esi
call fcn.0045dca0
cmp dword [esi + 0x4c], 0x5d
jne 0x45c8d8
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x45c7b2
cmp word [eax], 0x5c
jne 0x45c7ad
lea ecx, [eax + 2]
cmp ecx, edx
je 0x45c7ad
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x45c799
movzx edi, word [ecx]
cmp edi, 0x28
je 0x45c7ab
cmp edi, 0x29
je 0x45c7ab
test dl, 0x10
jne 0x45c7ad
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x45c7ab
cmp edx, 0x7d
jne 0x45c7ad
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0045b510
jmp 0x45c8a8
cmp eax, 0x28
jne 0x45c832
mov ecx, esi
call fcn.0045c650
mov ecx, esi
call fcn.0045df30
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x45c8ca
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x45c821
cmp word [eax], 0x5c
jne 0x45c81c
lea ecx, [eax + 2]
cmp ecx, edx
je 0x45c81c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x45c808
movzx edi, word [ecx]
cmp edi, 0x28
je 0x45c81a
cmp edi, 0x29
je 0x45c81a
test dl, 0x10
jne 0x45c81c
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x45c81a
cmp edx, 0x7d
jne 0x45c81c
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0045b510
test bl, bl
je 0x45c8af
jmp 0x45c8a8
cmp eax, 0x5e
jne 0x45c84a
push 2
lea ecx, [esi + 0x24]
call fcn.0045c920
mov ecx, esi
call fcn.0045c650
jmp 0x45c8af
cmp eax, 0x24
jne 0x45c862
push 3
lea ecx, [esi + 0x24]
call fcn.0045c920
mov ecx, esi
call fcn.0045c650
jmp 0x45c8af
cmp eax, 0x2a
je 0x45c8c3
cmp eax, 0x2b
je 0x45c8c3
cmp eax, 0x3f
je 0x45c8c3
cmp eax, 0x7b
je 0x45c8c3
cmp eax, 0x7d
jne 0x45c886
test dword [esi + 0x50], 0x10000000
je 0x45c8d1
jmp 0x45c894
cmp eax, 0x5d
jne 0x45c894
test dword [esi + 0x50], 0x10000000
je 0x45c8d8
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0045e1f0
mov ecx, esi
call fcn.0045c650
mov ecx, esi
call fcn.0045e040
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x45c6b3
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.0045b500
push 5
call fcn.0045b500
push 6
call fcn.0045b500
push 4
call fcn.0045b500
int3
Function at 0x461d50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b53ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call fcn.00469521
mov eax, dword [esi + 8]
add esp, 4
or eax, dword [esi + 0xc]
je 0x461dab
push 1
push dword [esi + 0x18]
push str.NT_Kernel_Logger
push dword [esi + 0x14]
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_ControlTraceW]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edx, dword [esi + 0x10]
mov eax, edx
mov ecx, dword [esi + 0x14]
or eax, ecx
je 0x461dcd
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CloseTrace]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [esi + 0x1c8]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x461df6
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push esi
call fcn.0046953d
mov edi, dword [esi + 0x1c0]
add esp, 4
mov dword [esi + 0x1c0], 0
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x461e2b
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x463650
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4
Function at 0x463ea0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5b53ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx eax, byte [edx]
mov edi, ecx
xor eax, 0x811c9dc5
mov ebx, dword [ebp + 8]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
mov esi, dword [edi + 0x18]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edx
xor ecx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 4]
and esi, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], esi
lea esi, [eax + esi*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x463f11
mov esi, ecx
jmp 0x463f16
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x463f2f
mov ecx, dword [edx]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x463f91
cmp esi, eax
jne 0x463f20
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x14], ecx
call fcn.00435550
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [edx]
mov dword [eax + 8], ecx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
movups xmm0, xmmword [edx + 4]
movups xmmword [eax + 0xc], xmm0
movq xmm0, qword [edx + 0x14]
movq qword [eax + 0x1c], xmm0
xor eax, eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], ax
mov eax, 0x71c71c6
mov ecx, dword [edi + 8]
sub eax, ecx
cmp eax, 1
jb 0x46400c
jmp 0x463f99
mov dword [ebx], esi
mov byte [ebx + 4], 0
jmp 0x463ff7
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x463fdc
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 ebx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push esi
push edi
call fcn.004385a0
mov ecx, dword [ebp - 0x20]
call fcn.00438500
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e9cdc
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0046817f
int3
Function at 0x46cf10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564d7a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b53ec]
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.00414330
mov ecx, eax
test ecx, ecx
je 0x46d0d4
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.00414330
mov ecx, eax
test ecx, ecx
je 0x46d0de
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00414330
mov ecx, eax
test ecx, ecx
je 0x46d0e8
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 0x46cff2
xor ecx, ecx
jmp 0x46d010
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 0x46d000
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004280e0
push edi
mov ecx, ebx
call fcn.00427e20
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x46d02c
xor ecx, ecx
jmp 0x46d044
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d034
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.004280e0
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0046daa0
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00427e20
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 0x46d085
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 0x46d0be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x46d0be
cmp dword [esi + 0x10], 0
je 0x46d0b5
push dword [edi]
call fcn.00537b14
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.00413530
push 0x80004005
call fcn.00413530
push 0x80004005
call fcn.00413530
int3
Function at 0x46d8a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564e98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5b53ec]
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 0x46da74
push str.__set_log_lev0
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46d8f5
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
jmp 0x46da74
push str.__set_log_lev1
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46d913
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
jmp 0x46da74
push str.__set_log_lev2
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46d931
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
jmp 0x46da74
push str.__set_log_lev3
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46d94f
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x46da74
push str.__reload_log_switch
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x46da74
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x46d974
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 0x46d9a7
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp ecx, 8
jae 0x46d9bf
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x46d9fd
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.0042a6f0
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.00526780
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
push 0x5726b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0043bfe0
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 0x46da2b
mov dword [edi + 0x1c], 0
cmp dword [edi + 0x28], 0
je 0x46da64
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x46da64
push str._______log_reload_switch
lea ecx, [ebp - 0x4c]
call fcn.00428550
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.00414120
lea ecx, [ebp - 0x28]
call fcn.00414120
lea ecx, [ebp - 0x34]
call fcn.0046d1a0
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.004e9cdc
mov esp, ebp
pop ebp
ret 4
Function at 0x46de10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564f57
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5b53ec]
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 0x46de5a
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 0x46de66
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x2c]
call fcn.0042a390
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 0x46ded3
push 0x48
call fcn.004e9ef6
mov ebx, eax
add esp, 4
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x46dec7
push 0x48
push 0
push ebx
call fcn.00526d00
add esp, 0xc
mov ecx, ebx
push dword [ebp + 0x14]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call fcn.0046cf10
jmp 0x46dec9
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 0x46df00
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042a390
push 3
push 0x5726b4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0043c010
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 0x46df4f
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
cmp dword [edi + 0x28], 0
je 0x46df9e
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
call eax
test al, al
je 0x46df9e
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.0042a390
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.00414120
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x46dfd4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46dfca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e011
push edx
push ecx
call fcn.004ea2a1
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 0x46dff3
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.004e9cdc
mov esp, ebp
pop ebp
ret 0x14
call fcn.0052e99b
int3
Function at 0x473a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x473ad5
cmp byte [ebp + 8], 0
je 0x473ac9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x482420
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 0x482445
or esi, 1
push 1
call edi
test ax, ax
jns 0x482451
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x48245d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x482469
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x485420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0xe0]
call fcn.00473320
mov edi, dword [ebp + 8]
test eax, eax
jle 0x48547b
nop
push esi
lea ecx, [ebx + 0xe0]
mov byte [ebp + 0xb], 0
call fcn.0048f150
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4855ac
lea ecx, [ebx + 0xe0]
inc esi
call fcn.00473320
cmp esi, eax
jl 0x485440
sub edi, 0x100
je 0x485541
sub edi, 4
je 0x4854e2
sub edi, 2
jne 0x485536
push dword [ebp + 0xc]
mov dword [ebp + 8], edi
call fcn.0052f871
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x487340
call dword [eax + 0x14c]
mov esi, eax
test esi, esi
je 0x485536
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x13c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x5c], 0
je 0x485536
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x74]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.00482420
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x485536
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x485593
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
call eax
test al, al
je 0x485593
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x11c]
call eax
test al, al
je 0x485593
mov ecx, dword [ebx + 0x5c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.00525fda
add esp, 8
test eax, eax
je 0x485593
mov ecx, dword [ebx + 0x5c]
call fcn.004a42f0
test al, al
jne 0x485536
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.00486a30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10