joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d6b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x428158
call fcn.0040d88c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00424b67
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x41d6f7
call fcn.00424b67
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d705
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41d713
or eax, 0xffffffff
jmp 0x41d7fb
mov ecx, esi
call fcn.0041d62e
mov dword [ebp - 0x14], eax
call fcn.0041f287
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x41d74a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d74a
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041f23b
push dword [ebp - 0x14]
call fcn.0041ed6c
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041d3c6
cmp eax, edi
je 0x41d7bd
test byte [esi + 0x24], 0x10
je 0x41d78b
push 4
mov ecx, esi
pop ebx
call fcn.0042138a
test ah, 1
je 0x41d783
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00420dc4
cmp dword [esi + 0x1c], edi
je 0x41d7bd
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00421470
jmp 0x41d7bd
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x41d7d1
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d7ea
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x41d7ea
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041d668
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x420c72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x420cb4
call fcn.00424b67
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x420cb4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x420cab
xor eax, eax
jmp 0x420cbc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00420cc2
pop edi
pop esi
pop ebx
ret 4
Function at 0x42536f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42539d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4253bb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004252d5
jmp 0x4253bb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4253bb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004252d5
test edi, edi
mov eax, edi
jne 0x4253a5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405eba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ede
xor eax, eax
test eax, eax
je 0x405ef0
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ef0
xor ecx, ecx
jmp 0x405ef3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x405f97
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422acc], 0
push esi
jne 0x405fce
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fa8
mov dword [ecx*4 + 0x422ac8], eax
inc ecx
cmp ecx, 0x100
jl 0x405fa3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fff
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ac8]
xor eax, esi
inc ecx
dec edx
jne 0x405fe1
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x46a66c
Capabilities:
Encode data using xor

