joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f5da
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x581d87
call fcn.0054d830
mov ebx, ecx
cmp dword [0x63ccb0], 0
je 0x43f722
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x43f60d
xor eax, eax
jmp 0x43f71c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43f606
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43f722
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x63ccb0]
call fcn.0047604f
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.0054d7f3
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.00413acd
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.0054d7f3
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.0054d7f3
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1132
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.0054d7f3
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404600
xor eax, eax
inc eax
call fcn.0054d7f9
ret
call fcn.00414199
int3

Function at 0x43f972
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x634f58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43f9d8
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x43f9bb
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43f9c0
push 0x596878
call fcn.0041326d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054cfc8
mov esp, ebp
pop ebp
ret 8
call fcn.00414199
int3
Function at 0x44ed91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x44edaa
call fcn.004166a7
mov esi, dword [eax + 0xc]
push 0x59892c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44ee00
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44edff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44ede0
xor esi, esi
jmp 0x44edf6
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044ee08
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472a47
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x104
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [esi + 4]
cmp eax, edx
ja 0x472c29
je 0x472c53
cmp eax, 0xa1
jb 0x472c96
cmp eax, 0xa2
jbe 0x472c53
cmp eax, 0xa3
jbe 0x472c96
cmp eax, 0xa5
jbe 0x472c53
cmp eax, 0xa6
jbe 0x472c96
cmp eax, 0xa8
jbe 0x472c53
cmp eax, 0x100
jne 0x472c96
cmp dword [edi + 0xc0], 0xffffffff
je 0x472c53
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x472c51
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x472b9a
sub eax, 1
jne 0x472c51
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x472b27
mov eax, ecx
cdq
idiv esi
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
test eax, eax
jne 0x472b38
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0xc0]
inc ecx
mov esi, dword [edi + 0xbc]
add eax, esi
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x472afb
jmp 0x472b92
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041ea13
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x472cbc
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x472bdb
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 8], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
test eax, eax
jne 0x472be2
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x472bad
jmp 0x472b92
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041ea13
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x472b7a
cmp eax, 0x200
jb 0x472c96
cmp eax, 0x202
jbe 0x472c53
cmp eax, 0x203
jbe 0x472c96
cmp eax, 0x205
jbe 0x472c53
add eax, 0xfffffdf9
cmp eax, 1
ja 0x472c96
jmp 0x472c53
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x472c73
cmp dword [eax + 0x20], 0
je 0x472c73
push esi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x472c94
cmp dword [eax + 0x20], 0
je 0x472c94
push esi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [esi + 4], 0x203
jne 0x472cb4
lea eax, [edi + 0x2250]
test eax, eax
je 0x472cac
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x472b92
push esi
mov ecx, edi
call fcn.0046a8f3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x476be2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x634f58]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x476c05
xor eax, eax
jmp 0x476cd6
cmp dword [ebp + 0xc], 0
je 0x476bfe
xor esi, esi
call fcn.004166a7
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x476bfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x476bfe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x476cec
push eax
call fcn.0055d460
pop ecx
lea edx, [eax + 1]
lea eax, [edx + edx]
mov dword [ebp - 0xc], edx
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
and eax, ecx
je 0x476c96
cmp eax, 0x400
ja 0x476c7b
call fcn.0054dcd0
mov edi, esp
test edi, edi
je 0x476c91
mov dword [edi], 0xcccc
jmp 0x476c8e
push eax
call fcn.0055d2ae
mov edi, eax
pop ecx
test edi, edi
je 0x476c91
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x476c98
mov edi, esi
test edi, edi
je 0x476cec
push edx
push dword [ebp - 8]
push edi
call fcn.004148b5
mov dword [ebp - 8], eax
test eax, eax
je 0x476cc6
mov esi, dword [ebp - 0x10]
push eax
call fcn.00559339
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.00413bce
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.00478631
pop ecx
mov eax, esi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cfc8
mov esp, ebp
pop ebp
ret 8
call fcn.00414199
int3
Function at 0x487e0f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push 5
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x487e66
push edi
push esi
call fcn.00421e75
mov edi, eax
test edi, edi
je 0x487e56
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x487e53
mov eax, esi
cmp ebx, eax
je 0x487e6e
push eax
call fcn.00420744
test eax, eax
jne 0x487e45
mov ebx, dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x487e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x18000000
cmp dword [ebp + 8], 0
jne 0x487e98
cmp eax, 0x10000000
jne 0x487e53
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x60], 2
jmp 0x487e53
test eax, eax
jne 0x487e53
test byte [edi + 0x60], 2
mov ebx, dword [ebp - 4]
je 0x487e56
cmp dword [ebx + 0xe0], eax
jne 0x487e56
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x60], 0xfffffffd
jmp 0x487e56
Function at 0x49136f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00491057
xchg ecx, eax
shl byte [eax + esi*4], cl
lea eax, [ebp - 0x40]
push eax
call fcn.00491067
push eax
push esi
push dword [ebp + 8]
call fcn.0049101c
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00491057
test bh, bl
shr byte [eax], 0x8d
inc ebp
call 0x5131714d
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00491067
push eax
push esi
push dword [ebp + 8]
call fcn.0049101c
push cs
cld
invalid
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00491067
push eax
push esi
push dword [ebp + 8]
call fcn.0049101c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4914f2
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00491067
push eax
push esi
push dword [ebp + 8]
call fcn.0049101c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00491057
pop ecx
cmp edx, edx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00491057
mov dl, 0x4a
cdq
in al, 0x8d
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x4918d5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebx, 0x40fffffc
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00491067
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0049101c
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
inc dword [eax]
Function at 0x4e85dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ecx + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4e85ef
xor eax, eax
jmp 0x4e863e
mov eax, dword [ecx + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
call fcn.0041da9a
mov ebx, eax
test ebx, ebx
je 0x4e861d
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054d7f3
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4e861f
xor eax, eax
test eax, eax
je 0x4e8626
mov eax, dword [eax + 0x20]
push 1
push esi
push dword [ebp - 8]
push edi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
sbb eax, eax
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4e881b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x588999
call fcn.0054d864
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041496f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x610a5c
call fcn.0041f424
cmp eax, 0xffffffff
jne 0x4e88f4
push 0
push 0x5988e8
lea ecx, [ebp - 0x4d0]
call fcn.0041f424
cmp eax, 0xffffffff
jne 0x4e88f4
push 0
push 0x591420
lea ecx, [ebp - 0x4d0]
call fcn.0041f424
cmp eax, 0xffffffff
jne 0x4e88f4
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0041496f
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e88c3
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054d7f3
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404600
jmp 0x4e892c
lea eax, [ebp - 0x218]
push eax
call fcn.00559339
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00413bce
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404600
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e891a
mov edi, dword [ebp - 0x4cc]
jmp 0x4e892c
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054d7f3
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404600
mov eax, edi
call fcn.0054d80e
ret
Function at 0x4f8a3a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4f8af8
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4f8aed
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4f8aed
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4f8aed
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4f8ac1
sub eax, 1
je 0x4f8a8d
sub eax, 1
jne 0x4f8aed
mov edi, 0x428e
jmp 0x4f8ac6
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4f8ac6
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.0054d7f3
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4f8ac6
add edi, 3
jmp 0x4f8ac6
mov edi, 0x3ea0
push edi
call fcn.00414427
test eax, eax
je 0x4f8af8
push edi
push eax
mov ecx, 0x63e1a0
call fcn.00413a2c
test eax, eax
je 0x4f8af8
mov eax, dword [0x63e1a0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4f8aef
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00414199
int3

Function at 0x503f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x503f6f
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00559339
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x503f64
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x503f52
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00414199
int3
Function at 0x54e79c
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x58c77d
call fcn.0054d864
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x54e8c6
cmp byte [edi + 0x3d], bl
je 0x54e8c6
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.0054d7f3
mov ecx, edi
call esi
cmp eax, 0xffffffff
jne 0x54e7df
xor al, al
jmp 0x54e8c8
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00402280
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp ecx, 0x10
jb 0x54e814
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x54e81e
mov edx, eax
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov esi, dword [edi]
push eax
push edx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.0054d7f3
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x54e84d
sub eax, 1
jne 0x54e8ab
mov edi, dword [ebp - 0x30]
jmp 0x54e853
mov edi, dword [ebp - 0x30]
mov byte [edi + 0x3d], bl
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x54e863
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x54e88d
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x54e874
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.0055ef56
add esp, 0x10
cmp esi, eax
jne 0x54e8b6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3d], 0
je 0x54e8b4
test esi, esi
jne 0x54e806
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.004105a0
jmp 0x54e800
dec eax
sub eax, 1
jne 0x54e8ba
inc eax
jmp 0x54e8b8
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00402770
mov al, bl
jmp 0x54e8c8
mov al, 1
call fcn.0054d80e
ret
Function at 0x550630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x634f58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push 0x10
mov dword [ebp - 0x40], edi
lea eax, [edi + 0x3c8]
push eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x34]
push eax
call fcn.005522c0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test ebx, ebx
jle 0x550794
mov edx, dword [ebp + 0xc]
dec ebx
add edx, 2
shr ebx, 4
add esi, 2
mov dword [ebp - 0x38], edx
inc ebx
mov dword [ebp - 0x3c], ebx
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00550610
add esp, 8
xor edi, edi
nop word [eax + eax]
mov al, byte [ebp + edi - 0x34]
xor al, byte [ebp + edi - 0x14]
mov edx, dword [ebp + edi - 0x34]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shr ecx, 8
shr eax, 8
xor cl, al
mov eax, edx
mov byte [esi], cl
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x10
xor cl, al
shr ebx, 0x18
mov eax, dword [ebp + edi - 0x24]
shr edx, 0x18
xor bl, dl
mov dword [ebp + edi - 0x34], eax
mov byte [esi - 1], cl
add edi, 4
mov byte [esi - 2], bl
add esi, 4
cmp edi, 0x10
jl 0x550730
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x550683
push 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.005522c0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054cfc8
mov esp, ebp
pop ebp
ret
Function at 0x55744e
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6047b4
push 0x6047ac
push str.FlsAlloc
push 0
call fcn.005573c7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x557480
push dword [ebp + 8]
mov ecx, esi
call fcn.0054d7f3
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x5574c2
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6047c4
push 0x6047bc
push str.FlsGetValue
push 2
call fcn.005573c7
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x5574f3
mov ecx, esi
call fcn.0054d7f3
call esi
jmp 0x5574f9
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x5574fc
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6047cc
push 0x6047c4
push str.FlsSetValue
push 3
call fcn.005573c7
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x557530
mov ecx, esi
call fcn.0054d7f3
call esi
jmp 0x557536
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x570e70
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00570b2f

Function at 0x570e7b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00570cb2

Function at 0x574888
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005741a0

Function at 0x574893
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005743df
Function at 0x4076a2
Capabilities:
Parse pe header

Disassembly:
push 0
push ebp
call fcn.004d2c26
test eax, eax
je 0x4076e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4076e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4076e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4076e2
cmp dword [ecx + 0x74], 0xe
jbe 0x4076e2
cmp dword [ecx + 0xe8], 0
je 0x4076e2
mov al, 1
ret
xor al, al
ret

Function at 0x4171e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417057