joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4264e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4265e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409e5c
lea eax, [ebp - 4]
call fcn.00409f78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4bc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4265d2
mov eax, ebx
call fcn.00406e10
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4265cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4bc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4265b5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4265fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4265b5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4265d2
mov eax, dword [ebp - 0x10]
call fcn.00406e2c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4265ef
lea eax, [ebp - 4]
call fcn.00409a34
ret

Function at 0x427374
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409f04
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040efb8
mov edi, eax
cmp edi, 0x104
jbe 0x42731f
mov eax, edi
add eax, eax
call fcn.00406e10
mov esi, eax
jmp 0x427321
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040efb8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42735a
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x427344
mov eax, esp
cmp esi, eax
je 0x427367
mov eax, esi
call fcn.00406e2c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4273a0
cmp bl, 0
je 0x42739c
cmp bl, 0x41
jl 0x427397
cmp bl, 0x5a
jg 0x427397
or bl, 0x20
xor al, bl
inc esi
jmp 0x42737b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4272e0

Function at 0x427c98
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a560
add esp, 0x800
pop ebx
ret
Function at 0x480f7c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x480f84
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b382c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b386f
cmp byte [ebx + 0x11], 0
jne 0x4b386f
cmp byte [ebx + 0x2c], 0
jne 0x4b386f
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b3886
mov ecx, dword [0x4dca18]
mov dl, 1
mov eax, dword [0x48e56c]
call fcn.0042553c
call fcn.004090b0
pop ebx
ret
mov ecx, dword [0x4dca18]
mov dl, 1
mov eax, dword [0x48e56c]
call fcn.0042553c
call fcn.004090b0
pop ebx
ret

Function at 0x4b40b8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b4106
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b36ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b411f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b4128
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b36ac
dec esi
jne 0x4b414a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x7fa6ef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.007fa76e
jae 0x7fa6fb
xor ecx, ecx
call fcn.007fa76e
jae 0x7fa725
xor eax, eax
call fcn.007fa76e
jae 0x7fa736
mov al, 0x10
call fcn.007fa76e
adc al, al
jae 0x7fa717
jne 0x7fa763
stosb byte es:[edi], al
jmp 0x7fa6fc
call fcn.007fa77a
dec ecx
loop 0x7fa742
mov eax, ebp
call fcn.007fa778
jmp 0x7fa764
lodsb al, byte [esi]
shr eax, 1
je 0x7fa78a
adc ecx, 2
mov ebp, eax
jmp 0x7fa764
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.007fa778
cmp eax, 0x7d00
jae 0x7fa762
cmp eax, 0x500
jae 0x7fa763
cmp eax, 0x7f
ja 0x7fa764
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7fa6fc
pop ebp
ret 8
Function at 0x402175
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4021b4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4021b4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4021b4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4021b4
cmp dword [ecx + 0x74], 0xe
jbe 0x4021b4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x6826f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20f000]
push edi
or ebp, 0xffffffff
jmp 0x682712
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x682719
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x682708
mov eax, 1
add ebx, ebx
jne 0x68272b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x68273c
jne 0x68275b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68275b
dec eax
add ebx, ebx
jne 0x682748
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x682720
add ebx, ebx
jne 0x682757
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6827ad
xor ecx, ecx
sub eax, 3
jb 0x682773
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6827e2
sar eax, 1
mov ebp, eax
jmp 0x68277e
add ebx, ebx
jne 0x68277e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68274c
inc ecx
add ebx, ebx
jne 0x68278c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68274c
add ebx, ebx
jne 0x682799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x68278e
jne 0x6827aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x68278e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6827cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6827be
jmp 0x68270e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6827cc
add edi, ecx
jmp 0x68270e
pop esi
mov edi, esi
mov ecx, 0x271fee
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x682807
cmp byte [edi], 0x18
jne 0x6827ec
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x6827ea
lea edi, [esi + 0x280000]
mov eax, dword [edi]
or eax, eax
je 0x682858
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x284570]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2845ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x68280d
mov ecx, edi
jns 0x68283c
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2845b0]
or eax, eax
je 0x682852
mov dword [ebx], eax
add ebx, 4
jmp 0x68282a
call dword [esi + 0x2845c0]
mov ebp, dword [esi + 0x2845b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x68288c
sub esp, 0xffffff80
jmp 0x407c14
Function at 0x884960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8c8cd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x8e2014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x8e30bc
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00897f30
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x8e2a8c
push eax
call fcn.00897f30
mov esi, dword [0x8e30cc]
xor ebx, ebx
mov edi, dword [0x8e30d0]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x8e6360], bl
mov eax, ebx
mov ecx, 0x8e30bc
cmovae ecx, dword [0x8e30bc]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x8e6470], al
inc ebx
cmp ebx, 0x100
jl 0x8849e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x8e6360]
movzx eax, byte [esi + 0x8e6470]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x884a34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x8e6360]
mov byte [esi + 0x8e6360], al
inc esi
mov byte [edi + 0x8e6360], dl
cmp esi, 0x100
jl 0x884a10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00884650
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x884a89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x884a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x884adf
push edx
push ecx
call fcn.0089d593
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x884acb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x884ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x884adf
push edx
push ecx
call fcn.0089d593
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.008b6b9a
int3
Function at 0x887070
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x8e2014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x790804
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x887259
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x887259
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.008b4020
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x790925
nop
test eax, eax
je 0x887259
push 4
push 0x1000
push 4
push 0
call 0x79010a
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x3e0098
nop
test eax, eax
je 0x887259
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x8d8da0
push dword [esp + 0x30]
call 0x3e04b3
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x88717c
push 0x8d8da4
push 0x8d8dbc
call 0x4e0bec
nop
push eax
call 0x3e02e3
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x3e0396
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x887259
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x790739
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x887213
mov dword [esp + 0xc], eax
call fcn.00886ec0
push eax
call 0x450a38
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x790739
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x8871c2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x790739
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x3e0721
nop
push dword [esp + 0x24]
call 0x4e0ce4
nop
push 0x8000
push 0
push esi
call 0x790672
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0089cf21
mov esp, ebp
pop ebp
ret
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x6ae2520e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x7c527fa4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401190
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x4343a0]
test eax, eax
push esi
push edi
je 0x4011eb
mov eax, dword [esp + 0x10]
mov edx, dword [0x433054]
mov ecx, dword [0x433058]
lea esi, [edx + eax]
cmp esi, ecx
jl 0x4011b6
sub ecx, edx
mov eax, ecx
test eax, eax
jle 0x40125f
mov esi, dword [0x433050]
mov edi, dword [esp + 0xc]
add esi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x433054]
add ecx, eax
pop edi
mov dword [0x433054], ecx
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push eax
push ecx
push 1
push esi
call fcn.0041fc75
mov edi, eax
mov eax, dword [0x434390]
add esp, 0x10
test eax, eax
je 0x40125d
test edi, edi
jle 0x40125d
mov edx, dword [0x4341fc]
mov eax, dword [0x4341e0]
lea ecx, [eax + edx]
mov edx, dword [0x4341ec]
mov eax, dword [0x4341e8]
add eax, edx
and ecx, 0xff
and eax, 0xff
test edi, edi
jle 0x40125d
mov dl, byte [0x4341f4]
push ebx
push ebp
mov ebp, edi
mov bl, byte [esi]
xor bl, cl
sub bl, al
add dl, bl
mov byte [esi], dl
inc esi
dec ebp
jne 0x401247
pop ebp
mov byte [0x4341f4], dl
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x40fa90
Capabilities:
Create process on windows

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x3c
test cl, 2
mov eax, 0xa
je 0x40faa6
mov eax, 2
cmp byte [esi], 0
je 0x40fb0c
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x434be4]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], edx
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
pop edi
jne 0x40fb6b
push 0x4316c4
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0xe
call fcn.00420130
test cl, 0x10
push eax
je 0x40fb29
push 0x42c3a1
push 0x42c3a1
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40fb4f
test cl, 0x20
je 0x40fb48
push 0x42c3a1
push 0x42c3a1
push edx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40fb4f
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jge 0x40fb6b
push 0x4316c4
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0xe
call fcn.00420130
add esp, 0x3c
ret
Function at 0x412f80
Capabilities:
Log keystrokes

