joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ed0
Capabilities:
Create thread

Disassembly:
sub esp, 0x44
mov eax, dword [0x451c10]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push 3
push 0x445808
push esi
mov ebp, ecx
call fcn.00441c34
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x404f50
lea eax, [esi + 3]
push eax
call fcn.0042ecb4
add esp, 4
cmp eax, 0xa
jl 0x404f50
mov dl, byte [0x445804]
mov ecx, dword [str.._]
mov eax, esi
mov byte [esp + 0x40], dl
mov dword [esp + 0x3c], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404f26
push edi
lea edi, [esp + 0x40]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x404f35
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x40]
pop edi
push ebx
push 0x40000000
push 3
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp], eax
cmp eax, 0xffffffff
jne 0x404f87
pop esi
mov dword [ebp], ebx
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0042cefe
add esp, 0x44
ret 8
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x58]
and eax, 0xfffff7fd
or eax, 1
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x28], 0x1c
mov dword [esp + 0x2c], esi
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3a], 8
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov edx, dword [ebp]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov eax, 0x4b00
cdq
idiv esi
mov ecx, dword [ebp]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push 1
push ebx
mov dword [ebp + 0x14], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
call esi
lea edx, [ebp + 0x2c]
push edx
push ebx
push ebp
push 0x404d80
push ebx
push ebx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042cefe
add esp, 0x44
ret 8
Function at 0x405990
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [esp + 0xc]
push ecx
push 4
lea edx, [esi + 0x3dc]
push edx
push eax
mov dword [esi + 0x3c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x41c], 0
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
add esp, 4
mov dword [esi + 0x3e4], eax
pop esi
ret 8

Function at 0x405a00
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
lea ecx, [esp + 0x14]
push ecx
push 4
lea ebp, [esi + 0x3dc]
push ebp
push eax
mov dword [esi + 0x3c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x14], 0
je 0x405b02
mov eax, dword [ebp]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
mov ecx, dword [ebp]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3ec], eax
call fcn.0042cf10
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0x10
cmp dword [ebp], edi
jle 0x405ae2
jmp 0x405a90
mov ecx, dword [esi + 0x3c8]
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esi + 0x3c8]
push 1
push 0
push 0xfffffffffffffffc
push edx
call ebx
mov eax, dword [esi + 0x3ec]
mov ecx, dword [esp + 0x18]
mov dword [eax + edi*4], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x3c8]
push 1
push 0
lea eax, [edx + edx]
push eax
push ecx
call ebx
inc edi
cmp edi, dword [ebp]
jl 0x405a90
mov edx, dword [esi + 0x3c8]
push 0
push 0
push 4
push edx
call ebx
pop ebx
pop edi
mov dword [esi + 0x41c], 0
pop esi
pop ebp
ret 8
mov dword [esi + 0x41c], edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x405b40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov esi, ecx
mov eax, dword [esi + 0x3c8]
push 0
push 4
push eax
mov byte [esi + 0x420], 0
mov dword [esi + 0x41c], ebx
call edi
cmp ebx, dword [esi + 0x3dc]
jge 0x405bc1
dec ebx
test ebx, ebx
jle 0x405bc1
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x3c8]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x3c8]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x3c8]
push 1
push 0
lea eax, [edx + edx]
push eax
push ecx
call edi
sub ebx, 1
jne 0x405b80
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4079a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0x3cc]
mov ecx, dword [ecx + 0x3d0]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
add ecx, ecx
push edi
mov dword [esp + 0x14], ecx
mov edi, eax
mov dword [esp + 0x10], 0x500
mov ecx, edi
mov esi, 0x180
mov edi, edi
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 5
mov ebp, eax
and ebx, 0xffc0f83f
and ebp, 0x7e0f81f
imul ebx, edx
imul ebp, edx
shr eax, 5
and eax, 0x7c0f83f
imul eax, edx
shr ebp, 5
xor ebx, ebp
and ebx, 0x7e0f81f
xor ebx, eax
mov dword [ecx], ebx
add ecx, 4
sub esi, 1
jne 0x4079d0
add edi, dword [esp + 0x14]
sub dword [esp + 0x10], 1
jne 0x4079c7
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x407d50
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push edi
push 0x44546c
push eax
mov edi, ecx
mov dword [esp + 0x10], 0
call fcn.0042dacf
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x407e8d
push ebx
push esi
push ebp
push 1
lea ebx, [edi + 0x3dc]
push 4
push ebx
call fcn.0042d9ee
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
xor esi, esi
add esp, 0x14
cmp dword [ebx], esi
mov dword [edi + 0x3e0], eax
jle 0x407e61
push ebp
push 1
lea eax, [esp + 0x20]
push 4
push eax
call fcn.0042d9ee
push 1
push 0xfffffffffffffffc
push ebp
call fcn.0042ed49
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
mov ecx, dword [edi + 0x3e0]
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x3e0]
push ebp
lea eax, [edx + edx]
mov edx, dword [ecx + esi*4]
push 1
push eax
push edx
call fcn.0042d9ee
add esp, 0x30
test esi, esi
jl 0x407e27
cmp esi, dword [ebx]
jge 0x407e27
mov eax, dword [edi + 0x3e0]
mov ecx, dword [eax + esi*4]
movzx eax, word [ecx + 4]
jmp 0x407e2c
mov eax, 0xffffffce
movsx edx, word [esp + 0x10]
cmp edx, eax
jge 0x407e58
test esi, esi
jl 0x407e4c
cmp esi, dword [ebx]
jge 0x407e4c
mov eax, dword [edi + 0x3e0]
mov ecx, dword [eax + esi*4]
movzx eax, word [ecx + 4]
jmp 0x407e51
mov eax, 0xffffffce
movzx edx, ax
mov dword [esp + 0x10], edx
inc esi
cmp esi, dword [ebx]
jl 0x407db7
movsx eax, word [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
push ebp
mov dword [edi + 0x3e4], eax
call fcn.0042d6d2
add esp, 8
pop esi
pop ebx
push 0x500
push 0x300
push 0
push 0
add edi, 0x3f0
push edi
call dword [sym.imp.USER32.dll_SetRect]
pop edi
pop ebp
pop ecx
ret 4
Function at 0x408960
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c8]
push edi
xor edi, edi
cmp eax, edi
je 0x408b43
push ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 0x25
ja 0x408b42
cmp byte [esp + 0x1c], 0
jne 0x408a8b
mov ecx, dword [esi + 0x3dc]
dec ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esi + 0x41c], ecx
jb 0x4089b7
push edi
push edi
push 4
push eax
mov byte [esi + 0x420], 0
mov dword [esi + 0x41c], edi
call ebp
mov eax, dword [esi + 0x3e8]
cmp eax, edi
je 0x4089d0
push eax
call fcn.0042cf8a
add esp, 4
mov dword [esi + 0x3e8], edi
mov ecx, dword [esi + 0x3c8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
mov edx, dword [esi + 0x3c8]
push 1
push 0
push 0xfffffffffffffffc
push edx
call ebp
mov eax, dword [esp + 0x20]
pop ebp
test eax, eax
jbe 0x408a57
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
mov edx, dword [esp + 0x20]
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3c8]
push ecx
push eax
push edx
mov dword [esi + 0x3e8], eax
call edi
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push 1
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408500
mov edx, dword [esi + 0x3dc]
mov ecx, 1
add dword [esi + 0x41c], ecx
mov eax, dword [esi + 0x41c]
sub edx, ecx
cmp eax, edx
jb 0x408b42
add word [esi + 0x406], cx
pop ebx
pop edi
mov byte [esi + 0x420], cl
pop esi
ret 0x10
mov eax, dword [esi + 0x3e8]
cmp eax, edi
je 0x408ab0
mov ecx, dword [esp + 0x10]
push ebx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00408500
pop ebx
pop edi
pop esi
ret 0x10
mov edx, dword [esi + 0x41c]
push edx
call fcn.00405b40
mov edx, dword [esi + 0x3c8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3c8]
push 1
push 0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
mov edx, dword [esp + 0x20]
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3c8]
push ecx
push eax
push edx
mov dword [esi + 0x3e8], eax
call edi
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
push 1
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408500
pop ebx
pop edi
pop esi
ret 0x10
Function at 0x408de0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x3c8], 0
je 0x408ea7
mov eax, dword [esi + 0x3dc]
push edi
dec eax
push eax
call fcn.00405b40
mov eax, dword [esi + 0x3c8]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push eax
call edi
mov ecx, dword [esi + 0x3c8]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cfb0
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3c8]
push ecx
push eax
push edx
mov dword [esi + 0x3e8], eax
call edi
mov eax, dword [esi + 0x3e8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 1
push eax
push ecx
push edx
mov ecx, esi
call fcn.00408230
mov eax, dword [esi + 0x3e8]
pop edi
test eax, eax
je 0x408ea7
push eax
call fcn.0042cf8a
add esp, 4
mov dword [esi + 0x3e8], 0
pop esi
add esp, 8
ret 8
Function at 0x422b60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x443fdb
mov eax, dword fs:[0]
push eax
mov eax, 0x13b8
call fcn.0042f270
mov eax, dword [0x451c10]
xor eax, esp
mov dword [esp + 0x13b4], eax
push ebx
push esi
push edi
mov eax, dword [0x451c10]
xor eax, esp
push eax
lea eax, [esp + 0x13c8]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x454be6], bl
jne 0x422d6d
push 0x445a28
push str.CodeGameSet.st
call fcn.0042dacf
add esp, 8
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.0042c590
mov dword [esp + 0x13d0], ebx
cmp esi, ebx
je 0x422d50
mov eax, dword [0x45640c]
mov ecx, dword [edi + 0x374]
mov dword [esp + 0x18], eax
mov eax, dword [0x453308]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 0x334]
push edx
push ecx
push 0x5367dd2
lea ecx, [esp + 0x50]
call fcn.0042c2f0
lea edx, [esp + 0x10]
push edx
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
call fcn.0042c2f0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
call fcn.0042c2f0
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], eax
call fcn.0042c2f0
lea edx, [esp + 0x10]
push edx
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], eax
call fcn.0042c2f0
mov ecx, dword [0x454bfc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0x5367dd2
lea ecx, [esp + 0x50]
call fcn.0042c2f0
lea edx, [esp + 0x10]
push edx
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], eax
call fcn.0042c2f0
mov ecx, dword [0x454c00]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0x5367dd2
lea ecx, [esp + 0x50]
call fcn.0042c2f0
lea edx, [esp + 0x10]
push edx
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], eax
call fcn.0042c2f0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ebx
push 0x5367dd2
lea ecx, [esp + 0x50]
call fcn.0042c2f0
push esi
mov dword [esp + 0x44], eax
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call fcn.0042f3fd
push esi
push 1
push 0x10
push 0x45188c
call fcn.0042f3fd
push esi
push 1
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.0042f3fd
add esp, 0x30
lea edi, [esp + 0x1c]
mov ebx, 0xa
push esi
push 1
push 4
push edi
call fcn.0042f3fd
add esp, 0x10
add edi, 4
sub ebx, 1
jne 0x422d31
push esi
call fcn.0042d6d2
add esp, 4
lea ecx, [esp + 0x44]
call fcn.0042ae40
lea ecx, [esp + 0x44]
mov dword [esp + 0x13d0], 0xffffffff
call fcn.0042c6f0
mov ecx, dword [esp + 0x13c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b4]
xor ecx, esp
call fcn.0042cefe
add esp, 0x13c4
ret
Function at 0x422e10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x37c]
sub eax, 1
je 0x422ee9
sub eax, 1
je 0x422e48
sub eax, 1
jne 0x422f08
mov ecx, dword [ecx + 0x378]
push ecx
push ecx
call fcn.004283b0
inc eax
add esp, 4
push eax
call fcn.00428390
add esp, 8
ret
mov edx, dword [ecx + 0x378]
xor eax, eax
cmp edx, eax
jne 0x422ea8
inc dword [ecx + 0x388]
cmp dword [ecx + 0x388], 5
jle 0x422f08
mov dword [ecx + 0x388], eax
mov ecx, dword [0x453308]
mov dword [0x4541e8], eax
mov dword [0x4541ec], eax
mov dword [0x4541f0], eax
mov dword [0x4541f4], eax
mov dword [0x4541f8], eax
mov dword [ecx + 0x5a4], eax
mov ecx, dword [0x453320]
call fcn.0040e660
mov ecx, dword [0x453320]
jmp fcn.0040e660
cmp edx, 2
jne 0x422f08
inc dword [ecx + 0x388]
cmp dword [ecx + 0x388], 5
jle 0x422f08
mov dword [ecx + 0x388], eax
mov edx, dword [0x453308]
mov dword [0x4541e8], eax
mov dword [0x4541ec], eax
mov dword [0x4541f0], eax
mov dword [0x4541f4], eax
mov dword [0x4541f8], eax
mov dword [edx + 0x5a4], eax
jmp 0x422e92
xor eax, eax
cmp dword [ecx + 0x378], eax
jne 0x422f08
inc dword [ecx + 0x370]
cmp dword [ecx + 0x370], 9
jle 0x422f08
mov dword [ecx + 0x370], eax
ret

Function at 0x422f10
Capabilities:
Write file on windows

Disassembly:
call fcn.00428180
add dword [0x4541f4], eax
call fcn.00428190
add dword [0x4541f8], eax
call fcn.00428180
add dword [0x45386c], eax
call fcn.00428190
add dword [0x453870], eax
mov ecx, dword [0x453308]
xor eax, eax
mov dword [0x456798], eax
mov dword [0x456790], eax
mov dword [ecx + 0x5a4], eax
mov ecx, dword [0x453320]
call fcn.0040e660
mov ecx, dword [0x453320]
jmp fcn.0040e660
Function at 0x4283d0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x454be0], 1
push esi
movzx esi, word [esp + 8]
push esi
jne 0x4283eb
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x4283f9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [esi*4 + 0x4538c8]
je 0x428424
test eax, eax
jne 0x428418
mov dword [esi*4 + 0x4538c8], 1
mov eax, 1
pop esi
ret
cmp eax, 1
jne 0x42842e
mov eax, 2
pop esi
ret
cmp eax, 1
je 0x428432
cmp eax, 2
je 0x428432
xor eax, eax
pop esi
ret
mov dword [esi*4 + 0x4538c8], 0
mov eax, 3
pop esi
ret
Function at 0x42cefe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451c10]
jne 0x42cf08
repz ret
jmp fcn.0042f728

Function at 0x43981d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043584a
and dword [ebp - 4], 0
cmp dword [0x457198], 0
mov ebx, eax
jne 0x4398ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43997f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44dd10
push edi
call esi
test eax, eax
je 0x43997f
push eax
call fcn.004357d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x457198], eax
call esi
push eax
call fcn.004357d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45719c], eax
call esi
push eax
call fcn.004357d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4571a0], eax
call esi
push eax
call fcn.004357d8
pop ecx
mov dword [0x4571a8], eax
test eax, eax
je 0x4398ce
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004357d8
pop ecx
mov dword [0x4571a4], eax
mov eax, dword [0x4571a4]
cmp eax, ebx
je 0x439926
cmp dword [0x4571a8], ebx
je 0x439926
push eax
call fcn.00435853
push dword [0x4571a8]
mov esi, eax
call fcn.00435853
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x439926
test edi, edi
je 0x439926
call esi
test eax, eax
je 0x43991d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43991d
test byte [ebp - 0xc], 1
jne 0x439926
or dword [ebp + 0x10], 0x200000
jmp 0x43995f
mov eax, dword [0x45719c]
cmp eax, ebx
je 0x43995f
push eax
call fcn.00435853
pop ecx
test eax, eax
je 0x43995f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43995f
mov eax, dword [0x4571a0]
cmp eax, ebx
je 0x43995f
push eax
call fcn.00435853
pop ecx
test eax, eax
je 0x43995f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x457198]
call fcn.00435853
pop ecx
test eax, eax
je 0x43997f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x439981
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xc42058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c421a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc4207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc4206a
add dl, dl
jne 0xc42089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc420dc
xor eax, eax
add dl, dl
jne 0xc42096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc4217d
add dl, dl
jne 0xc420a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc420b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc420bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc420c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc420d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc42075
mov eax, 1
add dl, dl
jne 0xc420ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc420f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc420e1
sub eax, ebx
mov ebx, 1
jne 0xc42128
mov ecx, 1
add dl, dl
jne 0xc4210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc42119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc42105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc42075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc4213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc4214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc42136
cmp eax, 0x7d00
jae 0xc4216d
cmp eax, 0x500
jb 0xc42168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc42075
cmp eax, 0x7f
ja 0xc42170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc42075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc4219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc42075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445090]
jne 0x401abf
repz ret
jmp fcn.004027e8

Function at 0x40a63c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404659
and dword [ebp - 4], 0
cmp dword [0x4491f8], 0
mov ebx, eax
jne 0x40a6ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a79e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a79e
push eax
call fcn.004045e7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4491f8], eax
call esi
push eax
call fcn.004045e7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4491fc], eax
call esi
push eax
call fcn.004045e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x449200], eax
call esi
push eax
call fcn.004045e7
pop ecx
mov dword [0x449208], eax
test eax, eax
je 0x40a6ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004045e7
pop ecx
mov dword [0x449204], eax
mov eax, dword [0x449204]
cmp eax, ebx
je 0x40a745
cmp dword [0x449208], ebx
je 0x40a745
push eax
call fcn.00404662
push dword [0x449208]
mov esi, eax
call fcn.00404662
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a745
test edi, edi
je 0x40a745
call esi
test eax, eax
je 0x40a73c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a73c
test byte [ebp - 0xc], 1
jne 0x40a745
or dword [ebp + 0x10], 0x200000
jmp 0x40a77e
mov eax, dword [0x4491fc]
cmp eax, ebx
je 0x40a77e
push eax
call fcn.00404662
pop ecx
test eax, eax
je 0x40a77e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a77e
mov eax, dword [0x449200]
cmp eax, ebx
je 0x40a77e
push eax
call fcn.00404662
pop ecx
test eax, eax
je 0x40a77e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4491f8]
call fcn.00404662
pop ecx
test eax, eax
je 0x40a79e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a7a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bbdf
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1f90004], 0x930
jne 0x40bbfc
push str.xafewibiwucijamojamejuhuyewo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1f90004], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1f8fe48], eax
jne 0x40bc1c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret