joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f89f0
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f4000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.0056a6f0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.005756fe
push eax
call fcn.0041c9bb
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5a1b7c]
je 0x4f8b4e
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4f8b62
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4f8b62
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x4f8aac
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4f8aa0
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.004f87a1
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x4f8aa7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f8aae
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004f79ca
test eax, eax
je 0x4f8ad5
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004f74e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4f8ad9
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004f79ca
test eax, eax
je 0x4f8b00
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.004f74e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4f8b04
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004f79ca
test eax, eax
je 0x4f8b2c
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.004f74e0
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4f8b2e
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x4f8b40
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4f8b4e
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00568226
leave
ret 4
xor eax, eax
jmp 0x4f8b51
Function at 0x5188a7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0045f1f2
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x5188e3
call fcn.00518ac4
mov dword [esi + 0xc], 1
jmp 0x5188e8
call fcn.00518ac4
cmp dword [esi], 0
je 0x518933
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x51890e
push edi
call fcn.0042740a
lea ecx, [edi + 1]
push ecx
jmp 0x51891d
push 0xff
call fcn.0041d197
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004238cd
pop edi
jmp 0x518957
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x518957
push dword [esi]
push dword [ebp - 4]
call fcn.0046a5c9
pop esi
leave
ret 0xc

Function at 0x518a1b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00518ac4
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x518a63
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042740a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004238cd
jmp 0x518a6e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046a5c9
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x519997
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x519add
mov ecx, 0x5f3aac
call fcn.00428733
mov esi, eax
test esi, esi
je 0x519ad2
xor eax, eax
cmp word [esi + 8], ax
jne 0x519a9c
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x519a58
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x519a1e
push 0x5b7b08
call fcn.00519b1b
pop ecx
test eax, eax
je 0x519a1e
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 0x519a39
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 0x519a58
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 0x519a5e
push ebx
push edi
push eax
call fcn.00519540
add esp, 0xc
jmp 0x519a5e
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.004275b1
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x519ad7
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.00427d2f
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x519a9f
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x519aad
push edi
call fcn.0057582b
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.0041d292
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.0041d8e1
call fcn.0041d8fb
int3

Function at 0x519dee
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0057a31b
pop ecx
test eax, eax
jne 0x519e30
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00423b58
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x519df6
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x554103
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x598dc7
call fcn.00568921
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x554294
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x554266
sub eax, 1
je 0x554182
sub eax, 1
je 0x55415a
sub eax, 1
je 0x554182
push 0x5cdabc
mov ecx, edi
call fcn.0041c88d
mov eax, edi
call fcn.005688d0
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x554144
lea eax, [ebp - 0x4e8]
push eax
jmp 0x554149
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x554144
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.004f8b66
test eax, eax
je 0x554144
lea ecx, [ebp - 0x700]
call fcn.0041c8ea
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x55421c
test byte [ebp - 0x428], 0x18
jne 0x55423e
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x59b9f0]
mov ecx, ebx
call esi
jmp 0x55423e
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x59b9f0]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.0041dea0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004165e0
jmp 0x554150
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x554144
lea eax, [ebp - 0x6f0]
jmp 0x55417f
call fcn.0041d8e1
int3

Function at 0x55440c
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056496c
call fcn.00427c76
cmp dword [eax + 0x14], 0
jne 0x554427
mov ecx, esi
pop esi
jmp fcn.00553725
pop esi
ret

Function at 0x554da2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x5f4000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x554e0c
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 0x554df1
lea eax, [ebp - 0x2ac]
push eax
jmp 0x554df6
push 0x5c3208
call fcn.0041c88d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00568226
leave
ret 8
call fcn.0041d8e1
int3

Function at 0x5552f1
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00402290
call fcn.00427c76
cmp dword [eax + 0x14], 0
jne 0x55530c
mov ecx, esi
pop esi
jmp fcn.00554b4c
pop esi
ret
Function at 0x558f5f
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x58d778
call fcn.005688ee
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x55904b
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x55904b
cmp esi, 0x43
je 0x558fa1
cmp esi, 0x2d
jne 0x55904b
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x55904b
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.0041c8ea
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push 0x5c4500
push eax
call fcn.00420c90
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x559039
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x559039
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.004165e0
push ebx
mov ecx, edi
call fcn.004db322
call fcn.005688bc
ret 4

Function at 0x5691cb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x56920a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x56920a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x56920a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x56920a
cmp dword [ecx + 0x74], 0xe
jbe 0x56920a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x57ee77
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5caca0
push 0x5cac98
push 0x5c86e4
push 0x1f
call fcn.0057ecf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57eeab
push dword [ebp + 8]
mov ecx, esi
call dword [0x59b9f0]
call esi
jmp 0x57eeb1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x57eef5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5cacb0
push 0x5caca8
push 0x5c8708
push 0x21
call fcn.0057ecf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57ef2c
push dword [ebp + 8]
mov ecx, esi
call dword [0x59b9f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x57ef34
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5cacb8
push 0x5cacb0
push 0x5c871c
push 0x22
call fcn.0057ecf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x57ef6e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x59b9f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x58141a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5f4000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x581465
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005815b5
test al, al
jne 0x58145f
sub edx, 2
cmp edx, edi
jne 0x581445
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x581487
lea eax, [edi + 2]
cmp edx, eax
je 0x581487
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00581366
add esp, 0x10
jmp 0x581581
push esi
lea ecx, [ebp - 0x255]
call fcn.005815b5
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5814ca
push dword [ebp - 0x25c]
jmp 0x581477
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x581507
cmp word [ebp - 0x226], 0
je 0x581528
cmp word [ebp - 0x226], ax
jne 0x581507
cmp word [ebp - 0x224], 0
je 0x581528
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00581366
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x581574
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5814e1
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x58155c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x581581
push 0x5810c7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00572250
add esp, 0x10
jmp 0x581551
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00568226
leave
ret
Function at 0x5820b4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x582151
push ebx
push esi
call fcn.0058207d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00582011
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5820fe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x582150
push edi
push eax
call fcn.0057dd30
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x58211e
call fcn.0057bd73
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x58214f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00582011
add esp, 0x20
test eax, eax
jne 0x58213d
push edi
call fcn.0057bd73
jmp 0x582145
push ebx
call fcn.0057bd73
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x582154
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x582165
pop esi
ret
push ebx
push edi
push esi
call fcn.0058207d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0057dd30
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x58218d
push ebx
push esi
push edi
call fcn.0056a170
add esp, 0xc
push 0
call fcn.0057bd73
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x5828e7
Capabilities:
Set environment variable

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

Function at 0x5879c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5879ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5879ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1001aefd
pop dword [ebp - 0x44]
mov eax, 0x8f2e8488
add eax, 0x80d32a75
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xcedfc294
add dword [ebp - 0x54], 0x7f7282b7
mov dword [ebp - 0x50], 0x2dedf6f2
add dword [ebp - 0x50], 0x4455553
mov dword [ebp - 0x4c], 0x552debd9
sub dword [ebp - 0x4c], 0x8e1a7ab
mov dword [ebp - 0x48], 0xa233ad04
sub dword [ebp - 0x48], 0xa233ad04
lea eax, [ebp - 0x54]
push eax
mov eax, 0x827ad004
sub eax, 0x72790f84
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5e0418a9
sub dword [ebp - 0x54], 0xe991af53
mov dword [ebp - 0x50], 0xc4833d29
add dword [ebp - 0x50], 0x7ce9244c
mov dword [ebp - 0x4c], 0x2d0a7c54
add dword [ebp - 0x4c], 0x3664f018
mov dword [ebp - 0x48], 0x2547192b
add dword [ebp - 0x48], 0xdab8e6d5
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4d78eb65
sub eax, 0x3d772b65
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x37b7e
push 0
call eax
mov ecx, 0xa4936401
sub ecx, 0xa4931ad9
mov edi, eax
mov esi, 0xf73e5ea4
sub esi, 0xe73bf6a4
add esi, dword [ebp - 0x44]
mov ebx, 0xb4febe4c
sub ebx, 0x43b3e15
sub dword [ebp - 0x24], 0xf2af03fc
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add dword [ebp - 0x18], eax
add edi, 4
add esi, 0xfbd8ef68
sub esi, 0xfbd8ef64
loop 0x1001b01f
add eax, 0x8219c230
sub eax, 0x8218aabd
xor ebx, ebx
add ebx, eax
add eax, 0x6d8d8434
sub eax, 0x6d8d842f
mov ecx, 0x76fc76e4
sub ecx, 0x66fc76e4
add ecx, dword [ebp - 0x44]
call ebx
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
Function at 0x8c22bd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0xc]
jbe 0x8bbe9b
bswap cx
rol cl, cl
rol bl, cl
mov edi, dword [edx + 0x24]
btc cx, bx
lea ebx, [esi*8 + 0x30bb888c]
shld ecx, esp, cl
add edi, eax
and bh, ah
test bl, 0xe0
mov ebx, dword [edx + 0x20]
bt bp, 9
ror cx, 1
shld cx, bp, cl
add ebx, eax
pushfd
mov dword [ebp - 8], 0
and ch, bh
mov ecx, dword [edx + 0x18]
sub esp, 0xfffffffc
call fcn.0060d3c2
push ecx
push ss
pop esp
or esp, dword [ebx]
ficom dword [esp + ecx*4 + 0x7425166f]
mov dl, ah
or al, 0x61
xchg ebp, eax
fcompi st(4)
mov ebp, 0x9dd0cb90
jae 0x8bbec2
cmp eax, 0xd2105572
mov ch, byte [esi + edi + 0x33]
std
xor edi, ebp
mov cl, 0x61
outsb dx, byte [esi]
mov bl, 0x2b
xlatb
std
lcall 0xe969, 0x98e7d28b
sbb bl, ah
shr ah, 0xaf
out 0x98, eax
imul ebp, ecx, 0xecc0dc1a
scasd eax, dword es:[edi]
push ebx
xor al, 0xf8
test eax, 0xb476c909
cmpsd dword [esi], dword es:[edi]
cmp bh, 0x50
jo 0x8bbece
xchg edx, eax
sbb bh, byte [ebx + ecx*4 + 0x1b]
pushfd
out dx, eax
invalid
lea esp, [esp + 0x20]
je fcn.00611803
sar cx, 0xe
movzx cx, al
pushfd
dec cl
add edx, eax
rcl cx, cl
pop ecx
cmp di, 0x3e5c
mov ecx, dword [esi + 0x7c]
push 0x53822b09
add ecx, edx
cmc
cmc
mov dword [ebp - 0x10], ecx
jmp 0x8d8231
test eax, eax
mov byte [esp + 4], ch
push eax
push ecx
lea esp, [esp + 0x10]
je fcn.00611803
cmc
and dx, 0xec28
mov esi, dword [eax + 0x3c]
stc
shld dx, bp, 1
add esi, eax
sub dh, 0x6f
mov dh, al
cmc
cmp ax, 0xb6fb
mov edx, dword [esi + 0x78]
bt bx, dx
cmc
test edx, edx
pushal
jmp 0x8c04fe
rcl cx, 2
sub ecx, 0x8e04507e
add ch, bl
mov ecx, dword [ebp + 0xc]
push 0x9c03a191
clc
clc
push ebp
cmp ecx, 0xffff
jmp 0x60fa8b
Function at 0x4bd1a5
Capabilities:
Encode data using xor

Disassembly:
rcr byte [edx], 0xd4
cmpsd dword [esi], dword es:[edi]
out 0xb0, eax
add cl, 0x58
sti
xor al, 0x23
push eax
leave
xchg esi, eax
sub edx, dword [ebx - 0x1eca678d]
sbb edx, dword [eax - 0xc]
xor eax, 0xf4501be1
and dword [esi], 0x74b12fb2
and dword [0xb3fd6ebe], ebp
mov ch, 0x49
cli
xchg byte [ebx - 0x4f], cl
jge 0x4bd1b9
mov dword [0xff0053b5], eax
invalid

Function at 0x4cb336
Capabilities:
Encode data using xor

Disassembly:
xchg dword [edx + 0x12], edi
shl bh, 0xc1
salc
test al, 0xb8
scasd eax, dword es:[edi]
movsd dword es:[edi], dword [esi]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
mov dword [0x922ea2a6], eax
jbe 0x4cb374
mov dh, 0x5d
dec edx
xor dl, dh
jle 0x4cb31d
sub dword [edx], 0xc23652c8
test esp, esp
cwde
out 0xd0, al
invalid
pop ds
add eax, 0x86935ec2
and dword ss:[0x467e365], ebp
lds ecx, [ebx + 0x1cee73f0]
dec edi
add al, 0xc5
mov esi, eax
jae 0x4cb368
sbb al, 0x4f
push edx
push ds
inc edi
add edx, dword [ecx + 0x205de5e]
sbb al, 0x21
dec ebx
dec eax
idiv byte [edx - 0x7fa1a396]
inc esp
mov ecx, 0x51ae5154
wait
push eax
scasb al, byte es:[edi]
and eax, 0x457e39b7
push edi
xor dword [ebx + 0xeb7b9e8], esp
or eax, 0x7e17e0a0
lodsd eax, dword [esi]
clc
adc word [esi + 0x74d58535], ax
pop edi
lds esp, [ecx - 0x686aa949]
ja 0x4cb38a
inc esi
test al, 7
mov byte [esi + 0x62788812], bl
out dx, al
jmp 0x4cb418
ljmp 0x9628:0x6ea31208
push esi
sti
push 0x6583ba0d
add esp, 0x6725c5a7
test al, bl
adc esi, dword [eax - 0x25]
adc byte [eax + 0x6a8ee8c2], cl
loope 0x4cb443
and eax, 0xca5e2af6
outsb dx, byte [esi]
xor eax, 0x4403fbe0
out dx, al
inc eax
xchg edx, eax
jl 0x4cb409
inc eax
ljmp 0x841:0x422941e3

Function at 0x518605
Capabilities:
Encode data using xor

Disassembly:
adc byte [ecx - 0x214094d1], ah
push cs
int1
sub dh, byte [esi - 0x57]
shl dword [esi - 0x5a], 1
xchg edx, eax
sub edi, ebx
sub byte [ebp + 0x1f450914], cl
push edi
test byte [ecx], 0xbf
ror byte [eax - 0x6b07c14f], 0x24
adc al, 0x86
and byte [ebp - 0x2a108a3], al
pop edi
ror dword [esi - 0x6c], 1
lodsb al, byte [esi]
and byte [eax + 0x727bf77], ch
cmp eax, 0xaffa7ce4
xor byte [ebp - 0x36], dh
mov cl, 0xff
and ebx, dword [ebx - 0x28]
jnp 0x5185bc
push ds
xchg ecx, eax
test dword [ebx + 0x29], esp
mov al, 0x1f
retf 0xc69b
sbb dword [ebp - 0x2d], ecx
jle 0x518592
shr byte ds:[esp + edx*8], 0xfc
lahf
cmpsd dword [esi], dword es:[edi]
pop eax
aad 0xac
push ds
sbb al, 0x70
jae 0x5185aa
add ecx, esi
invalid