joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a934
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp + 0x14], ecx
test al, 1
je 0x43a951
lea edi, [ecx + 1]
jmp 0x43a95a
test al, 2
je 0x43a95a
mov edi, 2
xor bl, bl
test al, 4
je 0x43a999
lea eax, [ebp + 0x1c]
push eax
push 0xa
mov dword [ebp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [ebp + 0x1c]
push 1
push ecx
lea edx, [ebp + 0x14]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x43a9ce
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
or esi, 0x400
push esi
push edx
mov edx, dword [ebp + 8]
push 0
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43a9dc
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x444ae4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x194]
mov eax, dword [ebx + 4]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp + 0xc], eax
cmp ecx, dword [ebp + 0x10]
je 0x444b9e
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x444b95
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x444b8c
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 4], ecx
jne 0x444b8c
cmp byte [eax + 0x88], 0xb
je 0x444b8c
mov cl, byte [eax + 0x8b]
movzx edx, cl
cmp edx, dword [ebx + 0x194]
je 0x444b5c
cmp byte [ebx + 0x19c], 0
je 0x444b8c
cmp cl, 0xff
je 0x444b8c
cmp byte [eax + 0x88], 0xa
je 0x444b8c
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
test byte [eax + 0x8a], 0x40
je 0x444b8c
cmp byte [eax + 0x88], 0x1a
jne 0x444b8c
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x444b16
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x194], ecx
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x444c3a
jmp 0x444bb4
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x444c2d
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 4], ecx
jne 0x444c2d
cmp byte [eax + 0x88], 0xb
je 0x444c2d
movzx edx, byte [eax + 0x8b]
cmp edx, dword [ebx + 0x194]
jne 0x444c2d
test byte [eax + 0x8a], 0x20
jne 0x444c2d
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
mov ecx, dword [eax]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
test byte [eax + 0x8a], 0x40
je 0x444c2d
cmp byte [eax + 0x88], 0x1a
jne 0x444c2d
mov ecx, dword [eax]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x444bb4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x18c]
push 0
push edx
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44523c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
je 0x4453b7
push eax
push 0x4b86a0
call fcn.00434ea7
mov dword [0x4b870c], eax
jmp 0x4453bc
mov ecx, dword [0x4b8700]
mov edx, dword [ecx + eax*4]
push esi
mov esi, dword [edx]
cmp byte [esi + 0x3a], 0
push edi
mov edi, dword [esi]
je 0x4452a7
cmp dword [esi + 0x190], 0
mov byte [esi + 0x3a], 0
jl 0x4452a7
cmp byte [esi + 0x19c], 0
je 0x4452a7
mov eax, dword [esi + 0x198]
push eax
push esi
push 0x4b86a0
call fcn.00444ae4
mov byte [esi + 0x19c], 0
cmp ebx, 0x43
ja case.0x4452b7.7
movzx ecx, byte [ebx + 0x4453f4]
jmp dword [ecx*4 + 0x4453cc]
cmp byte [esi + 0x38], 0
je 0x445348
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call fcn.00438224
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x38], 0
jne 0x445348
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x445300
cmp ebx, 4
je 0x445300
push edi
call fcn.00438224
pop edi
mov byte [esi + 0x38], 1
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov byte [esi + 0x38], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov byte [esi + 0x38], 1
cmp byte [esi + 0x38], 0
je 0x445348
push 6
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
push edi
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
push 0
mov byte [esi + 0x39], 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov edx, dword [esi]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, dword [0x4b870c]
cmp eax, 0xffffffff
jne 0x445263
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x445d52
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push esi
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x445e56
mov edi, dword [ebp + 0xc]
mov eax, edi
or eax, 0x20019
mov dword [ebp - 0xc], eax
jmp 0x445da5
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
push 0
lea edx, [ebp - 0x220]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445e68
mov eax, dword [ebp - 8]
push edi
push eax
call fcn.00445d52
mov ecx, dword [ebp - 8]
add esp, 8
push ecx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x445e68
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
call fcn.00434f4f
test al, al
je 0x445e0f
push ebx
push edi
lea eax, [ebp - 0x220]
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
call fcn.00445d2f
call eax
jmp 0x445e1d
lea edx, [ebp - 0x220]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x445e5f
lea eax, [ebp - 0x18]
push eax
call fcn.004352a6
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push ebx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
mov dword [ebp - 4], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x445da2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
call fcn.004352a6
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446344
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, 1
push 0
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [ebp + 0xc], 0
jne 0x446377
mov dword [ebp + 0xc], 0x400
cmp dword [ebp + 8], 0
je 0x4463d1
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004358d4
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 8]
push edx
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x446401
mov eax, dword [ebp + 8]
test eax, eax
je 0x4463c8
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.0043586f
mov eax, dword [ebp + 8]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x446384
jmp 0x4463d1
push edi
call fcn.00410eb6
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x4463ee
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.00446311
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 1
push 0
push 0
push esi
call fcn.00446311
pop edi
pop esi
pop ebx
pop ebp
ret 8
push edi
call fcn.00410eb6
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.00446311
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x446420
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
push edi
push 0x497cb8
push eax
mov dword [ebp - 4], fcn.00414aa6
call fcn.00414a22
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x446474
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.00446311
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.00435787
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 1
jmp 0x446480
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4464f2
mov eax, dword [ebp + 8]
test eax, eax
je 0x4464c6
push edi
push 1
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.00414316
mov eax, dword [ebp + 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x446480
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x446517
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.00446311
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.00435787
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.00446311
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.00435787
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push esi
call fcn.00446311
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.00435787
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4465b2
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push esi
mov esi, dword [ebp + 8]
cmp ecx, 1
jne 0x4465cd
movzx eax, word [esi + 0x8c]
jmp 0x4465d1
movzx eax, word [esi + 0x58]
cmp ecx, 1
movsx edx, ax
lea ecx, [esi + 0xb0]
je 0x4465e2
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
push 0
cmp edx, 1
jne 0x4465f6
push 0
push 0
push edx
jmp 0x44663d
cmp edx, 2
jne 0x446637
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x44663d
cmp byte [esi + 0xdc], 0
je 0x44662e
push 8
lea eax, [ebp - 8]
push eax
push 0x32
push 0
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x446607
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4468cc
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x44695b
jmp 0x4468fc
lea edx, [ebp - 0x22c]
push 0x494710
push edx
call fcn.004131a6
add esp, 8
test eax, eax
je 0x446949
lea eax, [ebp - 0x22c]
push 0x49a69c
push eax
call fcn.004131a6
add esp, 8
test eax, eax
je 0x446949
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.00437a56
add esp, 0xc
test al, al
je 0x446975
mov bl, 1
lea ecx, [ebp - 0x258]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4468fc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x446987
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x258]
push edx
push 0x49a694
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x446a19
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [ebp - 0x258], 0x10
je 0x446a07
lea eax, [ebp - 0x22c]
push 0x494710
push eax
call fcn.004131a6
add esp, 8
test eax, eax
je 0x446a07
lea ecx, [ebp - 0x22c]
push 0x49a69c
push ecx
call fcn.004131a6
add esp, 8
test eax, eax
je 0x446a07
lea edx, [ebp - 0x22c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
call fcn.004468cc
test al, al
je 0x446a27
push 0x49a69c
call ebx
lea ecx, [ebp - 0x258]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4469a2
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446ebe
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4b7f78], 0
push esi
push edi
mov esi, 0x4b75a8
jne 0x446ede
push 0
call fcn.00414913
push eax
call fcn.004361c0
add esp, 8
mov dword [0x4a20f4], 0x270
mov dword [0x4b75a4], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x446ef3
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x446f2e
mov ecx, dword [0x4b75a8]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x4473c4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x4474a2
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447414
push 1
push esi
push eax
call fcn.00436503
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x44747f
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x447455
cmp eax, 0xffffffff
jne 0x4473ff
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push accept
push 0x497c14
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447414
test eax, eax
je 0x447414
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.00436503
push esi
call fcn.00436537
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
test al, 1
je 0x447442
mov eax, dword [esi]
test eax, eax
je 0x447423
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4474b7
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x447596
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447509
push 1
push esi
push eax
call fcn.00436503
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x447573
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x447549
cmp eax, 0xffffffff
jne 0x4474f4
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x497c14
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x447509
test eax, eax
je 0x447509
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0x14]
push ecx
push edx
call fcn.00436503
push esi
call fcn.00436537
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
test dword [ebp + 0xc], eax
je 0x447537
mov eax, dword [esi]
test eax, eax
je 0x447518
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4475d6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
push ecx
mov dword [ebp + 0x10], edx
call fcn.00436554
test al, al
je 0x447626
test ebx, ebx
je 0x447626
test edi, edi
je 0x447626
push esi
push edx
lea eax, [ebp + 0x10]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44761c
push esi
call fcn.00436537
add esp, 4
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
mov eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x447a17
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x447a35
push esi
call fcn.004372b9
add esp, 4
test al, al
jne 0x447a4e
push 1
jmp 0x447a37
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret
Function at 0x447cdd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4a7556], 0
test edi, edi
je 0x447d22
mov byte [0x4a7557], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x447bb7
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00413ddf
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x447d55
push 0xffffffffffffffff
push esi
mov byte [0x4a7557], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4a7556], 1
jne 0x447d67
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447ebf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00447ea2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
pop ebp
ret 0xc
Function at 0x448485
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0
jne 0x4484b7
cmp byte [edi + 1], 0
jne 0x4484b7
cmp byte [edi + 2], 0
jne 0x4484b7
cmp byte [edi + 3], 0
jne 0x4484b7
cmp byte [edi + 4], 0
je 0x448675
mov eax, dword [esi + 0x20]
push ebx
test eax, eax
je 0x448600
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x448600
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x448533
cmp byte [edi], 0
mov al, 0x80
je 0x4484f3
xor byte [ebp - 0xf0], al
xor byte [ebp - 0x60], al
cmp byte [edi + 1], 0
je 0x448502
xor byte [ebp - 0xf0], al
xor byte [ebp - 0x5f], al
cmp byte [edi + 2], 0
je 0x44850e
xor byte [ebp - 0xef], al
cmp byte [edi + 3], 0
je 0x44851a
xor byte [ebp - 0xee], al
cmp byte [edi + 4], 0
je 0x448526
xor byte [ebp - 0xa5], al
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x448544
cmp byte [edi + 1], 0
je 0x44855f
movzx edx, byte [esi + 0x26]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x10
push 0x101
push eax
call ebx
cmp byte [edi + 2], 0
je 0x448580
movzx ecx, byte [esi + 0x24]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x11
push 0x101
push edx
call ebx
mov al, byte [edi + 3]
test al, al
je 0x4485cc
cmp byte [edi + 2], 0
jne 0x4485ad
cmp byte [esi + 0x1c], 0
jne 0x4485ad
movzx eax, byte [esi + 0x25]
mov ecx, dword [esi + 0x20]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
push ecx
jmp 0x4485ca
test al, al
je 0x4485cc
movzx edx, byte [esi + 0x25]
mov eax, dword [esi + 0x20]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x12
push 0x101
push eax
call ebx
cmp byte [edi + 4], 0
je 0x44866e
movzx ecx, byte [esi + 0x29]
mov edx, dword [esi + 0x20]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x5b
push 0x101
push edx
call ebx
push esi
call fcn.004385b5
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x448617
movzx eax, byte [esi + 0x27]
push 2
push eax
push 0xa0
push esi
call fcn.00438529
cmp byte [edi + 1], 0
je 0x44862f
movzx ecx, byte [esi + 0x28]
push 2
push ecx
push 0xa1
push esi
call fcn.00438529
cmp byte [edi + 2], 0
je 0x448644
movzx edx, byte [esi + 0x24]
push 2
push edx
push 0x11
push esi
call fcn.00438529
cmp byte [edi + 3], 0
je 0x448659
movzx eax, byte [esi + 0x25]
push 2
push eax
push 0x12
push esi
call fcn.00438529
cmp byte [edi + 4], 0
je 0x44866e
movzx ecx, byte [esi + 0x29]
push 2
push ecx
push 0x5b
push esi
call fcn.00438529
push esi
call fcn.004385b5
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8