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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x6204d8], 0
push edi
mov edi, ecx
jne 0x425109
xor eax, eax
jmp 0x4251a3
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.00412d7d
push ebx
push 1
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
push 1
push ebx
mov ecx, edi
call fcn.0042508c
push eax
call fcn.004379c9
push eax
mov ecx, edi
call fcn.00425e58
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x42519e
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 0x42519e
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x6204d8]
call fcn.0046b06b
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x425259
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x618f60]
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 0x425491
test ebx, ebx
je 0x425491
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 0x42545a
sub eax, 1
je 0x4252f1
sub eax, 1
je 0x4253c2
sub eax, 1
jne 0x42547c
lea eax, [ebp - 0x20c]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425455
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040eea0
test eax, eax
je 0x425455
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425450
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040eea0
test eax, eax
je 0x425450
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x425419
test byte [ebp - 0x624], 0x10
jne 0x425455
test byte [ebp - 0x854], 0x10
jne 0x4253bb
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x4253bb
jb 0x425455
cmp dword [ebp - 0x62c], eax
jb 0x425455
cmp dword [ebp - 0x628], ecx
jb 0x42547c
ja 0x4253bb
cmp dword [ebp - 0x62c], eax
jbe 0x42547c
mov edi, edx
jmp 0x42547c
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 0x42547c
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 0x42547c
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x42547c
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x4253bb
jl 0x425455
cmp dword [ebp - 0x63c], eax
jb 0x425455
cmp dword [ebp - 0x638], ecx
jl 0x42547c
jg 0x4253bb
cmp dword [ebp - 0x63c], eax
jmp 0x4253b5
xor edi, edi
inc edi
jmp 0x42547c
or edi, 0xffffffff
jmp 0x42547c
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.00542d17
call dword [esi + 0x1c]
test eax, eax
jns 0x425479
xor eax, eax
jmp 0x42547e
movsx edi, ax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005424ec
mov esp, ebp
pop ebp
ret 0xc
call fcn.004096f9
int3

Function at 0x425de0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0046b725
call fcn.0040b641
cmp dword [eax + 0x14], 0
jne 0x425dfb
mov ecx, esi
pop esi
jmp fcn.004250f0
pop esi
ret
Function at 0x43456e
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x56f2b0
call fcn.00542d54
mov ebx, ecx
cmp dword [0x6204d8], 0
je 0x4346b6
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4345a1
xor eax, eax
jmp 0x4346b0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x43459a
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4346b6
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x6204d8]
call fcn.0046afdc
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.00542d17
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.0040902d
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.00542d17
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.00542d17
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.00542d17
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404310
xor eax, eax
inc eax
call fcn.00542d1d
ret
call fcn.004096f9
int3

Function at 0x434906
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x43496c
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 0x43494f
lea eax, [ebp - 0x2ac]
push eax
jmp 0x434954
push 0x584778
call fcn.004087cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3
Function at 0x443d23
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 0x443d3c
call fcn.0040b5f3
mov esi, dword [eax + 0xc]
push 0x58682c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x443d92
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x443d91
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x443d72
xor esi, esi
jmp 0x443d88
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00443d9a
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 0x46bb6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x618f60]
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 0x46bb92
xor eax, eax
jmp 0x46bc63
cmp dword [ebp + 0xc], 0
je 0x46bb8b
xor esi, esi
call fcn.0040b5f3
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 0x46bb8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46bb8b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc79
push eax
call fcn.00550740
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 0x46bc23
cmp eax, 0x400
ja 0x46bc08
call fcn.005431f0
mov edi, esp
test edi, edi
je 0x46bc1e
mov dword [edi], 0xcccc
jmp 0x46bc1b
push eax
call fcn.00550535
mov edi, eax
pop ecx
test edi, edi
je 0x46bc1e
mov dword [edi], 0xdddd
add edi, 8
mov edx, dword [ebp - 0xc]
jmp 0x46bc25
mov edi, esi
test edi, edi
je 0x46bc79
push edx
push dword [ebp - 8]
push edi
call fcn.00409e15
mov dword [ebp - 8], eax
test eax, eax
je 0x46bc53
mov esi, dword [ebp - 0x10]
push eax
call fcn.0054c639
pop ecx
push eax
push dword [ebp - 8]
lea ecx, [esi + 4]
call fcn.0040912e
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.0046d5be
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.005424ec
mov esp, ebp
pop ebp
ret 8
call fcn.004096f9
int3
Function at 0x4dd56f
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 0x4dd582
xor eax, eax
jmp 0x4dd5d1
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.00411f5c
mov ebx, eax
test ebx, ebx
je 0x4dd5b0
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x74]
mov ecx, esi
call fcn.00542d17
mov ecx, ebx
call esi
mov esi, dword [ebp - 4]
jmp 0x4dd5b2
xor eax, eax
test eax, eax
je 0x4dd5b9
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 0x4dd7ae
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x575ec2
call fcn.00542d88
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409ecf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5fbc24
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
push 0
push 0x5867e8
lea ecx, [ebp - 0x4d0]
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
push 0
push 0x57f310
lea ecx, [ebp - 0x4d0]
call fcn.004138e6
cmp eax, 0xffffffff
jne 0x4dd887
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00409ecf
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 0x4dd856
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d17
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00404310
jmp 0x4dd8bf
lea eax, [ebp - 0x218]
push eax
call fcn.0054c639
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040912e
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00404310
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 0x4dd8ad
mov edi, dword [ebp - 0x4cc]
jmp 0x4dd8bf
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00542d17
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00404310
mov eax, edi
call fcn.00542d32
ret
Function at 0x4ed9cd
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 0x4eda8b
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4eda80
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4eda80
neg eax
sbb eax, eax
and eax, ecx
cmp dword [ebx], eax
jne 0x4eda80
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4eda54
sub eax, 1
je 0x4eda20
sub eax, 1
jne 0x4eda80
mov edi, 0x428e
jmp 0x4eda59
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4eda59
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call fcn.00542d17
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4eda59
add edi, 3
jmp 0x4eda59
mov edi, 0x3ea0
push edi
call fcn.00409987
test eax, eax
je 0x4eda8b
push edi
push eax
mov ecx, 0x6219c8
call fcn.00408f8c
test eax, eax
je 0x4eda8b
mov eax, dword [0x6219c8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
jmp 0x4eda82
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.004096f9
int3

Function at 0x4f9446
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 0x4f9495
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0054c639
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x4f948a
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4f9478
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004096f9
int3
Function at 0x5439d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x618f60]
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.00545660
mov ebx, dword [ebp + 0x10]
add esp, 0xc
test ebx, ebx
jle 0x543b34
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.005439b0
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 0x543ad0
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x543a23
push 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.00545660
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005424ec
mov esp, ebp
pop ebp
ret
Function at 0x54a6ee
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5f08c4
push str.FlsAlloc
push 0
call fcn.0054a667
mov esi, eax
add esp, 0x10
test esi, esi
je 0x54a720
push dword [ebp + 8]
mov ecx, esi
call fcn.00542d17
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x54a762
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5f08e8
push str.FlsGetValue
push 2
call fcn.0054a667
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x54a793
mov ecx, esi
call fcn.00542d17
call esi
jmp 0x54a799
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x54a79c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5f08fc
push str.FlsSetValue
push 3
call fcn.0054a667
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x54a7d0
mov ecx, esi
call fcn.00542d17
call esi
jmp 0x54a7d6
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x54dd76
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0xc], ebx
jbe 0x54ddae
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0054d7af
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x54dd7b
call fcn.0054d83e
sub bl, bh
in eax, 0xd6
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x54e02d
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x54dde3
cmp dword [eax + 0xc], ebx
je 0x54de86
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0054d83e
scasd eax, dword es:[edi]
ret 0x8704
call fcn.0054d83e
ja 0x54dea0
sub al, 0x22
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x54def2
add eax, esi
push eax
add al, 0x8d
dec eax
or byte [ebx], al
Function at 0x54dea6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x54def2
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
ror byte [ecx - 0x35c4f7b3], 1
jae 0x54deed
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x54ded7
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x54dedf
cmp edx, ebx
jne 0x54e02d
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x54deae
add eax, dword [eax + 4]
jmp 0x54de9b
mov dword [ebp + 0xc], ebx
jmp 0x54defd
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x54df15
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x54df33
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x54df91
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x54df78
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x54df81
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x54df8b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x54df6d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x54def7
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x54dfde
dec eax
je 0x54dfd5
sub eax, 3
je 0x54dfcc
mov dword [ebp - 4], 0x40
jmp 0x54dffb
mov dword [ebp - 4], 4
jmp 0x54dfe1
mov dword [ebp - 4], 0x20
jmp 0x54dfe1
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x54e02d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x54dfad
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0054d83e
test eax, 0xff5b7990
jne 0x54e038
push 1
push esi
call edi
mov eax, esi
jmp 0x54e039
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x561ad0
Capabilities:
Read file on windows

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

Function at 0x561adb
Capabilities:
Read file on windows

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

Function at 0x5656b8
Capabilities:
Set environment variable

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

Function at 0x5656c3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056520f
Function at 0x425d1e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00418afb
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x425d56
xor eax, eax
jmp 0x425d82
cmp esi, dword [ebp - 4]
je 0x425d7f
cmp dword [ebp + 0xc], 0
je 0x425d7f
push dword [edi + 0x9c]
call fcn.0042592c
push dword [edi + 0x9c]
mov esi, eax
call fcn.00416a15
pop ecx
pop ecx
cmp esi, eax
je 0x425d52
xor eax, eax
inc eax
pop edi
pop esi
leave
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