joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ff90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ffa7
add esp, 0xfffffff0
call fcn.00403e34
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426858
mov eax, dword [0x4cac80]
cmp word [eax + 2], 0
jne 0x45ffcf
mov eax, dword [0x4cac80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046166c
mov eax, dword [0x4cadf8]
cmp word [eax + 2], 0
jne 0x45ffe9
mov eax, dword [0x4cadf8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461864
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b9ec]
call fcn.00403aa0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b9ec]
call fcn.00403aa0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428d10]
call fcn.00430854
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460170
mov eax, dword [0x4caa70]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430c24
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461dd4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4caa70]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dbc0
test eax, eax
je 0x4600de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409708
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dbe8
test eax, eax
je 0x4600f2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b28
mov eax, dword [0x4ca7d8]
cmp byte [eax], 0
jne 0x460126
mov eax, ebx
call fcn.00460298
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00461fb0
mov eax, ebx
call fcn.00462960
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460166
call fcn.00403e8c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46050c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ccc88]
cmp dword [eax + 0x30], 0
je 0x4605b6
cmp dword [ebx + 0x94], 0
jne 0x4605b0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46049c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4605b0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460576
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4605b0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e25c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460585
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461094
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4610c9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004049b0
jmp 0x4610d6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404914
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46218c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4621cd
mov eax, esi
call fcn.00447f8c
test al, al
je 0x4621cd
mov eax, dword [ebx + 0x84]
call fcn.00447c88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4621cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447c88
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x467cf8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x467d26
mov eax, ebx
call fcn.004687b0
cmp dword [ebx + 0x3c], 0
je 0x467d1f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x467d97
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x467d89
cmp dword [ebx + 8], 0
je 0x467d48
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x467d5a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467d89
cmp dword [ebx + 8], 0
je 0x467d3b
cmp eax, 3
je 0x467d6d
dec eax
jne 0x467d3b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x467d3b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x467d3b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x467db5
cmp dword [ebx + 0x10], 0xcc
je 0x467db5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00467dc0
pop ebx
ret
Function at 0x4780b4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffff8
mov byte [esp], dl
push 0
lea edx, [esp + 8]
push edx
push 1
lea edx, [esp + 0xc]
push edx
mov eax, dword [eax]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4780e6
cmp dword [esp + 4], 1
jne 0x4780e6
mov al, 1
pop ecx
pop edx
ret
xor eax, eax
pop ecx
pop edx
ret

Function at 0x4780ec
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, edx
mov ebx, eax
mov esi, 1
push 0
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x478121
mov byte [edi], 1
xor eax, eax
jmp 0x478127
mov byte [edi], 0
mov al, byte [esp]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x478934
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
dec ecx
test ecx, ecx
jl 0x478959
inc ecx
xor esi, esi
mov bl, byte [eax + esi]
xor bl, byte [edx + esi]
mov edi, dword [ebp - 4]
mov byte [edi + esi], bl
inc esi
dec ecx
jne 0x478949
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x49d1d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c96fa
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49d22b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c971b
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x49d221
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x49d22f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4aa8dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d60
xor eax, eax
push ebp
push 0x4aa960
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b78
dec eax
jne 0x4aa91e
lea eax, [ebp - 4]
mov edx, 0x4aa978
call fcn.00404b80
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d70
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa967
lea eax, [ebp - 4]
call fcn.004048c0
ret

Function at 0x4aa97c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, dword [0x4cb048]
xor eax, eax
push ebp
push 0x4aaa16
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
mov bl, 0x41
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404aa0
lea eax, [ebp - 4]
mov edx, 0x4aaa2c
call fcn.00404b80
mov eax, dword [ebp - 4]
call fcn.00404d70
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4aa9f5
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404aa0
mov eax, dword [ebp - 8]
call fcn.004aa8dc
test al, al
je 0x4aa9f5
inc dword [edi]
mov eax, dword [edi]
mov edx, dword [0x4caa4c]
mov byte [edx + eax - 1], bl
cmp dword [edi], 0xa
je 0x4aa9fb
inc ebx
cmp bl, 0x5b
jne 0x4aa9a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aaa1d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048e4
ret
Function at 0x4af164
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4af2cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404958
mov eax, dword [ebp - 0x10]
call fcn.004aeecc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4af1b6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004af5d4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4af28b
xor eax, eax
push ebp
push 0x4af284
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004af03c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004af2fc
test al, al
je 0x4af262
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049b0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4af262
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404d70
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4af25c
mov eax, dword [ebp - 0x14]
call fcn.00404d70
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404ab0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004af164
dec ebx
cmp ebx, 0xffffffff
jne 0x4af215
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af28b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004af03c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404d70
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004af028
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af2d4
lea eax, [ebp - 0x3c]
call fcn.004048c0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048e4
ret
Function at 0x4af28b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4af2cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404958
mov eax, dword [ebp - 0x10]
call fcn.004aeecc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4af1b6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004af5d4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4af28b
xor eax, eax
push ebp
push 0x4af284
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004af03c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004af2fc
test al, al
je 0x4af262
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049b0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4af262
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404d70
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4af25c
mov eax, dword [ebp - 0x14]
call fcn.00404d70
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404ab0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004af164
dec ebx
cmp ebx, 0xffffffff
jne 0x4af215
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af28b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004af03c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404d70
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004af028
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af2d4
lea eax, [ebp - 0x3c]
call fcn.004048c0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048e4
ret

Function at 0x4af2fc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004031c4
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4cb0ec]
cmp byte [edx + 0xc], 0
je 0x4af360
mov edx, dword [0x4cb0d8]
cmp dword [edx], 2
jne 0x4af360
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4af4f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004aeee0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404d70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4af556
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cacb0]
mov dl, 1
mov eax, dword [0x4aedd8]
call fcn.0040cf2c
call fcn.0040429c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4af560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404d70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4af5b8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cb0f8]
mov dl, 1
mov eax, dword [0x4aedd8]
call fcn.0040cf2c
call fcn.0040429c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004aef10
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b6974
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4b6b38
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [0x4cb0d8]
mov eax, dword [eax]
dec eax
je 0x4b6a7a
dec eax
jne 0x4b6b12
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x16c], 3
mov byte [ebp - 0x168], 0
mov dword [ebp - 0x164], 3
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x15c], edi
mov byte [ebp - 0x158], 6
lea edx, [ebp - 0x16c]
mov ecx, 2
mov eax, 0x4b6b50
call fcn.00409e5c
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov ecx, 0xff
call fcn.00404b54
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x11]
mov cl, 8
call fcn.00402ffc
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x11]
call fcn.00404b1c
mov eax, dword [ebp - 0x170]
call fcn.00404d70
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4b6a73
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
jmp 0x4b6b14
xor ebx, ebx
jmp 0x4b6b14
push 0
push 0x4000000
push 0
push 0
push 0
push 0
push 0x4b6b5c
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4b6aea
mov al, byte [edi]
call fcn.00402b8c
and eax, 0xff
sub eax, 0x41
inc eax
mov dword [ebp - 0x28], 0x440d
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0x866
lea eax, [ebp - 0x4d]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 1
push 0
lea eax, [ebp - 8]
push eax
push 0x1c
lea eax, [ebp - 0x34]
push eax
push 0x1c
lea eax, [ebp - 0x34]
push eax
push 1
push esi
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4b6aec
xor ebx, ebx
cmp esi, 0xffffffff
je 0x4b6af7
push esi
call sub.kernel32.dll_CloseHandle_1
test byte [ebp - 0x1c], 1
sete al
and al, bl
cmp al, 1
jne 0x4b6b0e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x4b]
mov dword [eax], edx
jmp 0x4b6b14
xor ebx, ebx
jmp 0x4b6b14
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6b3f
lea eax, [ebp - 0x170]
call fcn.004048c0
lea eax, [ebp - 0x154]
call fcn.004048c0
ret
Function at 0x4b8de8
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebx
push esi
push ecx
cmp dword [0x4ce6b0], 0
setne bl
test al, 1
setne byte [0x4ce6b4]
test al, 2
setne byte [0x4ce6b5]
test al, 4
setne byte [0x4ce6b6]
test al, 8
setne byte [0x4ce6b7]
test al, 0x10
setne byte [0x4ce6b8]
cmp byte [0x4ce6b4], 0
je 0x4b8e41
push 0
push 0
push 0x4b8f14
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
jmp 0x4b8e55
push 5
push 0
push 0x4b8f14
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [0x4aee38]
call fcn.004aef38
mov esi, eax
mov edx, 0x80000001
mov eax, esi
call fcn.004aefd8
cmp byte [0x4ce6b5], 0
je 0x4b8ea9
push 0
lea eax, [esp + 4]
push eax
push 1
push 0x61
call sub.user32.dll_SystemParametersInfoA
mov cl, 1
mov edx, 0x4b8f2c
mov eax, esi
call fcn.004af040
mov ecx, 0x4b8f70
mov edx, 0x4b8f7c
mov eax, esi
call fcn.004af3dc
jmp 0x4b8ed3
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x61
call sub.user32.dll_SystemParametersInfoA
mov cl, 1
mov edx, 0x4b8f2c
mov eax, esi
call fcn.004af040
mov edx, 0x4b8f7c
mov eax, esi
call fcn.004af2dc
mov eax, esi
call fcn.004aefa8
mov eax, esi
call fcn.00403ad0
cmp byte [0x4ce6b6], 0
je 0x4b8efc
push 0
lea eax, [esp + 4]
push eax
push 1
push 0x24
call sub.user32.dll_SystemParametersInfoA
jmp 0x4b8f0c
push 0
lea eax, [esp + 4]
push eax
push 1
push 0x24
call sub.user32.dll_SystemParametersInfoA
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x403cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526138
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x574c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
call fcn.00410885
movzx ecx, word [ebp + 0xc]
mov eax, dword [eax + 0xc]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call fcn.00410885
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.00418004
push 0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push 0x1001
push edx
lea ecx, [ebp - 0x20]
call fcn.0041851b
test eax, eax
je 0x403d8e
call fcn.00410885
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00417d3b
lea ecx, [ebp - 0x20]
call fcn.00417f9f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00418172
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403dc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403deb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403e00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526208
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x574c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREThunder_NetworkThunderOem_thunder_backwnd
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403ed7
push 0x104
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x104
call fcn.004051c8
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
mov eax, dword [ebp - 0x14]
push esi
lea edx, [ebp - 0x1c]
push edx
push 0
push str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403ed7
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [ebp - 0x10]
call fcn.00401c30
push str.Program_
push str.ProgramThunder.exe
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00404410
test eax, eax
jne 0x403eea
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x403ed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.ThunderPlatform.dat
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00404de0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test esi, esi
je 0x403f64
test edi, edi
jg 0x403f4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
jg 0x403f72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret