joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
call fcn.005a7690
add esp, 0xc
mov dword [ebp - 0x808], 0
push 0
push 0x60ec18
push dword [edi + 0x10]
mov dword [ebp - 0x80c], 0
push ecx
mov ecx, edi
call fcn.00406530
test eax, eax
je 0x41c5e7
push 0
push 0x60ec18
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406530
test eax, eax
je 0x41c5e7
cmp dword [edi + 0x14], 8
jb 0x41c511
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push 0x20119
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c5e7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x808], 0x800
jb 0x41c545
mov esi, dword [esi]
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push esi
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x41c5db
cmp eax, 7
jne 0x41c5aa
mov eax, dword [ebp - 0x808]
xor ecx, ecx
add eax, 0xfffffffe
je 0x41c5db
lea edx, [ecx + 0x7c]
lea esp, [esp]
cmp word [ebp + ecx*2 - 0x804], 0
jne 0x41c5a3
mov word [ebp + ecx*2 - 0x804], dx
inc ecx
cmp ecx, eax
jb 0x41c590
jmp 0x41c5db
cmp eax, 4
jne 0x41c5d2
push dword [ebp - 0x804]
lea eax, [ebp - 0x804]
push 0x60ee14
push 0xffffffffffffffff
push 0x400
push eax
call fcn.005a4e29
add esp, 0x14
jmp 0x41c5db
xor eax, eax
mov word [ebp - 0x804], ax
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp word [ebp - 0x804], ax
jne 0x41c607
xor ecx, ecx
jmp 0x41c61f
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c610
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
push eax
mov ecx, ebx
call fcn.004058d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
cmp dword [eax + 0x14], 8
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0
jb 0x41c67b
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x41c6d5
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x41c6ab
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x41c6b3
mov edi, dword [edi]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c6f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x808], 0
call fcn.005a7690
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41c741
mov eax, dword [edi]
jmp 0x41c743
mov eax, edi
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.005a54f5
mov ecx, dword [edi + 0x10]
add esp, 0x10
xor eax, eax
test ecx, ecx
je 0x41c788
cmp word [ebp + eax*2 - 0x804], 0x7c
jne 0x41c783
cmp eax, 0x400
jae 0x41c838
xor edx, edx
mov word [ebp + eax*2 - 0x804], dx
inc eax
cmp eax, ecx
jb 0x41c763
add eax, eax
cmp eax, 0x800
jae 0x41c838
xor ecx, ecx
mov word [ebp + eax - 0x804], cx
add eax, 2
cmp eax, 0x800
jae 0x41c838
cmp dword [esi + 0x14], 8
mov word [ebp + eax - 0x804], cx
jb 0x41c7bd
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x808]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x41c81e
cmp dword [ebx + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x41c7f0
mov ebx, dword [ebx]
lea eax, [eax*2 + 4]
push eax
lea eax, [ebp - 0x804]
push eax
push 7
push 0
push ebx
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x808]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc
call fcn.005a6496
int3
Function at 0x41c840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], 0
jb 0x41c867
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41c8b3
cmp dword [esi + 0x14], 8
jb 0x41c894
mov esi, dword [esi]
push 8
lea eax, [ebp + 0x10]
push eax
push 0xb
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41c8d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 8
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], 0
jb 0x41c8f7
mov eax, dword [eax]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x41c943
cmp dword [esi + 0x14], 8
jb 0x41c924
mov esi, dword [esi]
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c960
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
push 0x60ec18
push dword [edi + 0x10]
mov ebx, 0x57
push ecx
mov ecx, edi
mov dword [ebp - 8], 0
call fcn.00406530
test eax, eax
je 0x41ca08
push 0
push 0x60ec18
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406530
test eax, eax
je 0x41ca08
cmp dword [edi + 0x14], 8
jb 0x41c9b9
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x41ca08
push eax
push 0x60ec18
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406530
test eax, eax
je 0x41c9ff
cmp dword [esi + 0x14], 8
jb 0x41c9f3
mov esi, dword [esi]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
Function at 0x41ca30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d00a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0x60ec18
push dword [esi + 0x10]
mov edi, 0x57
push ecx
mov ecx, esi
mov dword [ebp - 0x4c], 0
call fcn.00406530
test eax, eax
je 0x41cb5f
mov eax, dword [esi + 0x10]
dec eax
cmp dword [esi + 0x14], 8
jb 0x41ca92
mov ecx, dword [esi]
jmp 0x41ca94
mov ecx, esi
cmp word [ecx + eax*2], 0x5c
jne 0x41ca9c
dec eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 0x18], 0x5c
call fcn.0041cbd0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41cb5f
push ebx
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.0041cb90
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041cb90
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0x20006
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x41cb29
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x4c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 8
jb 0x41cb3a
push dword [ebp - 0x30]
call fcn.0048166b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x41cb5f
push dword [ebp - 0x48]
call fcn.0048166b
add esp, 4
xor eax, eax
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 4
Function at 0x41d160
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp dword [ebx + 4], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x41c], ecx
jne 0x41d1ac
push str.CUnzip::UnZipTarget__param_error
call fcn.00415fc0
mov eax, SysReAllocString
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
mov eax, dword [esi + 0x10]
push dword [eax + 4]
mov eax, dword [ecx + 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x418]
push 0x60e0d4
push 0xffffffffffffffff
push 0x104
push eax
call fcn.005a4e29
mov ecx, dword [esi + 8]
add esp, 0x18
test ecx, ecx
jne 0x41d202
push str.CUnzip::UnZipTarget__pInfo__stDLPath__NULL_error
call fcn.00415fc0
mov eax, reloc.OLEAUT32.dll_SysStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 4]
call fcn.00419720
test eax, eax
jne 0x41d24f
mov eax, dword [esi + 8]
push dword [eax + 4]
push str.CUnzip::UnZipTarget__IfExistFile___Failed___Path:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
mov eax, reloc.OLEAUT32.dll_SysStringLen
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0041cdc0
mov edi, eax
test edi, edi
je 0x41d28c
push edi
push str.CUnzip::UnZipTarget__MakeUnZipPath___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], edi
call fcn.00416140
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x41c]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [esi + 8]
push dword [eax + 4]
mov eax, dword [ebx + 4]
call eax
test eax, eax
jne 0x41d2e6
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0041cea0
test eax, eax
je 0x41d2dd
push reloc.OLEAUT32.dll_SysStringLen
push str.CUnzip::UnZipTarget__SetUnzippedFolder___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], reloc.OLEAUT32.dll_SysStringLen
call fcn.00416140
mov dword [esi + 0x28], 0
jmp 0x41d2fc
push reloc.OLEAUT32.dll_SysStringLen
push str.CUnzip::UnZipTarget__pUnZip___Failed___dwUnZipResult:0x_08x
mov dword [esi + 0x28], reloc.OLEAUT32.dll_SysStringLen
call fcn.00416140
mov eax, dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret 8
Function at 0x41db70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
call esi
push eax
call fcn.004839b4
cmp eax, edi
jne 0x41dba1
push str.CDlgBase::SetAbsoluteForegroundWindow____Already_Foreground
jmp 0x41dbfb
mov dword [ebp - 8], 0
call esi
push eax
call fcn.004839b4
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [ebp - 8]
push ecx
push dword [eax + 0x20]
call esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov edi, eax
push ebx
push edi
call esi
mov eax, dword [ebp - 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push edi
call esi
mov eax, dword [ebp - 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push str.CDlgBase::SetAbsoluteForegroundWindow____Window_Foregrounded
call fcn.00415fc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a4646
mov esp, ebp
pop ebp
ret

Function at 0x41f1c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d043b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
push 0x60e1b0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.004058d0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
cmp dword [ebp - 0x234], 8
jb 0x41f255
push dword [ebp - 0x248]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005a7690
add esp, 0xc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x60ec18
push str.Capture
push str.CAPTUREMODE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
cmp word [ebp - 0x218], 0x31
sete bl
cmp dword [ebp - 0x21c], 8
jb 0x41f2cd
push dword [ebp - 0x230]
call fcn.0048166b
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret

Function at 0x41f760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0048cbe1
Function at 0x41fd60
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0048d383
push dword [esi + 0x94]
mov ecx, esi
call fcn.00488db5
push dword [esi + 0x98]
lea ecx, [esi + 0xa8]
call fcn.00488db5
cmp dword [esi + 0xa4], 0
lea ecx, [esi + 0x11c]
jne 0x41fdb8
push dword [esi + 0x9c]
call fcn.00488db5
push dword [esi + 0xa0]
lea ecx, [esi + 0x194]
call fcn.00488db5
mov eax, 1
pop esi
ret
push 0
call fcn.00488df9
push 0
lea ecx, [esi + 0x194]
call fcn.00488df9
push 0
push 4
push 0
push 0
push esi
push 0x41ff30
call fcn.0048babd
mov dword [esi + 0x210], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x210]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret

Function at 0x41ffb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0678
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
xor eax, eax
push 0x60f994
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.004058d0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x42002f
push dword [ebp - 0x48]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.0048b870
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x42005f
push 0x80004005
call fcn.004091f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
ja 0x420080
push str.invalid_string_position
call fcn.005bf60b
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x30]
push str._c:_
push eax
call fcn.0041c0f0
mov esi, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4200e2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 8
jb 0x4200f3
push dword [ebp - 0x2c]
call fcn.0048166b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret
Function at 0x4254a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1010
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x6fb018]
push 4
xor eax, eax
push str.LANG
lea ecx, [esp + 0x1c]
mov dword [esi], 0x683da0
mov dword [esi + 4], 4
lea ebx, [edi + 0x284]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004058d0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], 0
mov ecx, dword [0x6fb010]
lea eax, [esp + 0x30]
push eax
add ecx, 0xc
call fcn.00406e30
push 6
push str.Arabic
mov byte [esp + 0x58], 1
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00406530
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x40], 8
jb 0x42555f
push dword [esp + 0x2c]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x425591
push dword [esp + 0x14]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp byte [esp + 0x13], al
je 0x4255b9
lea eax, [esi + 0x30]
push eax
push str.HEADER4_RTL.bmp
jmp 0x4255c2
lea eax, [esi + 0x20]
push eax
push str.HEADER4.bmp
push ebx
call fcn.0046ae50
mov esi, dword [0x6fb018]
cmp dword [esi + 0x34], 0
jne 0x4255e1
push str.FOOTER.bmp
call fcn.00457520
mov dword [esi + 0x34], eax
push dword [esi + 0x34]
push 0
push 0x172
push dword [edi + 0x318]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [0x6f3f44]
mov eax, dword [0x6f3f4c]
mov edx, dword [0x6f3f40]
push 0
sub eax, esi
push eax
mov eax, dword [0x6f3f48]
sub eax, edx
push eax
push esi
push edx
lea ecx, [edi + 0x2f8]
call fcn.00488b7f
push 0
lea eax, [edi + 0x94]
push eax
call fcn.0046b200
push 1
lea eax, [edi + 0x118]
push eax
call fcn.0046b200
push 2
lea eax, [edi + 0x19c]
push eax
call fcn.0046b200
push 3
lea eax, [edi + 0x210]
push eax
call fcn.0046b200
mov eax, dword [0x6fb018]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425d80
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0048d383
mov ecx, esi
call fcn.00426030
mov ecx, esi
call fcn.00425e10
mov ecx, dword [0x6fb014]
mov eax, dword [ecx + 0x160]
mov dword [esi + 0x438], eax
mov eax, dword [ecx + 0x170]
mov dword [esi + 0x434], eax
lea eax, [esi + 0x444]
push eax
push dword [esi + 0x3e0]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 4
push 0
push 0
push esi
lea eax, [esi + 0x108]
push 0x4263b0
mov dword [esi + 0x454], eax
call fcn.0048babd
mov dword [esi + 0x550], eax
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x550]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
Function at 0x425e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1010
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x65a000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x6fb018]
push 0
mov dword [eax], 0x687ac0
mov dword [eax + 4], 8
lea eax, [edi + 0x3c0]
push eax
call fcn.0046b200
mov ebx, dword [0x6fb018]
push 4
xor eax, eax
push str.LANG
lea ecx, [esp + 0x1c]
lea esi, [edi + 0x34c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.004058d0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x54], 0
mov ecx, dword [0x6fb010]
lea eax, [esp + 0x30]
push eax
add ecx, 0xc
call fcn.00406e30
push 6
push str.Arabic
mov byte [esp + 0x58], 1
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00406530
test eax, eax
sete byte [esp + 0x13]
cmp dword [esp + 0x40], 8
jb 0x425ee2
push dword [esp + 0x2c]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x425f14
push dword [esp + 0x14]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp byte [esp + 0x13], al
je 0x425f3c
lea eax, [ebx + 0x2c]
push eax
push str.HEADER3_RTL.bmp
jmp 0x425f45
lea eax, [ebx + 0x1c]
push eax
push str.HEADER3.bmp
push esi
call fcn.0046ae50
mov esi, dword [0x6fb018]
cmp dword [esi + 0x34], 0
jne 0x425f64
push str.FOOTER.bmp
call fcn.00457520
mov dword [esi + 0x34], eax
push dword [esi + 0x34]
push 0
push 0x172
push dword [edi + 0x2f8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [0x6f3f44]
mov eax, dword [0x6f3f4c]
mov edx, dword [0x6f3f40]
push 0
sub eax, esi
push eax
mov eax, dword [0x6f3f48]
sub eax, edx
push eax
push esi
push edx
lea ecx, [edi + 0x2d8]
call fcn.00488b7f
push 1
lea eax, [edi + 0x458]
push eax
call fcn.0046b200
push 7
lea eax, [edi + 0x4dc]
push eax
call fcn.0046b200
push 2
lea eax, [edi + 0x94]
push eax
call fcn.0046b200
push 3
lea eax, [edi + 0x108]
push eax
call fcn.0046b200
push 4
lea eax, [edi + 0x264]
push eax
call fcn.0046b200
push 0
lea ecx, [edi + 0x17c]
call fcn.00488df9
push 6
lea eax, [edi + 0x1f0]
push eax
call fcn.0046b200
mov eax, dword [0x6fb018]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret