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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d908
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001768
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.100144e9
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000173e
call fcn.100037d1
jmp 0x1000173e
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.100144e9
int3

Function at 0x1000177d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001d938
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x10001869
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003356
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100033b4
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call fcn.100144e9
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1000183f
call fcn.100037d1
jmp 0x1000183f
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10004926
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10003d44
pop ecx
pop ecx
push ebx
push esi
call fcn.100144e9
int3
Function at 0x100019e1
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x1001d960
call fcn.10004980
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.100018f8
test eax, eax
je 0x10001a12
call fcn.100018ea
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x10021c18
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x10001b28
jmp 0x10001a62
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001a70
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10001b20
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10001ad1
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10001b2e
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10001b20
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x10001b20
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10001b2e
mov eax, esi
call fcn.10004937
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.10003d44
pop ecx
pop ecx
push edi
push esi
call fcn.100144e9
int3

Function at 0x10002445
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10002469
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x100030b4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x1001d9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1002a034]
xor eax, ebp
mov dword [ebp + 0x104], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1001ec0c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100144e9
add esp, 0xc
test eax, eax
jne 0x100031a9
push dword [ebp - 0x18]
call fcn.100144e9
cmp dword [0x1002aa80], 0
pop ecx
je 0x10003122
xor eax, eax
inc eax
jmp 0x100031ab
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x100031a9
test eax, eax
je 0x100031a9
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000330b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.JavaDeployReg.log
call fcn.1000330b
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.100033d2
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10003177
call fcn.100037d1
push 0x1001ec38
lea ecx, [ebp - 0x10]
call fcn.100033b4
push eax
push 0x1002aa80
call fcn.100144e9
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
test ecx, ecx
je 0x100031a4
call fcn.100037d1
lea eax, [esi + 1]
jmp 0x100031ab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10004926
add ebp, 0x108
leave
ret

Function at 0x10003656
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1002a034]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.100144e9
mov esi, eax
test esi, esi
jne 0x10003705
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100036e0
lea eax, [esp + 0x28]
push eax
call fcn.10003656
mov esi, eax
test esi, esi
jne 0x10003705
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], pe_nt_image_headers32
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x100036bb
call fcn.1000342b
push ebx
mov ecx, edi
call fcn.10003445
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.1000342b
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10004926
add esp, 0x11c
ret 4
Function at 0x10003bc2
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x1002a034]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.10005d80
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.100144e9
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.100144e9
push 0x10021be8
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.100144e9
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.10005d80
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003c67
sub ecx, edx
cmp ecx, 6
jbe 0x10003c8e
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.100144e9
pop ecx
pop ecx
test eax, eax
jne 0x10003c8e
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003c95
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10020533
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.100144e9
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.10005800
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10003d0f
mov ax, word [0x10021c14]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10004926
add esp, 0x824
ret
Function at 0x100144e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x100144f8
pop dword [ebp - 0x20]
mov eax, 0x100144f8
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x2acaf86d
add dword [ebp - 0x30], 0x23874cde
mov dword [ebp - 0x2c], 0x178a6eef
sub dword [ebp - 0x2c], 0xe55722aa
mov dword [ebp - 0x28], 0x54cb646e
sub dword [ebp - 0x28], 0x87f2040
mov dword [ebp - 0x24], 0x9f00bf0d
sub dword [ebp - 0x24], 0x9f00bf0d
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xbbfa8c9e
add dword [ebp - 0x30], 0xb877dcb8
mov dword [ebp - 0x2c], 0x67d91f1f
add dword [ebp - 0x2c], 0xd9934256
mov dword [ebp - 0x28], 0x8d07d1be
add dword [ebp - 0x28], 0xd6679aae
mov dword [ebp - 0x24], 0x8feb2e75
add dword [ebp - 0x24], 0x7014d18b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xa76ff8df
sub eax, 0x976e185b
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3c5ba
push 0
call eax
mov ecx, 0x3a10c36c
add ecx, 0xc5ef80cb
xor esi, esi
add esi, eax
mov edx, 0xc2908f6e
add edx, 0x4d72c892
add edx, dword [ebp - 0x20]
mov ebx, 0x26ad37ef
sub ebx, 0x61494118
mov dword [ebp - 0x18], 0xeca89ed
mov edi, dword [edx]
xor dword [ebp - 0xc], esi
sub edi, ebx
xor dword [ebp - 0x18], 0x2aeaaa93
mov dword [esi], edi
sub dword [ebp - 4], 0x56408bcf
add esi, 0xe1e5f330
add esi, 0x1e1a0cd4
add edx, 0xe23a4cae
add edx, 0x1dc5b356
loop 0x10014612
add eax, 0x103af
mov ebx, eax
add eax, 0xea4a70bc
add eax, 0x15b58f49
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10192d41
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10192d50
pop dword [ebp - 0x20]
mov eax, 0x722fdb08
sub eax, 0x6216adb8
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xd196e8ab
add dword [ebp - 0x30], 0x7cbb5ca0
mov dword [ebp - 0x2c], 0xd6b499e2
add dword [ebp - 0x2c], 0x5b7eb263
mov dword [ebp - 0x28], 0x4856ea91
add dword [ebp - 0x28], 0x3f5599d
mov dword [ebp - 0x24], 0x4d7aeb5b
add dword [ebp - 0x24], 0xb28514a5
lea eax, [ebp - 0x30]
push eax
mov eax, 0x1f396370
add eax, 0xf0e39ec0
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xcb69ed69
sub dword [ebp - 0x30], 0x56f78413
mov dword [ebp - 0x2c], 0x44b10195
add dword [ebp - 0x2c], 0xfcbb5fe0
mov dword [ebp - 0x28], 0x44536815
add dword [ebp - 0x28], 0x1f1c0457
mov dword [ebp - 0x24], 0xf54b707b
sub dword [ebp - 0x24], 0xf54b707b
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xb964e9e5
add eax, 0x56b81853
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x35e9a
push 0
call eax
mov ecx, 0x69aabe2e
sub ecx, 0x69aa7870
xor edi, edi
add edi, eax
mov ebx, 0xc71dcb2b
sub ebx, 0xb6ff3d2b
add ebx, dword [ebp - 0x20]
mov edx, 0xf87439cb
add edx, 0x539e4184
sub dword [ebp - 0x14], eax
mov esi, dword [ebx]
sub dword [ebp - 4], eax
xor esi, edx
xor dword [ebp - 0x14], 0x948dfc5
mov dword [edi], esi
sub dword [ebp - 0xc], 0xd44b89c5
add edi, 4
add ebx, 4
loop 0x10192e74
add eax, 0x109cb
xor ebx, ebx
add ebx, eax
add eax, 0x2d6890cb
add eax, 0xd2976f3a
mov ecx, 0x56834194
sub ecx, 0x46834194
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0xae5166
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xadf140]
jne 0xae5170
repz ret
jmp fcn.00ae54af

Function at 0xaeb328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xadf140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00ae6976
and dword [ebp - 0x14], 0
cmp dword [0xae2b2c], 0
mov dword [ebp - 0x18], eax
jne 0xaeb3db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xaeb483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xaeb483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xae2b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xae2b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xae2b34], eax
call edi
push eax
call esi
mov dword [0xae2b3c], eax
test eax, eax
je 0xaeb3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xae2b38], eax
mov eax, dword [0xae2b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0xaeb434
cmp dword [0xae2b3c], ecx
je 0xaeb434
push eax
call esi
push dword [0xae2b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xaeb434
test ebx, ebx
je 0xaeb434
call edi
test eax, eax
je 0xaeb42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xaeb42b
test byte [ebp - 8], 1
jne 0xaeb434
or dword [ebp + 0x10], 0x200000
jmp 0xaeb467
mov eax, dword [0xae2b30]
cmp eax, dword [ebp - 0x18]
je 0xaeb467
push eax
call esi
test eax, eax
je 0xaeb467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xaeb467
mov eax, dword [0xae2b34]
cmp eax, dword [ebp - 0x18]
je 0xaeb467
push eax
call esi
test eax, eax
je 0xaeb467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xae2b2c]
call esi
test eax, eax
je 0xaeb483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xaeb485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ae5166
leave
ret
Function at 0x10005e45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10005e54
pop dword [ebp - 0x3c]
mov eax, 0x10005e54
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x77e02dd9
add dword [ebp - 0x4c], 0xd6721772
mov dword [ebp - 0x48], 0x9410bb52
sub dword [ebp - 0x48], 0x61dd6f0d
mov dword [ebp - 0x44], 0x6abb61a8
add dword [ebp - 0x44], 0xe190e286
mov dword [ebp - 0x40], 0xc641fbe9
sub dword [ebp - 0x40], 0xc641fbe9
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe7227993
sub eax, 0xd720798f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf4a9ccfb
add dword [ebp - 0x4c], 0x7fc89c5b
mov dword [ebp - 0x48], 0xb3f012d7
sub dword [ebp - 0x48], 0x7283b162
mov dword [ebp - 0x44], 0x838c4b32
add dword [ebp - 0x44], 0xdfe3213a
mov dword [ebp - 0x40], 0xe8df2a3c
add dword [ebp - 0x40], 0x1720d5c4
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x4dbce192
sub eax, 0x3dbae192
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3eabe
push 0
call eax
mov ecx, 0x4fab
mov edx, eax
mov edi, 0xcdb98212
sub edi, 0xbdb6c612
add edi, dword [ebp - 0x3c]
mov esi, 0xd6e98c44
sub esi, 0x1a6d9837
mov dword [ebp - 0x2c], 0xc7fdfa98
mov ebx, dword [edi]
sub dword [ebp - 0x24], ebx
xor ebx, esi
add dword [ebp - 0x28], edx
mov dword [edx], ebx
sub dword [ebp - 0x18], edi
add edx, 4
add edi, 4
loop 0x10005f6b
add eax, 0x768a942d
add eax, 0x89769d52
mov ebx, eax
add eax, 5
mov ecx, 0xd1cc438e
sub ecx, 0xc1cc438e
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x40c31d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004097a3
mov dword [ebp - 0x14], eax
cmp dword [0x43aa38], esi
jne 0x40c410
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c39d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c4f0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c4f0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c4f0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43aa38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43aa3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43aa40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43aa48], eax
test eax, eax
je 0x40c40d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43aa44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c435
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c428
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c44a
push 4
pop eax
jmp 0x40c4f2
cmp dword [ebp - 0x14], esi
je 0x40c44a
push dword [0x43aa38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c42f
mov eax, dword [0x43aa44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c4a8
cmp dword [0x43aa48], edi
je 0x40c4a8
push eax
call ebx
push dword [0x43aa48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c4a8
test eax, eax
je 0x40c4a8
call ecx
test eax, eax
je 0x40c49d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c49d
test byte [ebp - 8], 1
jne 0x40c4a8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c4d8
mov eax, dword [0x43aa3c]
cmp eax, edi
je 0x40c4d5
push eax
call ebx
test eax, eax
je 0x40c4d5
call eax
mov esi, eax
test esi, esi
je 0x40c4d5
mov eax, dword [0x43aa40]
cmp eax, edi
je 0x40c4d5
push eax
call ebx
test eax, eax
je 0x40c4d5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43aa38]
call ebx
test eax, eax
je 0x40c4f0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c4f2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004042ed
mov esp, ebp
pop ebp
ret
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10007fbe
pop dword [ebp - 0x2c]
mov eax, 0x91296b9b
sub eax, 0x8128ebdd
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x33500561
sub dword [ebp - 0x3c], 0xe4fdc016
mov dword [ebp - 0x38], 0x1ea2c8bc
sub dword [ebp - 0x38], 0xec6f7c77
mov dword [ebp - 0x34], 0x51939242
sub dword [ebp - 0x34], 0x5474e14
mov dword [ebp - 0x30], 0x80e5a375
add dword [ebp - 0x30], 0x7f1a5c8b
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x206129cf
add dword [ebp - 0x3c], 0x54113f87
mov dword [ebp - 0x38], 0xbfc5d81d
sub dword [ebp - 0x38], 0x7e5976a8
mov dword [ebp - 0x34], 0x2cbed753
add dword [ebp - 0x34], 0x36b09519
mov dword [ebp - 0x30], 0x92e2faa1
sub dword [ebp - 0x30], 0x92e2faa1
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x94c66587
sub eax, 0x84c4a587
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f04f
push 0
call eax
mov ecx, 0x6617
mov edi, eax
mov ebx, 0x10026800
add ebx, dword [ebp - 0x2c]
mov esi, 0x45daa178
add dword [ebp - 0x24], ebx
mov edx, dword [ebx]
xor dword [ebp - 0xc], esi
add edx, esi
mov dword [ebp - 0x28], 0xf6b13353
mov dword [edi], edx
xor dword [ebp - 0x10], eax
add edi, 0x23e809d7
add edi, 0xdc17f62d
add ebx, 0xf83a30a4
sub ebx, 0xf83a30a0
loop 0x100080c9
add eax, 0x18b2f
xor ebx, ebx
add ebx, eax
add eax, 0xa580cae9
add eax, 0x5a7f351c
mov ecx, 0x3dbfa2cf
add ecx, 0xd2405d31
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret