joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c018
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c02f
add esp, 0xfffffff0
call fcn.00403a70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b6d8
mov eax, dword [0x47ba50]
cmp word [eax + 2], 0
jne 0x45c057
mov eax, dword [0x47ba50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d708
mov eax, dword [0x47bb88]
cmp word [eax + 2], 0
jne 0x45c071
mov eax, dword [0x47bb88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d900
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412458]
call fcn.0040371c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412458]
call fcn.0040371c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41dc24]
call fcn.00425090
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c1f8
mov eax, dword [0x47b8e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425460
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45deb0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47b8e0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ce34
test eax, eax
je 0x45c166
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fb8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ce5c
test eax, eax
je 0x45c17a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404790
mov eax, dword [0x47b6c0]
cmp byte [eax], 0
jne 0x45c1ae
mov eax, ebx
call fcn.0045c320
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045e08c
mov eax, ebx
call fcn.0045ea50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c1ee
call fcn.00403ac8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c5a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cbe8]
cmp dword [eax + 0x30], 0
je 0x45c64a
cmp dword [ebx + 0x94], 0
jne 0x45c644
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c530
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c644
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45c60a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c644
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414b10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c619
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d1ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d1e1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404610
jmp 0x45d1ee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404574
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e268
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e2a9
mov eax, esi
call fcn.004449a0
test al, al
je 0x45e2a9
mov eax, dword [ebx + 0x84]
call fcn.0044469c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e2a9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044469c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46c884
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46c88c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46ca7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46ca94
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404574
lea ecx, [ebp - 0x10]
mov edx, 0x46caa8
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404574
lea ecx, [ebp - 0x14]
mov edx, 0x46cac0
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404574
lea ecx, [ebp - 0x18]
mov edx, 0x46cadc
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404574
lea ecx, [ebp - 0x1c]
mov edx, 0x46caf8
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404574
lea ecx, [ebp - 0x24]
mov edx, 0x46cb10
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004084d0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408a18
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46cb28
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x28]
call fcn.004641e8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46cb38
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x2c]
call fcn.004641e8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46cb50
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408a18
inc eax
je 0x46ca21
lea ecx, [ebp - 0x34]
mov edx, 0x46cb50
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x34]
call fcn.004089dc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409f28
fstp qword [ebp - 0x3c]
wait
call fcn.0040a28c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46ca3c
lea ecx, [ebp - 0x40]
mov edx, 0x46cb50
mov eax, esi
call fcn.0046a710
mov eax, dword [ebp - 0x40]
call fcn.004641e8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46cb60
mov eax, esi
call fcn.0046a710
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ca85
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404544
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404544
ret
Function at 0x473810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47386a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00473800
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00462d58
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00462958
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473871
lea eax, [ebp - 4]
call fcn.00404520
ret
Function at 0x403c90
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x4f5e0d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x20a
lea eax, [ebp]
mov dword [ebp - 0x14], esi
push 0
push eax
call fcn.004c7d50
add esp, 0xc
lea eax, [ebp]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [ebp]
mov dword [ebp - 4], eax
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d10
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0049dba8
lea esp, [ebp + 0x210]
pop ebp
ret

Function at 0x403db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5e4d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54b07c]
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 esi, ecx
mov dword [ebp - 0x2c], esi
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
push eax
mov ecx, edx
call fcn.00404420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
jb 0x403dfb
mov eax, dword [ebp - 0x28]
push 0x53228c
push eax
call fcn.004ce8d6
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edi, eax
cmp ecx, 0x10
jb 0x403e3f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403ee9
push ecx
push edx
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
jne 0x403e5f
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x403ecb
push 2
push 0
push edi
call fcn.004ceda0
add esp, 0xc
push edi
call fcn.004ce7e4
add esp, 4
mov dword [ebp - 0x2c], eax
push 0
push 0
push edi
call fcn.004ceda0
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
test eax, eax
je 0x403eaa
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00404cd0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
push edi
push eax
push 1
push ebx
call fcn.004cefce
push edi
call fcn.004cea42
mov eax, dword [ebp - 0x34]
add esp, 0x14
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi], ebx
mov dword [esi + 8], eax
mov eax, esi
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.0049dba8
mov esp, ebp
pop ebp
ret
call fcn.004cb586
int3
Function at 0x405cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f606d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x54b07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.0049dbb6
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov edx, dword [edx]
mov dword [eax], edx
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x406070
push 0
push 0
call fcn.004cf27b
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x405d4a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.0049c2e9
int3
Function at 0x41da10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6db0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x54b07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [0xf54888]
test ebx, ebx
jne 0x41da48
lea ecx, [ebx + 1]
call fcn.00445b50
cmp dword [0x54fdac], 0
jne 0x41da68
push str.readScreen_not_implemented_by_graphics_plugin._Falling_back..._n
call fcn.00402650
add esp, 4
mov dword [0x54fdac], 0x491700
push 0x2b110
push 0
push 0x2693610
call fcn.004c7d50
add esp, 0xc
push 0x2b110
push 0
push 0x26be830
call fcn.004c7d50
xor eax, eax
mov dword [0xf540c0], 0
add esp, 0xc
mov dword [0x26be720], 0
mov edx, 0x26921a8
mov dword [0x26be724], 0
mov dword [0x2693608], 0
mov dword [0x269360c], 0
mov dword [0x26921a8], eax
mov dword [0x26921ac], eax
mov dword [0x26921b0], eax
mov dword [0x26921b4], eax
call fcn.00491630
push ecx
mov cx, word [0x55015e]
call fcn.00409060
mov edx, dword [0x26921a8]
mov ecx, esi
push eax
mov eax, dword [0x26921ac]
and edx, 0xfffffffc
and eax, 0xfffffffc
push eax
call fcn.00491a30
add esp, 0xc
mov dword [0x2693564], 1
mov byte [0x54bb91], 0
push 0x104
push esi
push 0x26be728
call fcn.004cfc90
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41db35
sub ecx, edx
push ecx
push esi
mov ecx, 0x2693438
call fcn.0041ebb0
mov eax, dword [0xf541f4]
test eax, eax
je 0x41db64
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0xf541f4], 0
call fcn.00422060
mov ecx, 1
call fcn.004483e0
push 0xfffffffffffffff0
push dword [0xf54870]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
and eax, 0xfffdffff
push eax
push 0xfffffffffffffff0
push dword [0xf54870]
call esi
push 0xffffffffffffffec
push dword [0xf54870]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [0xf54870]
call esi
test ebx, ebx
je 0x41dbcd
mov eax, dword [0xf540c4]
cmp eax, 7
je 0x41dbcd
cmp eax, 5
je 0x41dbcd
cmp eax, 6
jne 0x41dbfd
mov ecx, dword [0xf5487c]
test ecx, ecx
je 0x41dbf3
push dword [0xf54738]
mov dword [0xf54888], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [0xf5487c]
mov edx, 1
call fcn.00422f70
push str._VCR_:_Starting_capture..._n
call fcn.00402650
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f70a0
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x54b07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
cmp eax, 0xffffff6a
je 0x4222c4
cmp eax, 0xffffff94
je 0x42228e
cmp eax, 0xfffffffd
jne 0x4223be
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push dword [0xf541ec]
call esi
cmp eax, 0xffffffff
je 0x4223be
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x184]
push eax
push 0
push 0x1005
push dword [0xf541ec]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x184], 4
call esi
mov ecx, dword [ebp - 0x164]
mov eax, dword [0x2795d90]
mov ecx, dword [eax + ecx*4]
cmp dword [ecx + 0x14], 0x10
jb 0x42225d
mov ecx, dword [ecx]
mov edx, 0xf54200
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x422264
push 0xf541e4
push 0
push 0
push 0x445cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x4223be
mov eax, dword [0x269352c]
cmp eax, dword [esi + 0x10]
jne 0x42229f
xor dword [0x2693530], 1
mov eax, dword [esi + 0x10]
push 0x420fe0
push 0
push 0x1030
push dword [0xf541ec]
mov dword [0x269352c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4223be
mov eax, dword [0x2795d90]
mov ecx, dword [esi + 0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
sub eax, 1
je 0x4223a8
sub eax, 1
je 0x42235b
sub eax, 1
jne 0x4223be
mov edx, dword [edi + 0x18]
lea ecx, [ebp - 0x148]
shr edx, 0x14
call fcn.0040c3d0
push 0x534990
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00409420
add esp, 4
lea ecx, [ebp - 0x148]
call fcn.00401c70
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
jb 0x422336
mov ecx, dword [ebp - 0x130]
mov edx, dword [esi + 0x20]
lea esp, [esp]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x422340
lea ecx, [ebp - 0x130]
call fcn.00401c70
jmp 0x4223be
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004c7d50
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x422379
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push edi
call fcn.004d0507
mov edx, dword [esi + 0x20]
lea ecx, [ebp - 0x118]
add esp, 0x14
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x422398
jmp 0x4223be
mov edx, dword [esi + 0x20]
lea ecx, [edi + 0x3c]
mov edi, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x4223b0
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.0049dba8
mov esp, ebp
pop ebp
ret
Function at 0x439cb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xc], ecx
push edi
xor ebp, ebp
mov dword [esp + 0x14], ebx
xor edi, edi
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov esi, 8
cmp esi, 0xa2
je 0x439d6e
cmp esi, 0xa3
je 0x439d6e
cmp esi, 0xa4
je 0x439d6e
cmp esi, 0xa5
je 0x439d6e
cmp esi, 0xa0
je 0x439d6e
cmp esi, 0xa1
je 0x439d6e
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x439d3e
cmp esi, 0x1b
je 0x439d8f
cmp esi, 0x11
jne 0x439d28
lea ebx, [esi - 0x10]
inc esi
jmp 0x439cd4
cmp esi, 0x10
jne 0x439d33
lea ebp, [esi - 0xf]
inc esi
jmp 0x439cd4
cmp esi, 0x12
jne 0x439d99
lea edi, [esi - 0x11]
inc esi
jmp 0x439cd4
cmp esi, 0x11
jne 0x439d4e
test ebx, ebx
jne 0x439de0
inc esi
jmp 0x439cd4
cmp esi, 0x10
jne 0x439d61
test ebp, ebp
jne 0x439e0d
inc esi
jmp 0x439cd4
cmp esi, 0x12
jne 0x439d6e
test edi, edi
jne 0x439e3a
inc esi
cmp esi, 0xfe
jl 0x439cd4
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x1f4
jl 0x439cc5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
mov dword [ebx + 0x18], esi
call ebp
xor ecx, ecx
test ax, ax
push 0x11
setne cl
mov dword [ebx + 0x20], ecx
call ebp
xor ecx, ecx
test ax, ax
push 0x12
setne cl
mov dword [ebx + 0x1c], ecx
call ebp
xor ecx, ecx
test ax, ax
pop edi
pop esi
setne cl
mov eax, 1
pop ebp
mov dword [ebx + 0x24], ecx
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 1
mov dword [eax + 0x24], 0
mov eax, 1
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 0
mov eax, 1
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x24], 1
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x43a000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f92fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54b07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0042b490
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 8]
mov edi, dword [ebp + 8]
cmp eax, 0x10
jb 0x43a04a
mov ebx, edi
lea edx, [ebp + 8]
jb 0x43a051
mov edx, edi
mov ecx, dword [ebp + 0x18]
lea esi, [ebp + 8]
add edx, ecx
mov dword [ebp - 0x14], edx
cmp eax, 0x10
jb 0x43a063
mov esi, edi
cmp esi, edx
je 0x43a08d
mov edi, dword [ebp - 0x14]
sub ebx, esi
lea esp, [esp]
movsx eax, byte [esi]
push eax
call fcn.004cfb69
mov byte [ebx + esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x43a070
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 8]
cmp eax, 0x10
jb 0x43a097
mov ebx, edi
xor edx, edx
mov esi, 0x811c9dc5
test ecx, ecx
je 0x43a0b3
movzx eax, byte [edx + ebx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x43a0a2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043e230
cmp dword [eax + 4], 0
mov eax, dword [ebp + 0x1c]
setne bl
cmp eax, 0x10
jb 0x43a0fa
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x43a0f0
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a110
push ecx
push edi
call fcn.0049dbeb
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004cb586
int3
Function at 0x43c280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f95e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54b07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0049dbb6
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0049cd20
add esp, 8
mov dword [esi + 4], eax
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.00426000
mov eax, ebx
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x20], ecx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax + 0x2c], edx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x2a768d0]
mov dword [eax], 0
mov eax, dword [0x2a768cc]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cdd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
sub esp, 8
cmp dword [edx + 0x14], 0x10
push ebx
mov ebx, dword [edx + 0x10]
push ebp
push esi
push edi
mov ebp, ecx
mov edi, edx
jb 0x43cdea
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x43ce06
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x43cdf5
push esi
push edx
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0043e230
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebp
setne cl
mov eax, ecx
pop ebx
add esp, 8
ret 4