Disassembly:
clc
jmp 0x46a692
arpl word [eax + 0x73], sp
push ds
pushal
jae 0x46a6b3
dec ebp
mov dl, 0x3c
pop edi
ficomp word [ebx]
call 0x6a5b9f84
pop eax
bound eax, qword [edx]
dec eax
xor eax, 0x2f860a5
fst qword [0x482c9606]
dec ebx
jno 0x46a691
call fcn.0046a6c8
add dh, bl
cmpsb byte [esi], byte es:[edi]
lodsb al, byte [esi]
sub al, 0x28
sub ch, bh
xor esp, ebp
ret 0xcdfb
Function at 0x1000b8b7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x80], edi
je 0x1000b8ce
push esi
call sym.gstreamer_lite.dll_Ordinal_11
pop ecx
push dword [esi + 0xc]
call fcn.10028c1b
jmp 0x1000b8e7
push eax
call sym.gstreamer_lite.dll_Ordinal_94
push dword [esi + 0xc]
call fcn.10028c1b
pop ecx
pop ecx
test eax, eax
jne 0x1000b8d8
or eax, 0xffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x58], edi
pop edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x5c], eax
pop esi
ret
Function at 0x10033b25
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0xc
pop esi
mov ebx, dword [edi + 0x3c]
push esi
push ebx
push dword [edi + 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
test eax, eax
jns 0x10033b60
call ebp
cmp dword [eax], 0xb
je 0x10033b64
call ebp
cmp dword [eax], 4
je 0x10033b64
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
sub esi, eax
add ebx, eax
test esi, esi
jne 0x10033b39
mov esi, dword [edi + 0x3c]
lea eax, [esi + 8]
push eax
call fcn.100334ce
pop ecx
cmp eax, 0xbefec0ae
jne 0x10033b59
lea eax, [esi + 4]
push eax
call fcn.100334ce
mov ebx, eax
pop ecx
lea edx, [ebx + 0xc]
cmp edx, 0x2000000
ja 0x10033b59
movzx ecx, byte [esi + 1]
movzx ebp, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
or ebp, ecx
shl ebp, 8
or ebp, eax
test ebx, ebx
je 0x10033c09
cmp edx, dword [edi + 0x40]
jb 0x10033bc9
lea eax, [ebx + 0x20c]
push eax
push esi
mov dword [edi + 0x40], eax
call sub.glib_lite.dll_Ordinal_304
pop ecx
mov esi, eax
pop ecx
mov dword [edi + 0x3c], esi
lea ecx, [esi + 0xc]
mov esi, ebx
mov dword [esp + 0x14], ecx
push esi
push ecx
push dword [edi + 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
test eax, eax
jns 0x10033c21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x10033bfe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
jne 0x10033b59
mov ecx, dword [esp + 0x14]
test esi, esi
jne 0x10033bd2
mov esi, dword [edi + 0x3c]
push ebx
lea eax, [esi + 0xc]
push eax
movzx eax, byte [esi]
push ebp
push eax
push edi
call fcn.100336dc
add esp, 0x14
jmp 0x10033b5b
mov ecx, dword [esp + 0x14]
sub esi, eax
add ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x10033c02
Function at 0x100424a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100424af
pop dword [ebp - 0x18]
mov eax, 0x9311ddea
add eax, 0x7cf246c5
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7675c3db
sub dword [ebp - 0x28], 0x28237e90
mov dword [ebp - 0x24], 0xc9a9dfe9
add dword [ebp - 0x24], 0x68896c5c
mov dword [ebp - 0x20], 0xcd2723c8
sub dword [ebp - 0x20], 0x80dadf9a
mov dword [ebp - 0x1c], 0xbabaddb7
add dword [ebp - 0x1c], 0x45452249
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc164b207
add dword [ebp - 0x28], 0xb30db74f
mov dword [ebp - 0x24], 0xe99e0f9d
add dword [ebp - 0x24], 0x57ce51d8
mov dword [ebp - 0x20], 0xda807170
add dword [ebp - 0x20], 0x88eefafc
mov dword [ebp - 0x1c], 0xcdbff0d4
sub dword [ebp - 0x1c], 0xcdbff0d4
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xda53b962
sub eax, 0xca4b493e
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3f20e
push 0
call eax
mov ecx, 0xa16896ed
sub ecx, 0xa168488f
xor edx, edx
add edx, eax
mov ebx, 0x7f535bf8
add ebx, 0x90b83408
add ebx, dword [ebp - 0x18]
mov esi, 0xbd958205
mov dword [ebp - 4], 0x9410abcd
mov edi, dword [ebx]
add dword [ebp - 0xc], eax
xor edi, esi
mov dword [edx], edi
xor dword [ebp - 0x14], edi
add edx, 0xa34dfb0b
sub edx, 0xa34dfb07
add ebx, 0xb71c8105
add ebx, 0x48e37eff
loop 0x100425c8
add eax, 0xe0595631
add eax, 0x1fa7d61a
mov ebx, eax
add eax, 0x749a20a2
add eax, 0x8b65df63
mov ecx, 0xeb200679
add ecx, 0x24dff987
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x1006ffd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
call fcn.1006e8e4
mov edi, dword [esp + 0x38]
push eax
push edi
call sub.glib_lite.dll_Ordinal_413
mov esi, eax
pop ecx
pop ecx
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1006fffb
xor eax, eax
jmp 0x10070184
cmp eax, dword [esi + 0x1f0]
je 0x1006fff4
push ebx
push ebp
lea ebx, [esi + 0xc]
push ebx
call sub.glib_lite.dll_Ordinal_213
pop ecx
jmp 0x10070014
lea ebx, [esi + 0xc]
push dword [esp + 0x44]
push edi
call fcn.1002a825
pop ecx
pop ecx
test eax, eax
jne 0x10070175
push ebx
call sub.glib_lite.dll_Ordinal_212
mov eax, dword [esi + 0x1f8]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_213
push edi
call fcn.1002b710
add esp, 0xc
cmp ebp, edx
jb 0x1007005b
ja 0x10070055
cmp ebx, eax
jbe 0x1007005b
sub ebx, eax
sbb ebp, edx
jmp 0x1007006c
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call fcn.1002d6cd
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, 4
je 0x1007009b
cmp dword [edi + 0x168], 0
jne 0x10070175
cmp eax, 2
je 0x10070011
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
push eax
call fcn.10083a5e
add esp, 0xc
push edx
push eax
call fcn.10083a8f
push eax
push dword [esi + 0x1f0]
call sub.glib_lite.dll_Ordinal_413
pop ecx
pop ecx
push eax
call fcn.10083975
mov dword [esp + 0x24], eax
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], edx
call sub.glib_lite.dll_Ordinal_212
mov edi, dword [esi + 0x78]
add esp, 0x10
add edi, ebx
mov ebx, dword [esi + 0x7c]
adc ebx, ebp
cmp dword [esp + 0x10], 1
jne 0x100700fd
add edi, dword [esp + 0x24]
adc ebx, dword [esp + 0x28]
push esi
call fcn.1006e427
lea eax, [esp + 0x30]
xor ebp, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push ebp
push dword [esi + 0x1f0]
call fcn.10030026
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esi + 0x1f0]
call fcn.100424a0
mov eax, dword [esi + 0x1f8]
add esp, 0x3c
cmp dword [eax + 8], ebp
jne 0x10070160
push dword [esp + 0x20]
push dword [esi + 0x1f0]
call fcn.10030542
pop ecx
pop ecx
push esi
call fcn.1006f830
push 3
push esi
call fcn.1006de9e
add esp, 0xc
xor eax, eax
jmp 0x10070182
lea eax, [esi + 0xc]
push eax
call sub.glib_lite.dll_Ordinal_212
pop ecx
push 0xfffffffffffffffe
pop eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x10070c9b
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push dword [edi + 4]
mov eax, dword [edi]
push dword [esp + 0x14]
push eax
mov esi, dword [eax]
call fcn.1008470c
mov eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [esp + 0x14]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movaps xmm0, xmm1
addss xmm0, xmm2
mov eax, esi
subss xmm2, xmm1
cdq
sub eax, edx
mov edx, eax
sar edx, 1
movss dword [ecx], xmm0
movss dword [ecx + esi*8], xmm2
and dword [ecx + 4], 0
and dword [ecx + esi*8 + 4], 0
cmp edx, 1
jl 0x10070ddb
movsd xmm6, qword [0x100960e8]
lea eax, [esi*8 - 8]
xor esi, esi
mov dword [esp + 0xc], eax
inc esi
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0xc]
movss xmm5, dword [eax + esi*8]
movss xmm0, dword [ecx + eax + 4]
xorps xmm0, xmmword [0x100a45b0]
movss xmm2, dword [eax + esi*8 + 4]
movaps xmm4, xmm0
movss xmm3, dword [ecx + eax]
addss xmm4, xmm2
subss xmm2, xmm0
addss xmm3, xmm5
subss xmm5, dword [ecx + eax]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
movaps xmm0, xmm2
mulss xmm0, dword [eax + esi*8 - 4]
movaps xmm1, xmm5
mulss xmm1, dword [eax + esi*8 - 8]
mulss xmm5, dword [eax + esi*8 - 4]
subss xmm1, xmm0
mulss xmm2, dword [eax + esi*8 - 8]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm3
addss xmm5, xmm2
addss xmm0, xmm1
subss xmm3, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movss dword [ecx + esi*8], xmm0
movaps xmm0, xmm5
addss xmm0, xmm4
subss xmm5, xmm4
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movss dword [ecx + esi*8 + 4], xmm0
inc esi
cvtps2pd xmm0, xmm3
mulsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx], xmm0
cvtps2pd xmm0, xmm5
mulsd xmm0, xmm6
cvtpd2ps xmm0, xmm0
movss dword [eax + ecx + 4], xmm0
sub eax, 8
mov dword [esp + 0xc], eax
cmp esi, edx
jle 0x10070d0a
pop edi
pop esi
ret