Disassembly:
push ecx
push edi
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x434c08]
test byte [eax + 0x30c], 2
je 0x41300c
mov edx, dword [esi + 4]
cmp edx, 0x200
mov edi, dword [0x434c00]
jne 0x412fed
test edi, edi
movzx eax, word [esi + 0xc]
movzx ecx, word [esi + 0xe]
jne 0x412fe2
cmp dword [0x434bf8], eax
jne 0x412fcb
cmp dword [0x434bfc], ecx
je 0x412fed
push 0x4316c4
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00420130
mov dword [0x434bf8], eax
mov dword [0x434bfc], ecx
cmp edx, 0x100
jne 0x41300c
test edi, edi
jne 0x41300c
push 0x4316c4
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], edi
call fcn.00420130
cmp dword [esi + 4], 0x100
jne 0x41304a
cmp dword [esi + 8], 9
jne 0x413020
call fcn.00412cd0
push 2
call fcn.00403cc0
add esp, 4
test eax, eax
je 0x41304a
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push eax
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 2
call fcn.00404a50
add esp, 0x10
pop edi
pop ecx
ret
Function at 0x413050
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
cmp dword [edi + 0xec], 9
je 0x4131fb
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebp, dword [sym.imp.WINMM.dll_timeGetTime]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4130a4
cmp dword [esp + 0x1c], 0x12
je 0x41320d
lea esi, [esp + 0x18]
call fcn.00412f80
jmp 0x4131ee
mov eax, dword [edi + 0xec]
dec eax
cmp eax, 7
ja case.0x4130b4.4
jmp dword [eax*4 + 0x41326c]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
cmp dword [esp + 0x1c], 0x12
je 0x413224
lea esi, [esp + 0x18]
call fcn.00412f80
cmp dword [edi + 0xec], 3
je case.0x4130b4.3
push 0xff
push 0x3e8
push 0
push 0
push 0
call ebx
jmp 0x4131ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00403a40
add esp, 4
mov dword [edi + 0xec], eax
cmp dword [0x43313c], 0xffffffff
jne 0x41317a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push esi
call fcn.00403a80
add esp, 4
test eax, eax
je 0x413153
mov edx, dword [edi + 0xf8]
push 0xff
sub edx, esi
push edx
push 0
push 0
push 0
call ebx
jmp 0x4131ee
mov eax, dword [0x434c08]
test byte [eax + 0x30c], 2
je 0x4131ee
mov eax, dword [0x434c00]
test eax, eax
je 0x4131ee
dec eax
mov dword [0x434c00], eax
jmp 0x4131ee
call ebp
mov esi, eax
add esi, 5
push esi
call fcn.00403a80
add esp, 4
test eax, eax
je 0x4131a6
mov ecx, dword [edi + 0xf8]
push 0xff
sub ecx, esi
push ecx
push 0
push 0
push 0
call ebx
jmp 0x4131ee
call ebp
cmp eax, dword [edi + 0xf8]
jge 0x4131c2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
cmp eax, dword [edi + 0xf8]
jl 0x4131b0
mov edx, dword [0x434c08]
mov dword [edi + 0xfc], eax
mov dword [edi + 0xec], 0
test byte [edx + 0x30c], 2
jmp 0x41315f
mov dword [edi + 0xec], 3
cmp dword [edi + 0xec], 9
jne 0x413074
mov dword [edi + 0xec], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x4316c4
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0
call fcn.00420130
push 0x4316c4
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0
call fcn.00420130
push 0x4316c4
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0xa
call fcn.00420130
push 0x4316c4
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x2a
call fcn.00420130
lea ecx, [ecx]
add eax, 0x1a004131
xor dword [ecx], eax
sal byte [eax], 0x41
add byte [83902770], al
xor al, byte [ecx]
cmp esi, dword [edx]
inc ecx
add byte [edx + 0x32], dl
inc ecx
add ah, ah
xor dword [ecx], eax
int3