joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4323c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468668
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4323f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43250c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43240d
mov eax, 0xffffffc7
jmp 0x43250e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43241e
cmp dword [esi + 8], eax
jne 0x43240d
cmp dword [esi + 8], eax
jne 0x432437
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432437
mov eax, 0xffffffc7
jmp 0x43250e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43244b
push eax
mov ecx, ebx
call fcn.00431bf0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401f10
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43247c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401f30
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431360
test eax, eax
mov dword [esp + 0x38], eax
je 0x4324af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c5e8
call fcn.00402110
mov eax, dword [esp + 0x38]
jmp 0x43250e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432220
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4324f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432240
mov esi, eax
test esi, esi
jne 0x432523
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432220
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4324c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c5e8
call fcn.00402110
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c5e8
call fcn.00402110
mov eax, esi
jmp 0x43250e

Function at 0x435650
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4356b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4356b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4356b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4356b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4356f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43b600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00461a21
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043afa0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046194f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e213
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e213
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e1bb
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e1bb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461a93
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b780
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00461a21
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043afa0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046194f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b844
cmp dword [esp + 0x40], 1
jne 0x43b842
cmp ecx, eax
jge 0x43b844
mov eax, ecx
cmp eax, 0xc8
jge 0x43b850
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b600
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461a93
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43bfd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468d23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045c633
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00461cc9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004631e5
test eax, eax
je 0x43c0ec
mov ecx, dword [esp + 0x3c]
call fcn.00461cf6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c0b0
push edi
mov ecx, esi
call fcn.0045f35a
mov ecx, esi
call fcn.0043c250
cmp dword [esp + 0x38], 1
jne 0x43c0e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f495
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43eb00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43eb33
push esi
call fcn.00441bf0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43eb2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ebb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43eba2
mov eax, dword [esi + 8]
test eax, eax
je 0x43eb57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43eb9e
cmp eax, 2
je 0x43eba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43eb4a
cmp eax, 3
je 0x43eb7d
cmp eax, 1
jne 0x43eb4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43eb4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43eb4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ebe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ebc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ebe0
add esp, 4
pop esi
ret

Function at 0x45d429
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d461
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045b4dd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b4b5
jmp 0x45d46d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45eb17
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 0x45eb59
call fcn.004645d0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45eb59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45eb50
xor eax, eax
jmp 0x45eb61
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045eb67
pop edi
pop esi
pop ebx
ret 4