Function at 0x10079adb
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x10079b02
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, 0x8000
xor ax, word [edx + ecx*4 + 2]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10079aec
pop esi
ret

Function at 0x10079b41
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x10079b6a
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor eax, reloc.glib_lite.dll_Ordinal_255
shr eax, 8
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x10079b54
pop esi
ret

Function at 0x10079b6b
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x10079b96
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor eax, reloc.glib_lite.dll_Ordinal_255
shr eax, 8
bswap eax
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x10079b7e
pop esi
ret
Function at 0x10079b97
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x10079bbd
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor eax, 0x80000000
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x10079baa
pop esi
ret

Function at 0x10079bbe
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x10079be6
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor eax, 0x80000000
bswap eax
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x10079bd1
pop esi
ret

Function at 0x10079be7
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x10079c09
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov al, byte [edx + ecx*4 + 3]
xor al, 0x80
mov byte [ecx + esi], al
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10079bf8
pop esi
ret

Function at 0x10079ee3
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 0xc], edx
jle 0x10079f1d
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movsx ecx, byte [edx + esi]
movzx eax, cl
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
xor ecx, 0x808080
mov dword [edi + edx*4], ecx
inc edx
cmp edx, dword [esp + 0x14]
jl 0x10079ef5
pop edi
pop esi
ret

Function at 0x1007a033
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x1007a05c
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor eax, 0xff800000
shl eax, 8
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1007a046
pop esi
ret

Function at 0x1007a05d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x1007a0a6
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0xffffff00
sub ebx, edi
mov eax, dword [ebx + edi]
mov edx, eax
and edx, ebp
mov ecx, eax
shl edx, 0x10
and ecx, 0xff0000
or edx, ecx
shr eax, 0x10
or edx, eax
xor edx, reloc.glib_lite.dll_Ordinal_255
and edx, ebp
mov dword [edi], edx
lea edi, [edi + 4]
sub esi, 1
jne 0x1007a078
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x1007a0a8
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
jle 0x1007a0d0
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
bswap eax
xor eax, 0x80000000
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x1007a0bb
pop esi
ret

Function at 0x1007a0d1
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 0xc], edx
jle 0x1007a10b
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movsx ecx, byte [edx + esi]
movzx eax, cl
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
xor ecx, 0x80000000
mov dword [edi + edx*4], ecx
inc edx
cmp edx, dword [esp + 0x14]
jl 0x1007a0e3
pop edi
pop esi
ret
Function at 0x1007a10c
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jle 0x1007a132
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
movsx eax, byte [ecx + edx]
xor eax, 0xffffff80
shl eax, 0x18
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x1007a11d
pop esi
ret
Function at 0x4073b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46230b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045a5bb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00455005
mov eax, dword [eax]
push 0x49bb98
push eax
call fcn.00447cfa
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045a846
test bl, bl
je 0x407432
push 0x49bb98
lea ecx, [esp + 0xc]
call fcn.0045abd6
push 0x49bba4
lea ecx, [esp + 0xc]
call fcn.0045abd6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40746e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045a846
jmp 0x407539
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4074f2
lea edx, [esp + 0x7c]
push 0x49bba0
push edx
call fcn.00447cfa
add esp, 8
test eax, eax
je 0x4074f2
lea eax, [esp + 0x7c]
push 0x49bb9c
push eax
call fcn.00447cfa
add esp, 8
test eax, eax
je 0x4074f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407482
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045a846
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x407d50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407db2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc