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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.004e2d00
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9c6e
push ebx
call fcn.004e2095
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4b9ca3
push 0x36
push 0x4011275
push 6
call fcn.004e209b
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b9cbf
push eax
mov ebx, eax
call fcn.004a4931
inc eax
push eax
call fcn.004e208f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4b9cc4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9cd5
push ebx
call fcn.004e2095
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4cd1b4
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4cd1be
add dword [esp], 5
retf

Function at 0x4cd249
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x4cd2c9
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x4cd2c9
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x4cd2c9
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x4cd2c9
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x4cd2ba
test bl, bl
je 0x4cd2cd
dec eax
mov eax, edx
jmp 0x4cd2a6
inc ebp
test al, al
je 0x4cd2cd
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x4cd2a1
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x4cd28d
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x4cd2c7
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x4cf214
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4cf21e
add dword [esp], 5
retf

Function at 0x4cf357
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4cf361
add dword [esp], 5
retf

Function at 0x4cf8ce
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x4cf8d8
add dword [esp], 5
retf
Function at 0x4d2123
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4d2168
push 0x59
push 0x4011389
push 6
call fcn.004e209b
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004e4a30
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d21cb
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004e2b50
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.user32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4d21f9
push 0xfb
push 0x4011389
push 6
call fcn.004e209b
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004e4a30
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d225c
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004e2b50
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.user32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4d228a
push 0x19d
push 0x4011389
push 6
call fcn.004e209b
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004e4a30
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4d22ed
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004e2b50
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x4d22f5
mov esp, ebp
pop ebp
ret

Function at 0x4e3470
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.004f3977
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x4e34da
push esi
lea edi, [eax + 0x400]
call fcn.004f39a0
push edi
call fcn.004f3977
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x4e34aa
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4e34f6
push ecx
push esi
call fcn.004e60c0
add esp, 8
mov ebx, eax
push esi
call fcn.004f39a0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4e3830
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
ret
Function at 0x4e4040
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.004e23f0
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x4e4097
push ebx
push edi
call fcn.004e2500
push esi
mov ebx, esi
call fcn.004e23f0
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x4e406e
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4e40e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4e4172
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4e4164
mov ebp, dword [sym.imp.kernel32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4e415c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4e4125
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4f65d1
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 0x4f6613
call fcn.004f96a0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x4f6613
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x4f660a
xor eax, eax
jmp 0x4f661b
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f6621
pop edi
pop esi
pop ebx
ret 4
Function at 0x4f7323
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4faf64
call fcn.004e8f94
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.004f96a0
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4f7362
call fcn.004f96a0
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 0x4f7370
push edi
call dword [sym.imp.kernel32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f737e
or eax, 0xffffffff
jmp 0x4f7466
mov ecx, esi
call fcn.004f7299
mov dword [ebp - 0x14], eax
call fcn.004f4c18
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4f73b5
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_IsWindowEnabled]
test eax, eax
je 0x4f73b5
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.004f4bcc
push dword [ebp - 0x14]
call fcn.004f46fe
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004f7031
cmp eax, edi
je 0x4f7428
test byte [esi + 0x24], 0x10
je 0x4f73f6
push 4
mov ecx, esi
pop ebx
call fcn.004f40fe
test ah, 1
je 0x4f73ee
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004f6723
cmp dword [esi + 0x1c], edi
je 0x4f7428
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004f4132
jmp 0x4f7428
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4f743c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4f7455
call dword [sym.imp.user32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4f7455
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.004f72d3
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 0x4fdde0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x64ce80]
xor edx, edx
cmp eax, edx
jne 0x4fde06
xor eax, eax
mov byte [eax + 0x64cd80], al
inc eax
cmp eax, 0x100
jl 0x4fddee
mov dword [0x64ce80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x64cd80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4fde97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4fde6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4fde38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4fdf10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4fdf63
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4fdf4a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x504910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x534d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00505230
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5ba5c4
call fcn.00523dbf
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5049a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00523dbf
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x50499c
push 0
mov ecx, eax
call fcn.004fba10
mov dword [esi + 0xc], eax
jmp 0x5049a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5049a5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x526462
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52649a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA_1]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005244d9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA_1]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005244b1
jmp 0x5264a6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x527b59
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 0x527b9b
call fcn.0052d961
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA_1]
cmp eax, edi
je 0x527b9b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource_1]
cmp eax, edi
jne 0x527b92
xor eax, eax
jmp 0x527ba3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00527ba9
pop edi
pop esi
pop ebx
ret 4

Function at 0x52de91
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_1]
cmp dword [esp + 0x10], 0
jne 0x52debf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x52dedd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0052ddf7
jmp 0x52dedd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52dedd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0052ddf7
test edi, edi
mov eax, edi
jne 0x52dec7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x4149c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.004149d7
Function at 0x417bc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.00417bd7

Function at 0x41a340
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x41e1c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
sub eax, 4
push eax
call fcn.00420780
call fcn.0041a860
push eax
push dword [ebp - 4]
call fcn.00421840
mov dword [ebp - 4], eax
push 0x56a70c
push dword [eax]
call fcn.00421740
add esp, 0x1c
test eax, eax
jne 0x41a394
push 0x1ff
call fcn.0041a860
push eax
call fcn.0053b9d0
add esp, 8
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 4]
call fcn.00423c30
mov eax, dword [ebp - 4]
push 0x5c
push dword [eax]
call fcn.00546389
mov esi, eax
mov byte [esi], 0
mov ecx, dword [ebp - 4]
push dword [ecx]
call fcn.00541ac9
mov byte [esi], 0x5c
mov eax, dword [ebp - 4]
push dword [eax]
call fcn.00541ac9
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 0x41e1c0
lea eax, [ebp - 4]
lea esi, [ebp + 4]
push eax
add esi, 0xfffffffc
push esi
call fcn.00420780
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push 0x41e1c0
push eax
push esi
call fcn.00420780
call fcn.0041a800
push eax
push dword [ebp - 0x18]
call fcn.00421840
mov ecx, eax
add esp, 0x20
mov eax, dword [0x5fd860]
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x41aa1c
push dword [ecx]
push str._s_luminati
push dword [ebp - 4]
call fcn.004218d0
add esp, 0xc
cmp dword [0x5ed010], 0
je 0x41aa07
mov eax, dword [ebp - 4]
push dword [eax]
call fcn.004238b0
add esp, 4
test eax, eax
jne 0x41aa07
push 0x41e1c0
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00420780
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push 0x41e1c0
push eax
push esi
call fcn.00420780
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push 0x41e1c0
push eax
push esi
call fcn.00420780
call fcn.0041a800
push eax
push dword [ebp - 0xc]
call fcn.00421840
mov ecx, dword [0x5fd85c]
add esp, 0x2c
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x41a9ef
push ebx
push edi
mov edi, dword [ebp - 0x10]
push edi
mov dword [ebp - 8], ecx
call fcn.004219c0
add esp, 4
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x56a6c0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x41a9eb
push eax
push dword [ebp - 8]
push eax
call fcn.00541aaf
push eax
call fcn.0053b370
mov ebx, eax
add esp, 0x10
cmp ebx, 0xffffffff
je 0x41a9eb
push ebx
push edi
call fcn.004219f0
push ebx
push dword [ebp - 8]
push dword [edi]
call fcn.00541aaf
push eax
call fcn.0053b370
add esp, 0x18
cmp eax, 0xffffffff
je 0x41a9eb
push edi
call fcn.00423c10
push dword [ebp - 0xc]
call fcn.00423c30
add esp, 8
push dword [eax]
push esi
call fcn.00420c10
add esp, 4
push eax
call fcn.0041e150
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax]
push str._s_BrightData__s
push dword [ebp - 0x14]
call fcn.004218d0
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov ecx, dword [eax]
mov dword [0x5fd85c], ecx
mov dword [eax], 0
jmp 0x41a9ed
xor ecx, ecx
pop edi
pop ebx
push ecx
push 0x5fd860
call fcn.00421840
mov eax, dword [0x5fd860]
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov dword [0x5fd860], eax
mov dword [ecx], 0
mov eax, dword [0x5fd860]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
mov dword [0x5fd87c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x56b8a8
mov edi, eax
push 0x64
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41c683
xor esi, esi
jmp 0x41c6ab
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41c693
xor esi, esi
jmp 0x41c6ab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c6ab
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
push esi
call fcn.0053b3a0
add esp, 4
test eax, eax
jne 0x41c6e9
lea eax, [ebp + 4]
sub eax, 4
push 0x56b910
push eax
call fcn.00420ae0
push 0
push 0
push 0
push 1
push dword [eax]
push str.dll_failed_loading_mem_res
call fcn.00418b20
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
push eax
call fcn.0041f8d0
push eax
call fcn.0053b3a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c72f
lea eax, [ebp + 4]
sub eax, 4
push 0x56b910
push eax
call fcn.00420ae0
push esi
push esi
push esi
push 1
push dword [eax]
push str.dll_failed_loading_mem_mod
call fcn.00418b20
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.mem_loaded_sdk_dll_0x_p
push 5
call fcn.004241a0
add esp, 0xc
mov dword [0x5fd880], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d780
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x41e1c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 4]
sub eax, 4
push eax
call fcn.00420780
add esp, 0xc
mov dword [ebp - 4], eax
call dword [sym.imp.lum_sdk32.dll__brd_sdk_get_uuid_c_0]
push eax
push 0x56bd6c
push 2
call fcn.00541bde
add esp, 4
push eax
call fcn.0041a7d0
add esp, 0xc
push 0
call fcn.00541795
int3

Function at 0x41e8b0
Capabilities:
Terminate process

Disassembly:
push dword [0x5f9d2c]
push str.Brightdata_Service
push str.net_updater__OPTIONS_____s__s_n___h___print_this_message_n____updater_appid___run_init_monitor_with_provided_appid._n____install_appid___install_service_with_provided_appid_n____install_ui_appid___install_service_with_provided_appid_after_showing_dialog_and_getting_user_permission_n____check_peer_appid___validate_peer_n____uninstall_appid___remove_service_with_provided_appid__must_match_appid_used_during_install__n____start_service_appid___starts_Bright_Data_service_n____stop_service_appid___stops_Bright_Data_service_n____dlg_pos__ownerscreentop:left__n____dlg_language___language_code_e.g.__de_DE__or__de__n____dlg_bg_color_color___e.g.__ff112233__n____dlg_btn_color_color_n____dlg_txt_color_color_n____dlg_app_name_name_n____dlg_logo_link_logo_n____dlg_benefit_benefit_n____dlg_agree_btn_text_n____dlg_disagree_btn_text_n____campaign_campaign_id___optional_parameter_for_the_further_breakdown_of_the_existing_app_ID_to_monitor_the_statistics_separately_n
push 2
call fcn.00541bde
add esp, 4
push eax
call fcn.0041a7d0
add esp, 0x10
push 1
call fcn.00541795
int3
Function at 0x41ee00
Capabilities:
Terminate process

Disassembly:
push dword [0x5f9d2c]
push 0x56bd6c
push 2
call fcn.00541bde
add esp, 4
push eax
call fcn.0041a7d0
add esp, 0xc
push 0x4d2
call fcn.00541795
int3
Function at 0x420580
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004218f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4205d5
push dword [ebp - 4]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.004221d0
add esp, 8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 8]
push eax
call fcn.004221a0
add esp, 4
push 2
call fcn.00541bde
push eax
push dword [ebp - 4]
call fcn.00547f61
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x4205f8
push eax
call fcn.005414d0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x422e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, 0x40
push edi
xor edi, edi
cmp esi, eax
cmovle esi, eax
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x422eb0
call fcn.005414b2
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
push esi
push ebx
mov dword [ebp + 0x14], eax
call fcn.004219f0
push dword [ebp + 0xc]
lea eax, [esi + 1]
push eax
push 1
push dword [ebx]
call fcn.00541e3c
add esp, 0x18
test eax, eax
jle 0x422f0b
add edi, eax
cmp eax, esi
jle 0x422f0b
add esi, esi
lea eax, [esi + edi]
cmp eax, 0x40000000
jge 0x422f3a
inc eax
push eax
push dword [ebx]
call fcn.00547937
push dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [ebx], eax
push ecx
add eax, edi
push 1
push eax
call fcn.00541e3c
add esp, 0x18
test eax, eax
jg 0x422ed6
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx]
mov byte [edi + eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x422f1d
mov dword [eax], edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28f0]
test eax, eax
jne 0x422f2f
call fcn.005414b2
pop edi
mov dword [eax], esi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x1b
jmp 0x422f0e