joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406da8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebx
and al, 0
add bl, al
add byte [eax], al
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov dword [ebp - 0x21], 0x52414853
mov dword [ebp - 0x1d], 0x454d4445
mov dword [ebp - 0x19], 0x5356344d
call fcn.004091e8
push eax
push 0
lea eax, [ebp - 0x15]
push eax
push 0xb
call fcn.00407f10
xor eax, eax
mov bl, 0
push 0x40b0d0
push 1
call fcn.004067bc
test eax, eax
jne 0x406dfc
push 0x2000
call fcn.0040742c
mov esi, eax
mov bl, 1
jmp 0x406e32
lea ecx, [ebp - 0x21]
push ecx
push 0
push 6
call eax
test eax, eax
jne 0x406e22
lea eax, [ebp - 0x21]
push eax
push 0x2000
and byte [eax], al
add byte [edx], ch
push 4
push 0
push 0xffffffffffffffff
call fcn.0040918e
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call fcn.004092a2
mov esi, eax
test bl, bl
je 0x406e5b
push esi
push 0x2000
push 0xff
call fcn.00407fb8
push esi
push 0x18
push 0
call fcn.00407fb8
mov eax, esi
add eax, 0xc
push eax
call fcn.00407504
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x41360d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450f4f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x4136b1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0x45fbe0
call fcn.004347cd
mov dword [esp + 0x20], 0x4575f8
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0x45fb80
mov dword [esp + 0x1c], 0x45fb6c
mov dword [esp + 0x20], 0x1b
call fcn.00414205
lea eax, [esp + 0x4c]
mov dword [esp], 0x466c20
push eax
call 0x43b741
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.00411a90
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x4136ec
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call 0x439f8e
add esp, 0x14
cmp eax, 0xffffffff
je 0x4136cb
lea ecx, [esp + 0x2c]
call fcn.00411a90
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.004050a7
push ebx
push 1
mov ecx, esi
call fcn.00405200
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043404e
mov esp, ebp
pop ebp
ret
Function at 0x42a52e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f820
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.00406318
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x42a5db
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.004050a7
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.00405200
cmp byte [esp + 0x3c], bl
jne 0x42a5e1
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x42a592
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00406318
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00405200
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043404e
mov esp, ebp
pop ebp
ret 8
Function at 0x422f8b
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
jge 0x422f9f
inc esi
push 0x11
call edi
test ax, ax
jge 0x422fab
push 3
pop esi
test byte [esp + 0xf], 0x20
je 0x422fb5
push 2
pop esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x42b2eb
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.GMFont.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.InitDeviceObjects
push eax
mov dword [esi + 8], eax
call edi
push str.DeleteDeviceObjects
push dword [esi + 8]
mov dword [esi + 0xc], eax
call edi
push str.RestoreDeviceObjects
push dword [esi + 8]
mov dword [esi + 0x10], eax
call edi
push str.InvalidateDeviceObjects
push dword [esi + 8]
mov dword [esi + 0x14], eax
call edi
push str.FinalCleanup
push dword [esi + 8]
mov dword [esi + 0x18], eax
call edi
push str.CreateFont
push dword [esi + 8]
mov dword [esi + 0x1c], eax
call edi
push str.ReleaseFont
push dword [esi + 8]
mov dword [esi + 0x20], eax
call edi
push str.DrawText
push dword [esi + 8]
mov dword [esi + 0x24], eax
call edi
push str.DrawAlphaText
push dword [esi + 8]
mov dword [esi + 0x28], eax
call edi
push str.DrawTextOutBorder
push dword [esi + 8]
mov dword [esi + 0x2c], eax
call edi
push str.CreateStringTexture
push dword [esi + 8]
mov dword [esi + 0x30], eax
call edi
push str.ReleaseStringTexture
push dword [esi + 8]
mov dword [esi + 0x34], eax
call edi
push str.SetString
push dword [esi + 8]
mov dword [esi + 0x38], eax
call edi
push str.DrawStringImage
push dword [esi + 8]
mov dword [esi + 0x3c], eax
call edi
push str.DrawStringAlphaImage
push dword [esi + 8]
mov dword [esi + 0x40], eax
call edi
push str.DrawStringBorderImage
push dword [esi + 8]
mov dword [esi + 0x44], eax
call edi
push str.TextWidth
push dword [esi + 8]
mov dword [esi + 0x48], eax
call edi
push str.TextHeight
push dword [esi + 8]
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
xor eax, eax
pop edi
pop esi
ret
Function at 0x42d5f1
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, ecx
jne 0x42d607
push edi
call dword [sym.imp.user32.dll_GetKeyboardLayout]
mov edi, eax
movzx eax, di
mov ebx, 0x404
sub eax, ebx
je 0x42d687
sub eax, 0xd
lea ecx, [esi + 0xa8]
je 0x42d676
dec eax
je 0x42d668
sub eax, 0xc
je 0x42d657
sub eax, 0x3e6
je 0x42d646
mov dword [esi + 0xa0], 5
push str.UNKNOWN_LANGUAGE
call fcn.0040403d
jmp 0x42d701
mov dword [esi + 0xa0], 3
push str.SIMPLIFIED_CHINESE
jmp 0x42d63c
mov dword [esi + 0xa0], 4
push str.THAI
jmp 0x42d63c
and dword [esi + 0xa0], 0
push str.KOREAN
jmp 0x42d63c
mov dword [esi + 0xa0], 1
push str.JAPANESE
jmp 0x42d63c
push ebp
lea ebp, [esi + 0xa8]
push str.TRADITIONAL_CHINESE
mov ecx, ebp
mov dword [esi + 0xa0], 2
call fcn.0040403d
shr edi, 0x10
sub edi, ebx
je 0x42d6ea
sub edi, 0xdbfe
je 0x42d6dc
sub edi, 0x1e
mov ecx, ebp
je 0x42d6cb
mov dword [esi + 0xa4], 3
push str.___Unknown__
jmp 0x42d6fb
mov dword [esi + 0xa4], 2
push str.___Usyami__
jmp 0x42d6fb
and dword [esi + 0xa4], 0
push str.___ChangJie__
jmp 0x42d6f9
mov dword [esi + 0xa4], 1
push str.___US_Keyboard__
mov ecx, ebp
call fcn.004051f2
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x42d79b
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, 0x6bedb9
call fcn.00692bd4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x9b], bl
jne 0x42d9ba
cmp byte [esi + 0x9a], bl
je 0x42d80b
push 0x66c
call fcn.006918d6
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x42d7de
call fcn.004316c5
jmp 0x42d7e0
xor eax, eax
fld dword [0x6d05b4]
or dword [ebp - 4], 0xffffffff
push ecx
push ecx
fstp dword [esp + 4]
mov ecx, eax
fld dword [0x6d05b0]
fstp dword [esp]
push ebx
push 0x9f4168
call fcn.004321e3
jmp 0x42d9ba
push edi
push ebx
push ebx
push 0x800
push dword [esi + 4]
call sub.imm32.dll_ImmGetCompositionStringA
mov edi, dword [esi + 0x88]
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x10], edi
sub dword [ebp - 0x10], ecx
cmp eax, dword [ebp - 0x10]
mov dword [esi + 0x8c], eax
jbe 0x42d858
sub ecx, edi
add ecx, eax
test cl, 1
je 0x42d84f
cmp byte [esi + 0x99], bl
je 0x42d84f
mov eax, dword [ebp - 0x10]
dec eax
jmp 0x42d852
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x8c]
inc eax
push eax
call fcn.0069197a
pop ecx
mov ecx, dword [esi + 0x8c]
inc ecx
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebp - 0x10], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esi + 0x8c]
mov edi, dword [ebp - 0x10]
push edi
push 0x800
push dword [esi + 4]
call sub.imm32.dll_ImmGetCompositionStringA
mov eax, dword [esi + 0x8c]
mov byte [edi + eax], bl
cmp byte [esi + 0x9b], bl
jne 0x42d8b2
cmp byte [esi + 0x9a], bl
je 0x42d8dd
mov al, byte [edi]
cmp al, 0x30
jge 0x42d8dd
cmp al, 0x39
jle 0x42d8dd
push edi
call fcn.00693d31
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esi + 8]
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x8c], ebx
call fcn.00403ece
jmp 0x42d9b9
cmp byte [edi], bl
je 0x42d93f
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x40]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.00403ece
push dword [ebp - 0x10]
mov ecx, edi
push dword [esi + 0x94]
call fcn.004267bf
mov eax, dword [esi + 0x88]
cmp dword [esi + 0x1c], eax
jbe 0x42d916
push ebx
push eax
mov ecx, edi
call fcn.0042eeef
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0x90]
cmp dword [eax], ecx
jbe 0x42d928
mov dword [eax], ecx
mov ecx, dword [esi + 0x8c]
add dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x94]
mov edi, dword [ebp - 0x10]
mov dword [eax], ecx
push edi
call fcn.00693d31
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esi + 8]
push eax
lea ecx, [esi + 0x40]
mov dword [esi + 0x8c], ebx
call fcn.00403ece
lea ecx, [esi + 0x24]
call fcn.0041e36e
lea ecx, [esi + 0x5c]
call fcn.0041e36e
lea ecx, [esi + 0x78]
call fcn.00432b77
cmp byte [esi + 0xd6], bl
jne 0x42d98d
mov eax, dword [esi + 0x94]
mov dword [esi + 0xd0], eax
mov dword [esi + 0xcc], eax
cmp dword [esi + 0xa0], 2
je 0x42d9b9
push ebx
push ebx
push 8
push dword [esi + 4]
call sub.imm32.dll_ImmGetCompositionStringA
test eax, eax
je 0x42d9b9
push 0x1bf
push ebx
push 0x10f
push dword [esi]
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42d9ca
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xcc]
cmp eax, dword [ebx + 0xd0]
push ebp
push esi
mov esi, 0x7144b4
push edi
mov ecx, esi
je 0x42da3c
call fcn.0041e36e
mov eax, dword [ebx + 0xd0]
sub eax, dword [ebx + 0xcc]
inc eax
push eax
call fcn.0069197a
pop ecx
mov ecx, dword [ebx + 0xd0]
mov edi, eax
mov eax, dword [ebx + 0xcc]
push eax
sub ecx, eax
push ecx
push edi
lea ecx, [ebx + 0x40]
call fcn.0042ec75
mov ecx, dword [ebx + 0xd0]
mov eax, edi
sub eax, dword [ebx + 0xcc]
push edi
mov byte [eax + ecx], 0
mov ecx, esi
call fcn.0040403d
push edi
call fcn.00693d31
pop ecx
jmp 0x42da50
call fcn.0041e36e
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x40]
push eax
mov ecx, esi
call fcn.00403ece
mov eax, dword [0x7144c8]
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp dword [0x7144cc], 0x10
mov esi, dword [0x7144b8]
jae 0x42da7c
mov esi, 0x7144b8
mov ecx, dword [0x7144c8]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebx]
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x42dabe
call dword [sym.imp.user32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.user32.dll_SetClipboardData]
pop edi
pop esi
pop ebp
pop ebx
jmp dword [sym.imp.user32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x42dac3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xcc]
cmp eax, dword [ebx + 0xd0]
je 0x42dc23
push esi
push edi
mov edi, 0x7144b4
mov ecx, edi
call fcn.0041e36e
mov eax, dword [ebx + 0xd0]
sub eax, dword [ebx + 0xcc]
inc eax
push eax
call fcn.0069197a
pop ecx
mov ecx, dword [ebx + 0xd0]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xcc]
push eax
sub ecx, eax
push ecx
push dword [ebp - 4]
lea esi, [ebx + 0x40]
mov ecx, esi
call fcn.0042ec75
mov eax, dword [ebp - 4]
sub eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xd0]
push dword [ebp - 4]
mov byte [eax + ecx], 0
mov ecx, edi
call fcn.0040403d
push dword [ebp - 4]
call fcn.00693d31
cmp dword [esi + 0x18], 0x10
pop ecx
jb 0x42db4f
mov eax, dword [esi + 4]
jmp 0x42db52
lea eax, [esi + 4]
mov ecx, dword [ebx + 0xd0]
add ecx, eax
cmp dword [esi + 0x18], 0x10
jb 0x42db65
mov edx, dword [esi + 4]
jmp 0x42db68
lea edx, [esi + 4]
mov eax, dword [ebx + 0xcc]
push ecx
add eax, edx
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0041e31f
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebx + 8]
call fcn.00403ece
lea eax, [ebx + 0x94]
mov edx, dword [eax]
lea ecx, [ebx + 0x90]
mov esi, dword [ecx]
cmp edx, esi
jbe 0x42dba2
mov dword [eax], esi
jmp 0x42dba4
mov dword [ecx], edx
mov eax, dword [eax]
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xcc], eax
mov eax, dword [0x7144c8]
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp dword [0x7144cc], 0x10
mov esi, dword [0x7144b8]
jae 0x42dbdf
mov esi, 0x7144b8
mov ecx, dword [0x7144c8]
push dword [ebp - 4]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [ebx]
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
pop edi
pop esi
je 0x42dc23
call dword [sym.imp.user32.dll_EmptyClipboard]
push dword [ebp - 4]
push 1
call dword [sym.imp.user32.dll_SetClipboardData]
call dword [sym.imp.user32.dll_CloseClipboard]
pop ebx
leave
ret
Function at 0x42e1e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
push edi
je 0x42e20c
push dword [esi]
call sub.imm32.dll_ImmGetContext
push ebx
push 1
push 0x15
push eax
mov dword [esi + 4], eax
call sub.imm32.dll_ImmNotifyIME
push dword [esi + 4]
push dword [esi]
call sub.imm32.dll_ImmReleaseContext
push 1
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42e249
push dword [esi]
call dword [sym.imp.user32.dll_OpenClipboard]
push 1
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
mov ecx, 0x7144b4
call fcn.0040403d
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd0]
cmp ecx, eax
je 0x42e2c5
lea edi, [esi + 0x40]
cmp dword [edi + 0x18], 0x10
jb 0x42e267
mov edx, dword [edi + 4]
jmp 0x42e26a
lea edx, [edi + 4]
add edx, eax
cmp dword [edi + 0x18], 0x10
jb 0x42e277
mov eax, dword [edi + 4]
jmp 0x42e27a
lea eax, [edi + 4]
add eax, ecx
push edx
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.0041e31f
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esi + 8]
call fcn.00403ece
lea eax, [esi + 0x94]
mov edx, dword [eax]
lea ecx, [esi + 0x90]
mov edi, dword [ecx]
cmp edx, edi
jbe 0x42e2b0
mov dword [eax], edi
mov edx, edi
jmp 0x42e2b2
mov dword [ecx], edx
mov dword [esi + 0xd0], edx
mov dword [esi + 0xcc], edx
mov byte [esi + 0xd6], 0
mov edx, dword [esi + 0x54]
mov ecx, dword [0x7144c8]
mov eax, dword [esi + 0x88]
add ecx, edx
cmp ecx, eax
jae 0x42e305
cmp dword [0x7144cc], 0x10
mov eax, dword [0x7144b8]
jae 0x42e2ed
mov eax, 0x7144b8
push eax
push dword [esi + 0x94]
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.004267bf
mov eax, dword [0x7144c8]
jmp 0x42e35a
mov ecx, dword [0x7144cc]
cmp ecx, 0x10
mov ebx, dword [0x7144b8]
mov edi, ebx
jae 0x42e31d
mov edi, 0x7144b8
sub eax, edx
add eax, edi
cmp ecx, 0x10
mov edx, eax
jae 0x42e32d
mov ebx, 0x7144b8
lea edi, [esi + 0x40]
cmp dword [edi + 0x18], 0x10
jb 0x42e33b
mov ecx, dword [edi + 4]
jmp 0x42e33e
lea ecx, [edi + 4]
mov eax, dword [esi + 0x94]
push edx
add eax, ecx
push ebx
push eax
push eax
mov ecx, edi
call fcn.00426880
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x54]
add dword [esi + 0x90], eax
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 8]
call fcn.00403ece
mov eax, dword [esi + 0x90]
pop edi
mov dword [esi + 0x94], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xcc], eax
pop esi
pop ebx
pop ecx
ret
Function at 0x433fce
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [esp + 4]
push esi
xor esi, esi
test al, 4
je 0x433fda
inc esi
test al, 8
je 0x433fe1
push 3
pop esi
test al, 1
je 0x433fe8
push 4
pop esi
test al, 2
je 0x433fef
push 5
pop esi
test al, 0x10
je 0x433ff6
push 6
pop esi
push 0x12
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
jge 0x434006
push 2
pop esi
mov eax, esi
pop esi
ret
Function at 0x452340
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6bfcb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 4], 2
mov ecx, dword [0x6d5130]
lea eax, [edi + 0x7538]
mov dword [eax], ecx
mov dl, byte [0x6d5134]
xor esi, esi
push esi
push 0x80
mov byte [eax + 4], dl
mov ecx, dword [0x6d5128]
push 3
lea eax, [edi + 0x7547]
mov dword [eax], ecx
mov dl, byte [0x6d512c]
push esi
push 1
mov byte [eax + 4], dl
mov eax, dword [esp + 0x50]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x4523d0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebp
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebp, eax
push ebp
call fcn.0069197a
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
push 0
lea edx, [esp + 0x20]
push edx
push ebp
push esi
push ebx
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x45244a
test esi, esi
je 0x452428
push esi
call fcn.00693d31
add esp, 4
test ebx, ebx
je 0x452433
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ebx, dword [esi]
add ebx, 8
lea eax, [ebx + esi]
mov dword [esp + 0x20], eax
mov eax, dword [eax - 4]
push eax
call fcn.0069197a
mov esi, eax
add esp, 4
test esi, esi
jne 0x45249b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x452484
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push esi
sub ebp, ebx
push ebp
push eax
mov byte [esp + 0x48], 2
mov dword [esp + 0x50], 0xf4240
call fcn.00578370
mov ecx, dword [esp + 0x50]
add esp, 0x10
push 1
push 0
push ecx
mov ecx, dword [0x732630]
push esi
call fcn.005782a0
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x45250c
nop
mov edx, dword [edi]
imul edx, edx, 0xf
push 0xf
lea eax, [edx + edi + 8]
push esi
push eax
call fcn.006938f0
mov eax, dword [esp + 0x4c]
mov ebp, dword [edi]
add esp, 0xc
sub eax, 0xf
inc ebp
add esi, 0xf
test eax, eax
mov dword [edi], ebp
mov dword [esp + 0x40], eax
ja 0x4524e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45251d
push eax
call fcn.00693d31
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00693d31
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x452539
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x30]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x4526d2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x452756
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x1c]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x452706
xor eax, eax
jmp 0x452755
test edi, edi
je 0x452702
mov eax, dword [edi + 0x3c]
add eax, edi
je 0x452702
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
test ecx, ecx
je 0x452702
and dword [ebp - 4], 0
push ebx
movzx ebx, word [eax + 6]
sub esi, edi
test ebx, ebx
jbe 0x452752
lea eax, [ecx + 0x10]
mov edx, dword [eax]
mov edi, dword [eax - 8]
cmp edx, edi
mov ecx, dword [eax - 4]
ja 0x45273d
mov edx, edi
cmp esi, ecx
jb 0x452747
add edx, ecx
cmp esi, edx
jbe 0x452759
inc dword [ebp - 4]
add eax, 0x28
cmp dword [ebp - 4], ebx
jb 0x45272f
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
inc eax
mov dword [edx], eax
mov eax, dword [ebp + 0x18]
sub esi, ecx
mov dword [eax], esi
xor eax, eax
inc eax
jmp 0x452754

Function at 0x45289f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x721bb0]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
call fcn.00694882
add esp, 0xc
mov esi, eax
push 0
lea eax, [ebp - 0x408]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push dword [0x73a25c]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.00692fc7
leave
ret

Function at 0x455829
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov esi, eax
je 0x455869
push 0x73c284
push 0x73c148
push str._s__d
push esi
call fcn.00694aa2
add esp, 0x10
push ebx
push ebx
push 0x7b77
push dword [esp + 0x1c]
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x45588b
push 0x22
push esi
call fcn.00694660
push 0x73c284
inc eax
push 0x73c148
inc eax
push str._s__d
push eax
call fcn.00694aa2
add esp, 0x18
cmp word [edi + 0x366], 5
jne 0x4558a3
push ebx
push 0x6d56ec
push esi
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
ret 4