joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b2f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 8]
call fcn.00403d35
push 0x5b
push eax
mov dword [ebp - 8], eax
call fcn.00407830
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x403bf0
push esi
inc edi
push 0x5d
push edi
call fcn.00407830
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x403bef
mov byte [esi], bl
inc esi
push 0x3d
push esi
call fcn.00407830
pop ecx
pop ecx
cmp eax, ebx
je 0x403bef
mov byte [eax], bl
lea eax, [ebp - 4]
push eax
push 0x20006
push ebx
push edi
push dword [section..data]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403bb4
push ebx
push str.Could_not_open_key
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403be6
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x403bdd
cmp eax, 2
je 0x403bdd
push ebx
push str.Could_not_delete_value
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call fcn.00403d35
pop ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x403d35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x403d44
pop dword [ebp - 0xc]
mov eax, 0x403d44
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xfd4809e3
add dword [ebp - 0x1c], 0x510a3b68
mov dword [ebp - 0x18], 0x8bbd101c
sub dword [ebp - 0x18], 0x5989c3d7
mov dword [ebp - 0x14], 0xcddbf08e
sub dword [ebp - 0x14], 0x818fac60
mov dword [ebp - 0x10], 0xdfd1fde1
sub dword [ebp - 0x10], 0xdfd1fde1
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfb5c8497
sub dword [ebp - 0x1c], 0x86ea1b41
mov dword [ebp - 0x18], 0xc1d8580d
sub dword [ebp - 0x18], 0x806bf698
mov dword [ebp - 0x14], 0x4f569f1a
sub dword [ebp - 0x14], 0xebe732ae
mov dword [ebp - 0x10], 0x3513520c
add dword [ebp - 0x10], 0xcaecadf4
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x8e850643
sub eax, 0x8e42d51f
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3d8ef
push 0
call eax
mov ecx, 0xa4107864
add ecx, 0x5befce56
mov esi, eax
mov edi, 0xebb4170d
add edi, 0x148f2cf3
add edi, dword [ebp - 0xc]
mov edx, 0xbfcbb533
add edx, 0x36d3f362
xor dword [ebp - 4], ebx
mov ebx, dword [edi]
sub dword [ebp - 4], 0x67c2d947
sub ebx, edx
mov dword [esi], ebx
add dword [ebp - 4], esi
add esi, 0x55dcd144
add esi, 0xaa232ec0
add edi, 0x9e2d267c
add edi, 0x61d2d988
loop 0x403e5c
add eax, 0x716b8358
add eax, 0x8e958a63
mov ebx, eax
add eax, 5
mov ecx, 0xa7ecdf37
add ecx, 0x585320c9
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x1000e9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000e9bf
pop dword [ebp - 0xc]
mov eax, 0x1000e9bf
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xc9c19eee
add dword [ebp - 0x1c], 0x8490a65d
mov dword [ebp - 0x18], 0xb29a2d4b
sub dword [ebp - 0x18], 0x8066e106
mov dword [ebp - 0x14], 0x26f7f8cf
sub dword [ebp - 0x14], 0xdaabb4a1
mov dword [ebp - 0x10], 0x91df9121
sub dword [ebp - 0x10], 0x91df9121
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xe322310f
sub eax, 0xd320a0d3
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6a84b6b0
sub dword [ebp - 0x1c], 0xf6124d5a
mov dword [ebp - 0x18], 0x47526bee
sub dword [ebp - 0x18], 0x5e60a79
mov dword [ebp - 0x14], 0xe992a03a
add dword [ebp - 0x14], 0x79dccc32
mov dword [ebp - 0x10], 0x88eb2ff2
sub dword [ebp - 0x10], 0x88eb2ff2
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39b1d
push 0
call eax
mov ecx, 0x548a
xor edi, edi
add edi, eax
mov ebx, 0x5a34b2c4
add ebx, 0xb5cd753c
add ebx, dword [ebp - 0xc]
mov edx, 0x4f67429a
sub edx, 0xd927d593
xor dword [ebp - 4], ebx
mov esi, dword [ebx]
add dword [ebp - 4], eax
add esi, edx
sub dword [ebp - 8], eax
mov dword [edi], esi
xor dword [ebp - 4], 0x3e4d529c
add edi, 0x10e00c38
sub edi, 0x10e00c34
add ebx, 0xc997e2c2
add ebx, 0x36681d42
loop 0x1000ead3
add eax, 0x828114d4
add eax, 0x7d803027
mov ebx, eax
add eax, 0x47060b0c
add eax, 0xb8f9f4f9
mov ecx, 0xb413a26
add ecx, 0x4bec5da
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x401c80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x414891
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1fc
mov eax, dword [0x41b408]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x104]
push 0x104
push ecx
push 0
mov dword [esp + 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x104]
lea ecx, [esp + 0x10]
push edx
call fcn.00410cde
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x214], 1
call fcn.00410d5d
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 0
call fcn.00410c70
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0040c3d5
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.0040c35d
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x214], 2
call fcn.00410d5d
lea ecx, [esp + 0x10]
mov byte [esp + 0x210], 0
call fcn.00410c70
push str.config.ini
lea ecx, [esp + 0x10]
call fcn.00410e71
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push 0xa
push str.XNum
push str.WINDOW
call edi
mov edx, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
push edx
push 0xa
push str.YNum
push str.WINDOW
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0xc]
push eax
push 0xa
push str.MineNum
push str.MINE
call edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], eax
push ecx
push 0
push str.Level
push str.MINE
call edi
mov edx, dword [esp + 0xc]
mov dword [esi + 0x5c], eax
push edx
push 0x3e7
push str.Primary
push str.SCORE
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0xc]
push eax
push 0x3e7
push str.Second
push str.SCORE
call edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x64], eax
push ecx
push 0x3e7
push str.Advance
push str.SCORE
call edi
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x68], eax
push edx
lea eax, [esp + 0x18]
push 0x50
push eax
push 0x41b0b8
push str.PrimaryHolder
push str.HOLDER
call ebp
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xb4]
push ecx
push 0x50
push edx
push 0x41b0b8
push str.SecondHolder
push str.HOLDER
call ebp
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
push eax
push 0x50
push ecx
push 0x41b0b8
push str.AdvanceHolder
push str.HOLDER
call ebp
lea edx, [esp + 0x14]
lea ecx, [esi + 0x6c]
push edx
call fcn.00410dad
lea eax, [esp + 0xb4]
lea ecx, [esi + 0x70]
push eax
call fcn.00410dad
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esi + 0x74]
call fcn.00410dad
mov edx, dword [esp + 0xc]
push edx
push 0
push str.Markful
push str.CONFIG
call edi
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0xc]
push eax
push 1
push str.Colorful
push str.CONFIG
call edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x84], eax
push ecx
push 1
push str.Soundful
push str.CONFIG
call edi
lea ecx, [esp + 0xc]
mov dword [esi + 0x88], eax
mov dword [esp + 0x210], 0xffffffff
call fcn.00410c70
mov ecx, dword [esp + 0x208]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x208
ret
Function at 0x402840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3c]
mov edx, eax
mov dword [esp + 0x28], ecx
shl edx, 4
add edx, 0xc
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x40]
mov ecx, edx
mov dword [esp + 0x2c], 0x27
shl ecx, 4
add ecx, 0x37
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 0x37
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*4]
lea ecx, [ecx + ecx*4]
lea edi, [esi + ecx*4]
mov ecx, dword [esi + ecx*4 + 0xfc]
cmp ecx, 1
jne 0x402924
xor ebp, ebp
test edx, edx
jbe 0x402984
lea ecx, [esi + 0xf8]
mov ebx, 3
mov dword [esp + 0x34], ecx
xor edx, edx
test eax, eax
jbe 0x40290c
mov dword [edi + 0xf8], ebx
mov dword [edi + 0x100], ebx
cmp dword [ecx + 4], 1
jne 0x402901
cmp dword [ecx], 1
je 0x402901
mov dword [ecx], 5
mov dword [ecx + 8], 5
mov eax, dword [esi + 0x3c]
inc edx
add ecx, 0x14
cmp edx, eax
jb 0x4028dd
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x40]
inc ebp
add ecx, 0x7d0
cmp ebp, edx
mov dword [esp + 0x34], ecx
jb 0x4028d7
jmp 0x402984
xor ebp, ebp
test edx, edx
jbe 0x402984
lea ecx, [esi + 0xf8]
mov ebx, 4
mov dword [esp + 0x34], ecx
xor edx, edx
test eax, eax
jbe 0x40296e
mov dword [edi + 0xf8], ebx
mov dword [edi + 0x100], ebx
cmp dword [ecx + 4], 1
jne 0x402963
cmp dword [ecx], 1
je 0x402963
mov dword [ecx], 5
mov dword [ecx + 8], 5
mov eax, dword [esi + 0x3c]
inc edx
add ecx, 0x14
cmp edx, eax
jb 0x40293f
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x40]
inc ebp
add ecx, 0x7d0
cmp ebp, edx
mov dword [esp + 0x34], ecx
jb 0x402939
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [esp + 0x10]
push 1
push edx
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x20]
push 1
mov ebx, 2
push ecx
push edx
mov dword [esi + 0xd0], ebx
call edi
mov eax, dword [esi + 0x54]
mov dword [esi + 0x50], ebx
test eax, eax
je 0x4029cf
mov eax, dword [esi + 0x1c]
push 0x401
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4029ef
mov ecx, dword [esi + 0x30e38]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x402a00
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4149a0
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x40]
test eax, eax
jbe 0x402a5d
mov edi, dword [esi + 0x3c]
lea ebx, [esi + 0xf8]
xor edx, edx
test edi, edi
jbe 0x402a4f
mov ecx, ebx
mov eax, dword [ecx]
test eax, eax
je 0x402ac2
cmp eax, 2
je 0x402ac2
inc edx
add ecx, 0x14
cmp edx, edi
jb 0x402a38
mov eax, dword [esi + 0x40]
inc ebp
add ebx, 0x7d0
cmp ebp, eax
jb 0x402a30
mov eax, dword [esi + 0x1c]
push 1
mov ebx, 3
push 0
push eax
mov dword [esi + 0xd0], 1
mov dword [esi + 0x50], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x402a98
mov ecx, dword [esi + 0x1c]
push 0x401
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x54], edi
cmp dword [esi + 0x88], edi
je 0x402ab6
mov edx, dword [esi + 0x30e3c]
push 7
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
mov eax, dword [esi + 0x5c]
cmp eax, edi
jne 0x402ad7
mov eax, dword [esi + 0x60]
jmp 0x402aef
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
cmp eax, 1
jne 0x402ae1
mov eax, dword [esi + 0x64]
jmp 0x402aef
cmp eax, 2
jne 0x402aeb
mov eax, dword [esi + 0x68]
jmp 0x402aef
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x4c]
jbe 0x402ba3
push edi
lea ecx, [esp + 0x20]
call fcn.00401590
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x8c], edi
call fcn.004016d0
lea ecx, [esp + 0x1c]
call fcn.0040cf95
mov eax, dword [esi + 0x5c]
cmp eax, ebx
ja 0x402b63
jmp dword [eax*4 + 0x402c4c]
mov ecx, esi
call fcn.00404780
lea ecx, [esp + 0x7c]
mov dword [esp + 0x88], 7
call fcn.00410c70
mov byte [esp + 0x88], 6
lea ecx, [esp + 0x78]
call fcn.00410c70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0040cc68
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret

Function at 0x403930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00413410
mov esi, dword [eax + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0x41b224
push 0x8b
push esi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebp
push 0x41b224
push 0x8d
push esi
mov dword [edi + 0x30e38], eax
call ebx
push eax
push esi
call ebp
push 0x41b224
push 0x8c
push esi
mov dword [edi + 0x30e3c], eax
call ebx
push eax
push esi
call ebp
mov dword [edi + 0x30e40], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x408385
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41bbc8
cmp edx, dword [eax]
je 0x4083a7
add eax, 8
inc ecx
cmp eax, 0x41bc58
jl 0x408398
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41bbc8]
jne 0x4084d5
mov eax, dword [0x41e510]
cmp eax, 1
je 0x4084af
test eax, eax
jne 0x4083d8
cmp dword [0x41b7b8], 1
je 0x4084af
cmp edx, 0xfc
je 0x4084d5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40840f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409760
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408452
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409760
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x416f5c
push edi
call fcn.0040acd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a410
lea eax, [ebp - 0xa0]
push 0x416f3c
push eax
call fcn.0040a410
push dword [esi + 0x41bbcc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a410
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ac39
add esp, 0x2c
pop edi
jmp 0x4084d5
lea eax, [ebp + 8]
lea esi, [esi + 0x41bbcc]
push 0
push eax
push dword [esi]
call fcn.00409760
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40f6e8
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 0x40f72a
call fcn.00413410
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40f72a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40f721
xor eax, eax
jmp 0x40f732
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040f738
pop edi
pop esi
pop ebx
ret 4

Function at 0x413db4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x413de2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x413e00
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00413d1a
jmp 0x413e00
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413e00
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00413d1a
test edi, edi
mov eax, edi
jne 0x413dea
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40607b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422274], 0
push esi
jne 0x4060b2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40608c
mov dword [ecx*4 + 0x422270], eax
inc ecx
cmp ecx, 0x100
jl 0x406087
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060e3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422270]
xor eax, esi
inc ecx
dec edx
jne 0x4060c5
pop edi
not eax
pop esi
ret 0xc

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9

Function at 0x430a6e5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x430a6e6c
pop dword [ebp - 0x28]
mov eax, 0x430a6e6c
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x36c51
push 0
mov eax, 0xa1a65055
sub eax, 0x5e9c3fb5
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x44a4
mov ebx, eax
mov edx, 0x430ade00
add edx, dword [ebp - 0x28]
mov edi, 0x2858ccac
sub dword [ebp - 0x20], ecx
mov esi, dword [edx]
add dword [ebp - 0x10], ebx
sub esi, edi
xor dword [ebp - 0x18], esi
mov dword [ebx], esi
add dword [ebp - 0x1c], 0x9f2f4d18
add ebx, 4
add edx, 0x76f1870f
add edx, 0x890e78f5
loop 0x430a6eb4
add eax, 0x10563
xor ebx, ebx
add ebx, eax
add eax, 0x4329e6cd
sub eax, 0x4329e6c8
mov ecx, 0x430a0000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x438cad
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub ecx, 0x4f630506
or ecx, ecx
call fcn.00438cf3
push 0xa476c043
pop ebx
sub ecx, 0x58b0dcc1
inc ecx
xor dword [esi], eax
mov ebx, ecx
dec ebx
sub ecx, 0xce5d46c7
inc esi
sub ebx, 0xdb024968
add ecx, 0xc3d7eb2a
cmp esi, edi
jne fcn.00438cad
add ecx, ecx
ret
Function at 0x425100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42512d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42512d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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 0x10028aea
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067685
call fcn.10066518
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], 0x2367
cmp dword [ebp - 0x1c], 0x240c
push edi
mov dword [ebp - 0x10], esp
jle 0x10028b75
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
and dword [ebp - 0x24], 0
mov ecx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
shl esi, cl
mov eax, esi
mov ecx, 0x10657a98
xor eax, edi
or eax, ebx
cdq
push edx
push eax
call fcn.10028d21
inc edi
cmp edi, 0x182e
jl 0x10028b27
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6ad5
jl 0x10028b19
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0xaf7
jl 0x10028b14
inc ebx
cmp ebx, 0x7b2c
jl 0x10028b0f
push 0x1ccc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2199
jge 0x10028b91
mov edx, 0x100093a8
mov ecx, 0x10657a98
call fcn.10021f1c
fldz
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028fc7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100676c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10029016
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x7e03
push dword [ebp - 0x28]
push 0x6e77
push 0x47b3
push 0
push 0x59f1
call fcn.1003e57b
add esp, 0x18
jmp 0x100291a5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x100290c0
push 2
lea ecx, [ebp - 0x44]
call fcn.10010424
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x13638ecf
mov dword [ebp - 0x18], 0
jmp 0x10029055
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002906e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.1001048b
mov dword [eax], 0x342eb90d
jmp 0x1002904e
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10029080
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x1c], 1
jmp 0x10029090
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x100290ac
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100290aa
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10029089
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10010486
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0xf]
call fcn.1001049a
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x38]
call fcn.1001049d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x50]
call fcn.10010460
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
jmp 0x10029119
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002912c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x24], 0x90c4d8e5
jmp 0x10029112
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x24], 0
jmp 0x10029151
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x24], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24], 3
jg 0x10029199
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x10029175
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x10029197
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.1001048b
cmp dword [eax], 0
je 0x1002918d
jmp 0x10029197
cmp dword [ebp - 0x14], 0
je 0x10029195
jmp 0x10029197
jmp 0x1002916e
jmp 0x1002913c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10010486
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10030967
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100309a2
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1003098e
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x100309a0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x100309ba
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x3a29
push 1
call fcn.10028e36
add esp, 0xc
mov esp, ebp
pop ebp
ret