joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61f0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x61f11b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x61f13f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x61f15a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x622344
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x622366
cmp dword [edi + 0x3c], 0
jne 0x622366
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.006304b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00622393
pop edi
pop esi
pop ebx
ret 8

Function at 0x62451a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x624552
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00623157
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0062312f
jmp 0x62455e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x624562
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x6fe160
mov ecx, edi
call fcn.00622f13
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x6245b5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x6245c8
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00623157
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0062312f
jmp 0x6245c8
mov ecx, esi
call fcn.0062325c
test eax, eax
je 0x6245c8
push edi
mov ecx, eax
call fcn.0062451a
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x625e09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x625e4b
call fcn.006304b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x625e4b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x625e42
xor eax, eax
jmp 0x625e53
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00625e59
pop edi
pop esi
pop ebx
ret 4
Function at 0x631831
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.006304b0
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x63186e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x63186e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x631872
xor eax, eax
jmp 0x6318f0
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00622acb
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x6318aa
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x631894
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.006319e1
push ebx
mov edi, eax
call fcn.00622af4
test edi, edi
pop ecx
je 0x6318ec
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.006317aa
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.006318f5
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x634715
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x63473d
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x63474e
push 2
call edi
test ax, ax
jge 0x63474e
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00623b6b
cmp dword [esi + 0x30], ebx
jne 0x634828
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00623b6b
cmp eax, dword [esp + 0x34]
jne 0x634828
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x6347c4
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x634809
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x634828
cmp eax, 0x205
je 0x634828
cmp eax, 0x201
je 0x634828
cmp eax, 0x204
je 0x634828
cmp eax, ebx
jne 0x6347ef
cmp dword [esp + 0x1c], 0x1b
je 0x634828
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x6ffcc0]
jbe 0x63481e
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x634781
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0xfbd706
Capabilities:
Encode data using xor

Disassembly:
xor byte [eax], ch
xor eax, 0xa08b626c
daa
lodsb al, byte [esi]
and cl, byte [ebp + 0x362e7cf4]
mov dword [eax], esi
lea esp, [esp + 0xc]
jmp fcn.00fa8f38
mov word [esi], di
call fcn.00fc81d2
popfd
jp 0xfbd6b4
push cs
aaa
sub al, 0x14
dec esp
loop 0xfbd6bd
jl 0xfbd73b
cwde
mov bl, 0x8b
fcmovnb st(0), st(3)
or dword [edx + edi + 0x7049ecb5], 0xffffff9b
fsubr qword [ecx*4 + 0x66012f8f]
mov edi, 0x611093aa
mov al, 0x5a
mov byte [0x5d], al
test al, 0xb7
xor al, 0xb3
in eax, dx
mov bh, 0x34
mov bl, 0xed
pop esp
add byte [eax], al
add byte [ebp - 0x60dd99de], ch
stosd dword es:[edi], eax
out dx, eax
mov bh, 0xdd
insb byte es:[edi], dx
pop ss
cwde
mov ch, 0xf6
cvtps2pi mm3, xmm7
push cs
or byte [esi + ebx*2 + 0x3d], al
fnstenv [0x187b0207]
push eax
mov eax, dword [0x1185c28c]
dec eax
adc dl, byte [eax + 0x60]
adc eax, 0x95da2a48
stosd dword es:[edi], eax
xor esi, ebx
dec edi
jnp 0xfbd760
mov bh, 0x6d
push ebx
inc esi
insb byte es:[edi], dx
add dword [edx + 0x32], ecx
dec edx
ror dword [ebp + 0x55c66d23], cl
mov ch, 0x7a
cwde
scasd eax, dword es:[edi]
pop ebp
add byte [eax], al
add al, ah
test byte [ebp + 0x11], bl
rcr byte [edi - 0xe0d34ba], 0x31
fild word [edi - 1]
invalid

Function at 0xfd6982
Capabilities:
Encode data using xor

Disassembly:
call fcn.012c3eed
mov edx, 0x11a48190
aad 0x2e
add byte [edx + 0x11a48190], bh
lea ebp, [edx + edx*4 - 0x5d4672e9]
lea edx, [ebp - 0x7d7ca055]
mov edx, dword [esi + edx - 0x7d737492]
and byte [esi - 0x3f], 0xf5
or al, 0x55
sal bp, 0xc
push ebp
movzx bp, byte ss:[edx]
jp 0xff1313
and dh, byte [ebp + 0x43e8d1ec]
jnp 0xfd6984
in eax, 0x92
dec ebx
push ss
scasd eax, dword es:[edi]
in al, 0x5c
aam 0xfa
inc ebp
sbb al, 0x79
pop ecx
xlatb
xor ah, cl
xor cl, byte [edx - 0x653c13be]
ja 0xfd699f
jge 0xfd6a18
mov ch, 0xc7
popfd
mov bl, 0x79
push esi
mov eax, 0x87ed2920
mov eax, dword [0xdd0b3b2a]
neg al
loopne 0xfd69a0
invalid
pop edi
sub eax, 0x5e56e900
adc al, byte [eax]
jmp 0x166e91c
jmp 0x1699057
adc esi, 2
not byte [esp + 2]
mov word [esi], bp
lea esp, [esp + 4]
jmp fcn.00fd0f8c
dec eax
shl dword [esp + 8], 3
inc ecx
ror ebx, 3
inc ecx
not ebx
call fcn.016c8a51
xor bl, al
sub ebp, 2
mov word [ebp], ax
jmp 0xfe8728
lea esp, [esp + 8]
jmp fcn.016b81a4
Function at 0x12a6a7f
Capabilities:
Encode data using xor

Disassembly:
adc ebp, 5
push 0xe88bef25
call fcn.012bc397
mov edx, 0x890e41d
bswap edx
movzx dx, byte [ebp + edx - 0x1de49008]
mov al, byte [ebp + 2]
push 0xfdb42932
add ebp, 2
mov byte [esp + 1], 0xa
add dword [esp], 0xaa84c5b6
js 0x14e2d80
mov ah, 0xa7
lahf
invalid
and dl, al
call fcn.0169eb58
lea esp, [esp + 0xc]
jmp fcn.010f3de6

Function at 0x14f2b5b
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 0x1c]
jmp dword [ecx*4 + 0xfb4188]
xor bl, cl
jmp 0x14dbb21

Function at 0x16c9ee5
Capabilities:
Encode data using xor

Disassembly:
call fcn.00fd83d9
sbb eax, 0xe45d3367
push es
mov bl, 0x43
das
dec ecx
enter 0xffffffffffffd74e, 0x3d
outsd dx, dword [esi]
pop ds
xchg esp, eax
add byte [edi + 0x464d1b7b], bl
pop ebx
mov dh, 0x39
sub edx, esp
jne 0x12a97b0
int3
shl bh, 0x2c
fisubr word [eax - 0x385034dd]
inc esp
sub cl, byte [ebx - 0x49]
fbstp tbyte [ebx - 0x189c25c4]
cmpsd dword [esi], dword es:[edi]
fst dword [eax - 0x58]
adc ebx, ebx
mov edi, 0x622f4d1b
aam 0x75
xlatb
xchg edi, eax
mov ebx, 0xa282894e
xchg bh, cl
xor bh, cl
ljmp 0x8aa9
lea ecx, [esp + ecx + 0xc]
mov dword [esp + 8], 0xc12d6993
jae 0x12a977d
or byte [ebx + 0xfc12d69], dl
add dword [esi + 0x1fffbdf8], 0x4f
pop ds
dec edi
std
imul ebx, ebp, 0x3b
mov dl, 0xba
add ebp, edx
sub byte [esi + 0x38], ch
ficomp dword [ebx + 0x6f]
out dx, al
scasd eax, dword es:[edi]
popfd
sub ebx, ebp
movsd dword es:[edi], dword [esi]
dec edx
adc dword [edx + 3], 0xffffffd2
mov byte [ebx - 0x16], ch
xor dword [esi - 0x75], esp
sbb eax, 0xa569ebc4
and al, al
jge 0x16c9eec
push 0x7d
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x210f6b9c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1f5868fb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401c0e
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x400
call fcn.004042f0
mov dword [esp], eax
mov eax, dword [0x40b450]
push eax
push eax
call fcn.004063e2
lea ecx, [esp + 8]
pop edx
call fcn.004030f0
push dword [esp]
push 0
push 0x40a00d
push dword [esp + 0x10]
call sub.m_nicht_untersttzt._GetTempFileNameA
mov eax, dword [0x40b450]
push eax
push eax
push dword [esp + 8]
call fcn.00404380
lea ecx, [0x40b1c0]
pop edx
call fcn.004030f0
push dword [esp]
call fcn.00404360
push dword [0x40b1c0]
call fcn.004063d0
push dword [0x40b1c0]
call fcn.00406443
mov eax, dword [0x40b450]
push eax
push eax
call fcn.00406305
lea ecx, [0x40b1b8]
pop edx
call fcn.004030f0
mov eax, dword [esp + 0x14]
call fcn.004043d0
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x401d1b
mov ebx, dword [esp + 0x18]
inc ebx
mov eax, ebx
call fcn.004043d0
mov ebx, eax
cmp ebx, 1
jne 0x401cf4
push dword [0x40b450]
mov edx, 0x40a00e
call fcn.00407a20
mov edx, dword [0x40b1b8]
call fcn.00407a20
mov edx, 0x40a011
call fcn.00407a20
lea ecx, [0x40b1bc]
pop edx
call fcn.004030f0
mov edx, dword [0x40b1c0]
push dword [0x40b450]
call fcn.00407a20
lea ecx, [0x40b1b8]
pop edx
call fcn.004030f0
mov dword [esp + 0xc], 2
jmp 0x401d2d
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401d2d
mov dword [esp + 0xc], 1
pop eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
mov eax, ebx
call fcn.004043d0
mov dword [0x40b1b0], eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
inc ebx
mov eax, ebx
call fcn.004043d0
mov dword [0x40b1b4], eax
mov eax, 1
jmp 0x401d60
push dword [esp + 4]
call fcn.00407a80
add esp, 0xc
pop ebx
ret 4
Function at 0x4020e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
xor eax, eax
push eax
push eax
mov edx, dword [esp + 0x10]
lea ecx, [esp]
call fcn.00403100
push 0xa
push dword [esp + 4]
push dword [esp + 0x14]
call sub.m_nicht_untersttzt._FindResourceA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x402133
push dword [esp + 4]
push dword [esp + 0x10]
call sub.m_nicht_untersttzt._LoadResource
mov dword [0x40b1c4], eax
push dword [esp + 4]
push dword [esp + 0x10]
call sub.m_nicht_untersttzt._SizeofResource
mov dword [0x40b200], eax
mov eax, dword [esp + 4]
jmp 0x40213b
push dword [esp]
call fcn.00407a80
add esp, 8
ret 8

Function at 0x4038b5
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x4038cd
push dword [esp + 4]
push 0x40384e
call dword [0x40a7ac]
jmp 0x40390a
push esi
mov esi, dword [0x40b25c]
test esi, esi
je 0x403909
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.m_nicht_untersttzt._GetCurrentThreadId]
cmp dword [edi], eax
jne 0x403901
push 1
push dword [esi + 0xc]
call dword [0x40a7a8]
push edi
push 0x40b25c
call fcn.00406d4d
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x4038da
pop edi
pop ebx
pop esi
ret 4
Function at 0x404207
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x130
push esi
mov esi, dword [sym.imp.m_nicht_untersttzt._GetVersionExA]
push edi
push 0x64
pop edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call esi
test eax, eax
je 0x4042ab
mov eax, dword [ebp - 0xc]
dec eax
je 0x40428e
dec eax
jne 0x4042ab
mov eax, dword [ebp - 0x18]
sub eax, 3
je 0x40428a
dec eax
je 0x404286
dec eax
je 0x40426c
dec eax
jne 0x4042ab
push 0x46
pop edi
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], 0x9c
call esi
test eax, eax
je 0x4042ab
cmp byte [ebp - 0x1e], 1
je 0x4042ab
push 0x4b
jmp 0x4042aa
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x404282
dec eax
je 0x40427e
dec eax
jne 0x4042ab
push 0x41
jmp 0x4042aa
push 0x3c
jmp 0x4042aa
push 0x32
jmp 0x4042aa
push 0x14
jmp 0x4042aa
push 5
jmp 0x4042aa
cmp dword [ebp - 0x14], 0
je 0x4042a8
cmp dword [ebp - 0x14], 0xa
je 0x4042a4
cmp dword [ebp - 0x14], 0x5a
jne 0x4042ab
push 0x28
jmp 0x4042aa
push 0x1e
jmp 0x4042aa
push 0xa
pop edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x404b2c
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x40b4c4]
call fcn.00406bc0
mov edi, eax
test edi, edi
je 0x404b8e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x404b55
push dword [esp + 0xc]
push edi
call eax
jmp 0x404b8e
push ebx
push esi
push dword [edi]
call dword [0x40a7d4]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.00407c80
mov ebx, eax
lea eax, [esi + 1]
push eax
push ebx
mov byte [ebx], 0
push dword [edi]
call dword [0x40a7d8]
push ebx
call sub.on_to_save_the_files._strlen
pop ecx
sub esi, eax
push esi
call fcn.00407d20
pop esi
pop ebx
pop edi
ret 8
Function at 0x40626c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [0x40a858]
push 9
call esi
test al, al
jns 0x4062da
push 0x11
call esi
test al, al
js 0x4062da
push 0x10
call esi
test al, al
js 0x4062da
push 0x12
call esi
test al, al
js 0x4062da
mov esi, dword [0x40a878]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [0x40a880]
push 4
lea eax, [ebp - 8]
push str.Rich
push eax
call sub.on_to_save_the_files._strncmp
add esp, 0xc
test eax, eax
jne 0x4062da
push eax
push eax
push 0x44e
call esi
push eax
call dword [0x40a794]
test ax, 0x800
je 0x4062fe
push str.PB_WindowID
push dword [ebp + 8]
call dword [0x40a7f0]
test eax, eax
je 0x4062fe
dec eax
push eax
push dword [0x40b4cc]
call fcn.00406bc0
mov eax, dword [eax + 8]
jmp 0x406300
xor eax, eax
pop esi
leave
ret 4

Function at 0x406443
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x4064b6
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.on_to_save_the_files._strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.on_to_save_the_files._strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x406498
lea ecx, [eax - 1]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x406496
cmp dl, 0x5c
je 0x406496
cmp dl, 0x2f
jne 0x4064a2
mov eax, ecx
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x406482
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.m_nicht_untersttzt._CreateDirectoryA]
jmp 0x4064b8
xor eax, eax
leave
ret 4

Function at 0x4064c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x4064f5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.m_nicht_untersttzt._WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x406780
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
test esi, esi
mov dword [esp + 4], eax
je 0x4067c9
cmp byte [esi], al
je 0x4067c9
mov eax, dword [esp + 0xc]
mov ecx, dword [0x40b4dc]
push eax
push ecx
call fcn.00406bc0
test eax, eax
je 0x4067f7
cmp dword [eax + 4], 0
mov ecx, esi
push edi
lea edi, [ecx + 1]
je 0x4067d0
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4067b5
sub ecx, edi
push ecx
push esi
push eax
call fcn.00406860
pop edi
pop esi
pop ecx
ret 8
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4067d0
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
sub ecx, edi
push ecx
push esi
push eax
call dword [sym.imp.m_nicht_untersttzt._WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
Function at 0x406800
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x406859
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x406858
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40b4dc]
push eax
push ecx
call fcn.00406bc0
test eax, eax
je 0x406854
cmp dword [eax + 4], 0
je 0x406842
push esi
push edi
push eax
call fcn.00406860
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.m_nicht_untersttzt._WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc

Function at 0x406860
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x406895
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.m_nicht_untersttzt._SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x40690e
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x4068fb
sub ecx, 1
je 0x4068e6
sub ecx, 2
je 0x4068d3
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.on_to_save_the_files._memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.004064c0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x40693b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.m_nicht_untersttzt._WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.on_to_save_the_files._memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc