joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d803
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x42d963
mov ecx, 0x630670
call fcn.004154d5
mov esi, eax
test esi, esi
je 0x42d958
xor eax, eax
cmp word [esi + 8], ax
jne 0x42d922
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42d8c4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x42d88a
push 0x58b8b0
call fcn.0042d9a3
pop ecx
test eax, eax
je 0x42d88a
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x42d8a5
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42d8c4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x42d8ca
push ebx
push edi
push eax
call fcn.0042bf45
add esp, 0xc
jmp 0x42d8ca
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.0041293c
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
mov dword [esi + 4], edx
test edx, edx
je 0x42d95d
mov eax, dword [edi]
push eax
mov ecx, dword [eax - 0xc]
lea eax, [ecx + 1]
push eax
push edx
call fcn.005593f9
add esp, 0xc
test eax, eax
je 0x42d917
cmp eax, 0xc
je 0x42d95d
cmp eax, 0x16
je 0x42d958
cmp eax, 0x22
je 0x42d958
cmp eax, 0x50
jne 0x42d958
mov ax, word [ebx]
mov word [esi + 8], ax
xor eax, eax
jmp 0x42d925
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x42d933
push edi
call fcn.00555439
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00411e7e
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.00412449
call fcn.00412463
int3
Function at 0x42e40b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6318e0], 0
push edi
mov edi, ecx
jne 0x42e424
xor eax, eax
jmp 0x42e4be
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0041cb68
push ebx
push 1
mov ecx, edi
call fcn.0042e3a7
push eax
call fcn.00440ce6
push eax
mov ecx, edi
call fcn.0042f173
push 1
push ebx
mov ecx, edi
call fcn.0042e3a7
push eax
call fcn.00440ce6
push eax
mov ecx, edi
call fcn.0042f173
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42e4b9
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x42e4b9
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6318e0]
call fcn.0047438d
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42e574
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x629f58]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ecx, ecx
je 0x42e7ac
test ebx, ebx
je 0x42e7ac
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], edi
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x630], edi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], edi
mov dword [ebp - 0x864], edi
mov dword [ebp - 0x860], edi
sub eax, edi
je 0x42e775
sub eax, 1
je 0x42e60c
sub eax, 1
je 0x42e6dd
sub eax, 1
jne 0x42e797
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42e770
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00418c8e
test eax, eax
je 0x42e770
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42e76b
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00418c8e
test eax, eax
je 0x42e76b
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x42e734
test byte [ebp - 0x624], 0x10
jne 0x42e770
test byte [ebp - 0x854], 0x10
jne 0x42e6d6
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x42e6d6
jb 0x42e770
cmp dword [ebp - 0x62c], eax
jb 0x42e770
cmp dword [ebp - 0x628], ecx
jb 0x42e797
ja 0x42e6d6
cmp dword [ebp - 0x62c], eax
jbe 0x42e797
mov edi, edx
jmp 0x42e797
mov esi, 0x408
lea eax, [ebp - 0xddc]
push esi
push 0x2b4
push eax
push edi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x42e797
push esi
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x42e797
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x42e797
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x42e6d6
jl 0x42e770
cmp dword [ebp - 0x63c], eax
jb 0x42e770
cmp dword [ebp - 0x638], ecx
jl 0x42e797
jg 0x42e6d6
cmp dword [ebp - 0x63c], eax
jmp 0x42e6d0
xor edi, edi
inc edi
jmp 0x42e797
or edi, 0xffffffff
jmp 0x42e797
mov eax, dword [ecx]
push dword [ebx + 8]
push dword [ecx + 8]
mov esi, dword [eax]
push edi
push eax
mov ecx, dword [esi + 0x1c]
call fcn.0054baae
call dword [esi + 0x1c]
test eax, eax
jns 0x42e794
xor eax, eax
jmp 0x42e799
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054b283
mov esp, ebp
pop ebp
ret 0xc
call fcn.00412449
int3

Function at 0x42f0fb
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00474a47
call fcn.004149a2
cmp dword [eax + 0x14], 0
jne 0x42f116
mov ecx, esi
pop esi
jmp fcn.0042e40b
pop esi
ret
Function at 0x43d88b
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x579497
call fcn.0054baeb
mov ebx, ecx
cmp dword [0x6318e0], 0
je 0x43d9d3
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x43d8be
xor eax, eax
jmp 0x43d9cd
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43d8b7
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43d9d3
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6318e0]
call fcn.004742fe
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.0054baae
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.00411d7d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.0054baae
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.0054baae
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.0054baae
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404520
xor eax, eax
inc eax
call fcn.0054bab4
ret
call fcn.00412449
int3

Function at 0x43dc23
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x629f58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43dc89
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 0x43dc6c
lea eax, [ebp - 0x2ac]
push eax
jmp 0x43dc71
push 0x58e818
call fcn.0041151d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054b283
mov esp, ebp
pop ebp
ret 8
call fcn.00412449
int3
Function at 0x44d040
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 0x44d059
call fcn.00414954
mov esi, dword [eax + 0xc]
push 0x5908cc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x44d0af
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44d0ae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44d08f
xor esi, esi
jmp 0x44d0a5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044d0b7
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 0x470cf6
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 0x470ed8
je 0x470f02
cmp eax, 0xa1
jb 0x470f45
cmp eax, 0xa2
jbe 0x470f02
cmp eax, 0xa3
jbe 0x470f45
cmp eax, 0xa5
jbe 0x470f02
cmp eax, 0xa6
jbe 0x470f45
cmp eax, 0xa8
jbe 0x470f02
cmp eax, 0x100
jne 0x470f45
cmp dword [edi + 0xc0], 0xffffffff
je 0x470f02
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x470f00
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x470e49
sub eax, 1
jne 0x470f00
mov eax, dword [edi + 0xc0]
lea ecx, [eax + 1]
jmp 0x470dd6
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.0054baae
mov ecx, edi
call esi
test eax, eax
jne 0x470de7
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 0x470daa
jmp 0x470e41
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041ccc0
mov ecx, dword [edi]
mov esi, dword [ecx + 0x270]
push dword [edi + 0xc0]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x470f6b
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
dec eax
add eax, ecx
cmp eax, ecx
jmp 0x470e8a
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.0054baae
mov ecx, edi
call esi
test eax, eax
jne 0x470e91
mov eax, dword [ebp - 4]
dec eax
cmp eax, dword [edi + 0xc0]
mov dword [ebp - 4], eax
jg 0x470e5c
jmp 0x470e41
mov eax, dword [edi]
push dword [ebp - 8]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call fcn.0054baae
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041ccc0
mov eax, dword [edi]
mov esi, dword [eax + 0x270]
jmp 0x470e29
cmp eax, 0x200
jb 0x470f45
cmp eax, 0x202
jbe 0x470f02
cmp eax, 0x203
jbe 0x470f45
cmp eax, 0x205
jbe 0x470f02
add eax, 0xfffffdf9
cmp eax, 1
ja 0x470f45
jmp 0x470f02
xor ecx, ecx
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x470f22
cmp dword [eax + 0x20], 0
je 0x470f22
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 0x470f43
cmp dword [eax + 0x20], 0
je 0x470f43
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 0x470f63
lea eax, [edi + 0x2250]
test eax, eax
je 0x470f5b
mov ecx, dword [eax + 0x20]
cmp dword [esi], ecx
je 0x470e41
push esi
mov ecx, edi
call fcn.00468ba2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x474e91
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x629f58]
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 0x474eb4
xor eax, eax
jmp 0x474f85
cmp dword [ebp + 0xc], 0
je 0x474ead
xor esi, esi
call fcn.00414954
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 0x474ead
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x474ead
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x474f9b
push eax
call fcn.00559540
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 0x474f45
cmp eax, 0x400
ja 0x474f2a
call fcn.0054bf80
mov edi, esp
test edi, edi
je 0x474f40
mov dword [edi], 0xcccc
jmp 0x474f3d
push eax
call fcn.00559335
mov edi, eax
pop ecx
test edi, edi
je 0x474f40
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x474f47
mov edi, esi
test edi, edi
je 0x474f9b
push edx
push dword [ebp - 8]
push edi
call fcn.00412b65
mov dword [ebp - 8], eax
test eax, eax
je 0x474f75
mov esi, dword [ebp - 0x10]
push eax
call fcn.00555439
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.00411e7e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.004768e0
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.0054b283
mov esp, ebp
pop ebp
ret 8
call fcn.00412449
int3
Function at 0x4860c0
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 0x486117
push edi
push esi
call fcn.00420122
mov edi, eax
test edi, edi
je 0x486107
mov ebx, dword [ebx + 0x20]
cmp ebx, esi
je 0x486104
mov eax, esi
cmp ebx, eax
je 0x48611f
push eax
call fcn.0041e9f1
test eax, eax
jne 0x4860f6
mov ebx, dword [ebp - 4]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4860e1
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 0x486149
cmp eax, 0x10000000
jne 0x486104
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [edi + 0x60], 2
jmp 0x486104
test eax, eax
jne 0x486104
test byte [edi + 0x60], 2
mov ebx, dword [ebp - 4]
je 0x486107
cmp dword [ebx + 0xe0], eax
jne 0x486107
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x60], 0xfffffffd
jmp 0x486107
Function at 0x4e6897
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 0x4e68aa
xor eax, eax
jmp 0x4e68f9
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.0041bd47
mov ebx, eax
test ebx, ebx
je 0x4e68d8
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.0054baae
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4e68da
xor eax, eax
test eax, eax
je 0x4e68e1
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 0x4e6ad6
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x5800ac
call fcn.0054bb1f
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00412c1f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x605c34
call fcn.0041d6d1
cmp eax, 0xffffffff
jne 0x4e6baf
push 0
push 0x590888
lea ecx, [ebp - 0x4d0]
call fcn.0041d6d1
cmp eax, 0xffffffff
jne 0x4e6baf
push 0
push 0x5893c0
lea ecx, [ebp - 0x4d0]
call fcn.0041d6d1
cmp eax, 0xffffffff
jne 0x4e6baf
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00412c1f
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 0x4e6b7e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054baae
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404520
jmp 0x4e6be7
lea eax, [ebp - 0x218]
push eax
call fcn.00555439
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00411e7e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404520
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 0x4e6bd5
mov edi, dword [ebp - 0x4cc]
jmp 0x4e6be7
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.0054baae
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404520
mov eax, edi
call fcn.0054bac9
ret
Function at 0x4f6cf6
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 0x4f6db4
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4f6da9
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4f6da9
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4f6da9
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4f6d7d
sub eax, 1
je 0x4f6d49
sub eax, 1
jne 0x4f6da9
mov edi, 0x428e
jmp 0x4f6d82
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4f6d82
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.0054baae
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4f6d82
add edi, 3
jmp 0x4f6d82
mov edi, 0x3ea0
push edi
call fcn.004126d7
test eax, eax
je 0x4f6db4
push edi
push eax
mov ecx, 0x632dd0
call fcn.00411cdc
test eax, eax
je 0x4f6db4
mov eax, dword [0x632dd0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4f6dab
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00412449
int3

Function at 0x5021da
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 0x502229
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00555439
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x50221e
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x50220c
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00412449
int3
Function at 0x54c760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x629f58]
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.0054e3f0
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test ebx, ebx
jle 0x54c8c4
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.0054c740
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 0x54c860
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x54c7b3
push 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.0054e3f0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054b283
mov esp, ebp
pop ebp
ret
Function at 0x5534ee
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5fa8cc
push str.FlsAlloc
push 0
call fcn.00553467
mov esi, eax
add esp, 0x10
test esi, esi
je 0x553520
push dword [ebp + 8]
mov ecx, esi
call fcn.0054baae
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x553562
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5fa8f0
push str.FlsGetValue
push 2
call fcn.00553467
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x553593
mov ecx, esi
call fcn.0054baae
call esi
jmp 0x553599
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x55359c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5fa904
push str.FlsSetValue
push 3
call fcn.00553467
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x5535d0
mov ecx, esi
call fcn.0054baae
call esi
jmp 0x5535d6
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x56a8d0
Capabilities:
Read file on windows

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

Function at 0x56a8db
Capabilities:
Read file on windows

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

Function at 0x56e4a8
Capabilities:
Set environment variable

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

Function at 0x56e4b3
Capabilities:
Set environment variable

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