Function at 0x464b00
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 0x464b2e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464b4c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464a66
jmp 0x464b4c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464b4c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464a66
test edi, edi
mov eax, edi
jne 0x464b36
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10002b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push esi
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.10005b80
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.100050e0
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x1002f3e0
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp + 8]
test eax, eax
jne 0x10002bde
push dword [ebp - 0x14]
push esi
call fcn.10004e70
add esp, 8
push edi
push str.BrightData_
push esi
call fcn.10004f80
mov edx, dword [ebp - 0xc]
add esp, 8
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002bf5
lea eax, [ebp - 8]
sub ecx, edi
push eax
push ecx
push edx
call fcn.10006270
add esp, 0xc
pop edi
test eax, eax
jne 0x10002c3e
push 0x14
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.10006540
push dword [ebp - 4]
call fcn.10004d90
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
call fcn.10005020
push dword [eax]
push esi
call fcn.10004f80
add esp, 0x20
mov eax, dword [ebp - 8]
test eax, eax
je 0x10002c55
push eax
call fcn.1000805b
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x10002c6c
push eax
call fcn.1000805b
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10002c83
push eax
call fcn.1000805b
add esp, 4
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
call fcn.10004e20
lea eax, [ebp - 0x10]
push eax
call fcn.10004e20
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10005b80
lea eax, [ebp - 4]
push str.luminati
push eax
call fcn.10004f80
add esp, 0xc
cmp dword [section..data], 0
je 0x10002e10
push dword [ebp - 4]
call fcn.100058c0
add esp, 4
test eax, eax
jne 0x10002e10
lea eax, [ebp - 4]
push esi
push eax
call fcn.10002b70
push 0x5c
push dword [ebp - 4]
call fcn.10006cb2
mov esi, eax
xor eax, eax
mov word [esi], ax
push dword [ebp - 4]
call fcn.10008093
push 0x1ff
push dword [ebp - 4]
call fcn.100080c4
mov eax, 0x5c
mov word [esi], ax
push dword [ebp - 4]
call fcn.10008093
push 0x1ff
push dword [ebp - 4]
call fcn.100080c4
add esp, 0x24
lea eax, [ebp - 4]
pop esi
push eax
call fcn.10004e20
add esp, 4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.10005b80
push 0x1ff
push dword [ebp - 8]
call fcn.10004af0
lea eax, [ebp - 8]
push eax
call fcn.10004e20
push dword [ebp - 4]
call fcn.10008093
push 0x1ff
push dword [ebp - 4]
call fcn.10004af0
add esp, 0x1c
lea eax, [ebp - 4]
push eax
call fcn.10004e20
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10002e60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x10038198]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x25c]
xor esi, esi
push eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
call fcn.10005b80
lea eax, [ebp - 0x25c]
push str.luminati
push eax
call fcn.10004f80
add esp, 0xc
cmp dword [section..data], esi
je 0x10002ecc
push dword [ebp - 0x25c]
call fcn.100058c0
add esp, 4
test eax, eax
jne 0x10002ecc
lea eax, [ebp - 0x25c]
push eax
call fcn.10002b70
add esp, 4
push dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push eax
call fcn.10004e70
lea eax, [ebp - 0x258]
push str.perr_.sent
push eax
call fcn.10004f80
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
cmove ebx, eax
test ebx, ebx
je 0x1000301b
push edi
jmp 0x10002f20
lea eax, [ebp - 0x228]
push 0x1002ec2c
push eax
call fcn.10004f50
add esp, 8
test eax, eax
jne 0x10002faa
push dword [ebp - 0x25c]
lea eax, [ebp - 0x258]
push eax
call fcn.10004e70
lea eax, [ebp - 0x258]
push 0x1002ec40
push eax
call fcn.10004f80
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.10004f80
push 1
push 0xc
call fcn.1000801b
push dword [ebp - 0x258]
mov edi, eax
lea ecx, [edi + 8]
push ecx
call fcn.10004e70
add esp, 0x28
test esi, esi
je 0x10002f9f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
jmp 0x10002fa4
mov dword [edi + 4], edi
mov esi, edi
mov dword [edi], 0
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10002f20
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x1000301a
jmp 0x10002fd0
push dword [esi + 8]
call fcn.10008177
mov edi, esi
add esp, 4
mov esi, dword [esi]
mov ecx, dword [edi]
test ecx, ecx
je 0x10002fed
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10002ff7
test esi, esi
je 0x10002ff7
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
lea eax, [edi + 8]
mov dword [edi], 0
push eax
mov dword [edi + 4], 0
call fcn.10004e20
push edi
call fcn.1000805b
add esp, 8
test esi, esi
jne 0x10002fd0
pop edi
lea eax, [ebp - 0x258]
push eax
call fcn.10004e20
lea eax, [ebp - 0x25c]
push eax
call fcn.10004e20
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
pop ebx
call fcn.100081f8
mov esp, ebp
pop ebp
ret
Function at 0x100030b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100397f8]
sub esp, 0xc
test eax, eax
jne 0x100031bb
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10005b80
lea eax, [ebp - 0xc]
push str.channel.txt
push eax
call fcn.10004f80
push dword [ebp - 0xc]
call fcn.10005850
add esp, 0x10
test eax, eax
je 0x10003198
push 0x1002ee30
push dword [ebp - 0xc]
call fcn.100057d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x10003198
push esi
push 2
push 0
push eax
call fcn.10007306
push dword [ebp - 4]
call fcn.10007719
push dword [ebp - 4]
mov esi, eax
call fcn.10007960
add esp, 0x14
cmp esi, 0x32
jg 0x10003197
lea eax, [ebp - 8]
push esi
push eax
call fcn.10004c40
push dword [ebp - 4]
push esi
push 1
push dword [ebp - 8]
call fcn.100071cb
mov eax, dword [ebp - 8]
add esp, 0x18
xor ecx, ecx
mov byte [esi + eax], 0
mov edx, dword [ebp - 8]
test esi, esi
jle 0x10003189
mov al, byte [ecx + edx]
cmp al, 0x30
jl 0x1000316c
cmp al, 0x39
jle 0x10003184
cmp al, 0x41
jl 0x10003174
cmp al, 0x5a
jle 0x10003184
cmp al, 0x61
jl 0x1000317c
cmp al, 0x7a
jle 0x10003184
cmp al, 0x2e
je 0x10003184
cmp al, 0x5f
jne 0x10003197
inc ecx
cmp ecx, esi
jl 0x10003161
push edx
push 0x100397f8
call fcn.10005020
add esp, 8
pop esi
lea eax, [ebp - 4]
push eax
call fcn.10005830
lea eax, [ebp - 8]
push eax
call fcn.10004c70
lea eax, [ebp - 0xc]
push eax
call fcn.10004e20
mov eax, dword [0x100397f8]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10003420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1002ef24
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003451
imul eax, dword [ebp + 0x14], 0x64
pop edi
pop esi
inc eax
mov dword [0x10039324], eax
xor eax, eax
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000346f
imul eax, dword [ebp + 0x14], 0x64
pop edi
pop esi
add eax, 2
mov dword [0x10039324], eax
xor eax, eax
pop ebp
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x10003490
imul eax, dword [ebp + 0x14], 0x64
pop ebx
pop edi
pop esi
add eax, 3
mov dword [0x10039324], eax
xor eax, eax
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10003550
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
imul esi, dword [ebp + 0x14], 0x64
push edi
or edi, 0xffffffff
mov dword [ebp - 8], 0
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10003420
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x14], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x100036cf
lea eax, [ebp + 0x14]
push eax
call fcn.10005b80
lea eax, [ebp + 0x14]
push str.luminati
push eax
call fcn.10004f80
add esp, 0xc
cmp dword [section..data], 0
je 0x100035d3
push dword [ebp + 0x14]
call fcn.100058c0
add esp, 4
test eax, eax
jne 0x100035d3
lea eax, [ebp + 0x14]
push eax
call fcn.10002b70
add esp, 4
push ebx
lea eax, [ebp + 0x14]
push 0x1002ef34
push eax
call fcn.10004f80
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
call fcn.10004f80
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call fcn.10004e70
lea eax, [ebp - 4]
push 0x1002ef38
push eax
call fcn.10004f80
push dword [ebp - 4]
call fcn.10008177
push dword [ebp + 0x14]
call fcn.10005850
mov ebx, dword [ebp - 0x10]
add esp, 0x28
test eax, eax
je 0x10003677
push ebx
push dword [ebp - 0xc]
push dword [ebp + 0x14]
call fcn.100034b0
add esp, 0xc
test eax, eax
jne 0x100036cc
push dword [ebp + 0x14]
call fcn.10008177
push dword [ebp + 0x14]
call fcn.10005850
add esp, 8
test eax, eax
je 0x1000365e
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.10008180
add esp, 8
push dword [ebp + 0x14]
call fcn.10005850
add esp, 4
test eax, eax
je 0x10003677
lea eax, [esi + 2]
mov dword [0x10039324], eax
jmp 0x100036ce
push str.rbe
push dword [ebp + 0x14]
call fcn.100057d0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x100036af
push str.wbe
push dword [ebp + 0x14]
call fcn.100057d0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x100036af
lea eax, [esi + 3]
mov dword [0x10039324], eax
jmp 0x100036ce
push eax
push ebx
push 1
push dword [ebp - 0xc]
call fcn.100078de
add esp, 0x10
cmp eax, ebx
je 0x100036cc
lea eax, [esi + 4]
mov dword [0x10039324], eax
jmp 0x100036ce
xor edi, edi
pop ebx
lea eax, [ebp + 0x14]
push eax
call fcn.10004e20
lea eax, [ebp - 4]
push eax
call fcn.10004e20
lea eax, [ebp - 8]
push eax
call fcn.10005830
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 8], 0
xor esi, esi
call fcn.10004f80
lea eax, [ebp - 4]
push 0x1002e5c4
push eax
call fcn.10004f80
push dword [ebp - 4]
call fcn.10008177
push esi
call fcn.10007ffc
push 0x1002e600
push dword [ebp - 4]
call fcn.100057d0
add esp, 0x20
mov dword [ebp - 8], eax
test eax, eax
jne 0x10004008
push 0x1002e60c
push dword [ebp - 4]
call fcn.100057d0
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x10004008
call fcn.10007f43
imul esi, dword [eax], 0x64
inc esi
jmp 0x10004033
push 0
call fcn.10007ffc
push dword [ebp - 8]
push 1
push 1
push 0x1002e5c0
call fcn.100078de
add esp, 0x14
cmp eax, 1
je 0x10004033
call fcn.10007f43
imul esi, dword [eax], 0x64
add esi, 2
lea eax, [ebp - 8]
push eax
call fcn.10005830
push dword [ebp - 4]
call fcn.10008177
lea eax, [ebp - 4]
push eax
call fcn.10004e20
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100054c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 0x10]
push 2
push dword [edi]
call fcn.10009d85
add esp, 8
mov dword [edi], eax
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x10]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x10005503
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 4], ebx
jg 0x10005517
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
inc eax
push esi
mov dword [ebp + 0x10], eax
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0
call fcn.10009d85
add esp, 8
mov dword [ebp - 8], eax
xor ecx, ecx
mov word [eax], cx
push ecx
push ecx
push ecx
push ecx
mov word [esi + eax], cx
lea ecx, [ebp + 0x10]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
pop esi
test eax, eax
je 0x1000555d
pop ebx
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
test eax, eax
je 0x10005572
push eax
call fcn.1000805b
add esp, 4
mov dword [edi], 0
mov eax, dword [ebp - 8]
mov dword [edi], eax
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret