joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f530
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cc98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push esi
mov eax, dword [esi]
call dword [eax + 0x80]
test eax, eax
js 0x42f6e5
push dword [ebp + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0x88]
test eax, eax
js 0x42f6e5
push dword [ebp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x48]
test eax, eax
js 0x42f6e5
mov ebx, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [esi]
test bl, bl
mov eax, 0x2000
cmovne eax, edx
or eax, 0x400
push eax
push esi
call dword [ecx + 0x70]
test eax, eax
js 0x42f6e5
test bl, bl
je 0x42f5cf
mov eax, dword [esi]
push 0
push 0x4a2700
push esi
call dword [eax + 0x78]
mov edi, eax
jmp 0x42f651
lea ecx, [ebp + 8]
call fcn.00401920
push 1
push 0x101
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x101
call fcn.0042f070
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
lea ecx, [ebp - 0x20]
sete bl
call fcn.0042f1d0
test bl, bl
je 0x42f632
lea ecx, [ebp + 8]
call fcn.00402240
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0
push dword [ebp + 8]
push esi
call dword [eax + 0x78]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.00402240
mov ebx, dword [ebp + 0x18]
test edi, edi
js 0x42f6e3
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0xa8]
test eax, eax
js 0x42f6e5
mov dword [ebp + 8], 0
cmp byte [ebp + 0x1c], 0
mov dword [ebp - 4], 1
je 0x42f68f
test bl, bl
je 0x42f68f
push esi
call fcn.0042f2f0
mov edi, eax
add esp, 4
test edi, edi
js 0x42f6e3
cmp byte [ebp + 0x20], 0
je 0x42f6a5
push ebx
push esi
call fcn.0042f3c0
mov edi, eax
add esp, 8
test edi, edi
js 0x42f6e3
push esi
lea ecx, [ebp - 0x10]
call fcn.0042f030
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test eax, eax
jne 0x42f6c0
mov edi, 0x80004002
jmp 0x42f6d5
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0x10]
test edi, edi
js 0x42f6d5
xor edi, edi
mov byte [ebp - 4], 1
test eax, eax
je 0x42f6e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f950
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cd40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call fcn.0042fa60
add esp, 4
test eax, eax
je 0x42f9b3
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042fd80
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x4a4884
push 1
push 0
push 0x4a4844
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x42fa38
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0x4a4864
push 0x4a4834
mov ecx, dword [eax]
push edi
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x42fa27
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0042f530
add esp, 0x1c
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42fa38
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42fa4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432280
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0x4a4930
push edi
call fcn.00453ace
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43232f
push 2
push 0
push esi
call fcn.00453fc7
push esi
call fcn.004543da
add esp, 0x10
test eax, eax
js 0x432326
push ebx
push 0
push eax
push esi
call fcn.00453fc7
push 2
call fcn.00446ca0
push esi
push 0
mov ebx, eax
push 1
push ebx
call fcn.00453e8c
add esp, 0x20
mov word [eax + ebx], 0
test eax, eax
je 0x43231c
push esi
call fcn.00452650
push edi
call fcn.00453a6b
add esp, 8
test eax, eax
jne 0x43231c
push 0x40
push 0x4a4930
push edi
call fcn.00453ace
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43231c
push ebx
push 0x4a4348
push esi
call fcn.00453bff
add esp, 0xc
push ebx
call fcn.00447758
add esp, 4
pop ebx
push esi
call fcn.00452650
add esp, 4
pop edi
pop esi
pop ebp
ret 4
Function at 0x432b40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], 4
mov eax, dword [eax]
mov dword [edi], eax
mov byte [esi + 0x10], 1
mov eax, dword [ecx + 8]
test al, 8
jne 0x432ba0
cmp dword [esi + 4], 0
je 0x432ba0
test al, 2
je 0x432b7b
push 2
call fcn.00433190
test al, al
jne 0x432b8a
mov eax, dword [esi + 0xc]
test byte [eax + 8], 2
jne 0x432ba0
cmp dword [eax + 4], 0
je 0x432ba0
mov eax, dword [esi + 0xc]
push 4
push edi
push 4
push 0
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0xc]
test byte [ecx + 8], 2
je 0x432bae
call fcn.004331c0
pop edi
mov eax, esi
mov byte [esi + 0x11], 1
pop esi
pop ebp
ret 4

Function at 0x432bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, ebx
push edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432bd0
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x18], 0
lea edi, [ecx*2 + 2]
jne 0x432c01
push 0x1000
call fcn.00446ca0
add esp, 4
mov dword [esi + 0x18], eax
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x800
mov dword [esi + 8], 1
cmp edi, ecx
mov eax, edi
cmova eax, ecx
push eax
push ebx
push dword [esi + 0x18]
call fcn.00454687
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov byte [esi + 0x10], 1
mov eax, dword [ecx + 8]
test al, 8
jne 0x432c68
cmp dword [esi + 4], 0
je 0x432c68
test al, 2
je 0x432c44
push 2
call fcn.00433190
test al, al
jne 0x432c53
mov eax, dword [esi + 0xc]
test byte [eax + 8], 2
jne 0x432c68
cmp dword [eax + 4], 0
je 0x432c68
mov eax, dword [esi + 0xc]
push edi
push ebx
push 1
push 0
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0xc]
test byte [ecx + 8], 2
je 0x432c76
call fcn.004331c0
pop edi
mov eax, esi
mov byte [esi + 0x11], 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x433210
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov byte [esi + 0x11], 0
je 0x433278
mov ecx, dword [esi + 0xc]
test byte [ecx + 8], 2
je 0x433245
cmp dword [ecx + 4], 0
jne 0x433254
test byte [ecx + 8], 2
je 0x433254
push 1
push 2
push dword [ecx + 0xc]
push dword [ecx + 0x10]
call fcn.00433ea0
test al, al
jne 0x433254
mov eax, dword [esi + 0xc]
test byte [eax + 8], 2
jne 0x433278
cmp dword [eax + 4], 0
je 0x433278
mov ecx, dword [esi + 0xc]
test byte [ecx + 8], 2
je 0x433262
call fcn.004331c0
mov eax, dword [esi + 0xc]
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
pop esi
sbb eax, eax
inc eax
ret
xor al, al
pop esi
ret
Function at 0x433280
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x433290
sub edx, ecx
sar edx, 1
je 0x43333e
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43333d
push esi
push 0x208
call fcn.00446ca0
add esp, 4
mov esi, eax
lea eax, [ebp + 8]
push eax
push 0x2000e
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433333
lea ebx, [ebx]
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x433312
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.00433280
jmp 0x4332e0
cmp eax, 0x103
jne 0x433323
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], 0
push esi
call fcn.00447758
add esp, 4
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x433350
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x433399
cmp dword [ebp - 0x108], 2
jne 0x433399
push dword [esi + 0x10]
mov ecx, esi
push dword [esi + 0xc]
call fcn.00433280
jmp 0x4333a5
push dword [esi + 0x10]
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, esi
call fcn.004331c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00448352
mov esp, ebp
pop ebp
ret
Function at 0x4333c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d34d
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea edx, [ebp - 0x414]
mov dword [ebp - 4], 0
push edx
push dword [eax]
mov dword [ebp - 0x41c], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x410]
push 0x200
push eax
xor esi, esi
push esi
push dword [ebp - 0x414]
call ebx
test eax, eax
jne 0x4334bf
lea ecx, [ecx]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.00401830
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0042fea0
mov edx, dword [ebp - 0x418]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4334a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x200
lea eax, [ebp - 0x410]
inc esi
push eax
push esi
push dword [ebp - 0x414]
call ebx
test eax, eax
je 0x433460
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448352
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x424], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea edx, [ebp - 0x414]
mov dword [ebp - 4], 0
push edx
push dword [eax]
mov dword [ebp - 0x420], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x418]
xor esi, esi
mov dword [ebp - 0x418], 0x200
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x414]
call ebx
test eax, eax
jne 0x4336a9
lea ecx, [ecx]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00401830
lea eax, [ebp - 0x41c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0042fea0
mov edx, dword [ebp - 0x41c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43367b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x200
push eax
lea eax, [ebp - 0x410]
inc esi
push eax
push esi
push dword [ebp - 0x414]
call ebx
test eax, eax
je 0x433630
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448352
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4c7050]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x21c], eax
test al, 2
je 0x43401e
push 1
call fcn.00433190
test al, al
je 0x434025
mov eax, dword [edi + 4]
test eax, eax
jne 0x434036
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448352
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x434025
push ebx
push 0x800
call fcn.00446ca0
mov ecx, dword [edi + 8]
mov ebx, eax
mov eax, dword [ebp - 0x210]
and ecx, 0xfffffffd
or ecx, 8
add esp, 4
mov dword [edi + 8], ecx
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
sar ecx, 2
cmp eax, ecx
jbe 0x43409a
push eax
lea ecx, [edi + 0x14]
call fcn.00434cc0
mov eax, dword [ebp - 0x210]
push esi
xor esi, esi
test eax, eax
je 0x43418d
jmp 0x4340b0
xor eax, eax
mov dword [ebp - 0x218], 0x208
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x214]
push eax
push ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x214], 0x800
push eax
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne case.0x43410a.2
mov eax, dword [ebp - 0x220]
dec eax
cmp eax, 6
ja case.0x43410a.2
jmp dword [eax*4 + 0x4341c0]
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00432cc0
mov ecx, eax
call fcn.00432b40
jmp case.0x43410a.2
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00432cc0
mov ecx, eax
call fcn.00432bc0
jmp case.0x43410a.2
mov eax, dword [ebp - 0x214]
mov ecx, edi
push 0
shr eax, 1
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00432cc0
mov ecx, eax
call fcn.00434360
jmp case.0x43410a.2
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
mov ecx, edi
push ebx
push eax
call fcn.00432cc0
mov ecx, eax
call fcn.004341e0
inc esi
cmp esi, dword [ebp - 0x210]
jb 0x4340b0
mov eax, dword [ebp - 0x21c]
mov dword [edi + 8], eax
pop esi
test al, 2
je 0x4341a2
mov ecx, edi
call fcn.004331c0
push ebx
call fcn.00447758
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop ebx
pop edi
call fcn.00448352
mov esp, ebp
pop ebp
ret
Function at 0x4341e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x434346
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], 3
mov eax, dword [ecx + 8]
test al, 8
jne 0x43423e
cmp dword [esi + 4], 0
je 0x43423e
test al, 2
je 0x434218
push 2
call fcn.00433190
test al, al
jne 0x434227
mov eax, dword [esi + 0xc]
test byte [eax + 8], 2
jne 0x43423e
cmp dword [eax + 4], 0
je 0x43423e
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 8]
push 3
push 0
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esi + 0xc]
test byte [ecx + 8], 2
je 0x43424c
call fcn.004331c0
mov byte [esi + 0x11], 1
add esi, 0x1c
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, ebx
jae 0x434276
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, ebx
jae 0x434276
cmp ebx, 0xffffffff
ja 0x43434c
push ebx
mov ecx, esi
call fcn.00434640
mov eax, dword [esi]
mov dword [esi + 4], eax
push edi
lea esp, [esp]
mov edi, dword [esi + 4]
sub edi, dword [esi]
add edi, dword [ebp + 8]
mov ecx, dword [esi + 4]
cmp edi, ecx
jae 0x4342e8
mov ebx, dword [esi]
cmp ebx, edi
ja 0x4342e8
mov edx, dword [esi + 8]
sub edi, ebx
cmp ecx, edx
jne 0x4342da
mov eax, edx
sub eax, ecx
cmp eax, 1
jae 0x4342da
mov eax, ebx
sub eax, ecx
dec eax
cmp eax, 1
jb 0x43434c
sub ecx, ebx
sub edx, ebx
mov ebx, edx
or eax, 0xffffffff
shr ebx, 1
inc ecx
sub eax, ebx
cmp eax, edx
jae 0x4342cb
xor edx, edx
jmp 0x4342cd
add edx, ebx
cmp edx, ecx
cmovb edx, ecx
mov ecx, esi
push edx
call fcn.00434640
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x434334
mov eax, dword [esi]
mov al, byte [edi + eax]
jmp 0x434332
mov edx, dword [esi + 8]
cmp ecx, edx
jne 0x434329
mov eax, edx
sub eax, ecx
cmp eax, 1
jae 0x434329
mov ebx, dword [esi]
mov eax, ebx
sub eax, ecx
dec eax
cmp eax, 1
jb 0x43434c
sub ecx, ebx
sub edx, ebx
mov ebx, edx
or eax, 0xffffffff
shr ebx, 1
inc ecx
sub eax, ebx
cmp eax, edx
jae 0x43431a
xor edx, edx
jmp 0x43431c
add edx, ebx
cmp edx, ecx
cmovb edx, ecx
mov ecx, esi
push edx
call fcn.00434640
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x434334
mov al, byte [edi]
mov byte [ecx], al
inc dword [esi + 4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, dword [ebp + 0xc]
jb 0x434280
pop edi
pop esi
pop ebx
pop ebp
ret 8
push str.vector_T__too_long
call fcn.0044134e
int3
Function at 0x434360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d4a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
jne 0x434443
lea eax, [edi + 0x28]
mov dword [edi + 8], 7
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.00434a10
cmp esi, 2
jbe 0x434443
cmp word [ebx + esi*2 - 2], 0
jne 0x4343cb
lea eax, [esi - 1]
mov dword [ebp - 0x10], eax
push 0
push ebx
call fcn.00453708
mov esi, eax
add esp, 8
sub esi, ebx
sar esi, 1
cmp esi, dword [ebp - 0x10]
jae 0x434440
mov edi, ebx
push edi
lea ecx, [ebp + 0x10]
call fcn.00401830
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.0042fea0
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x434423
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
push 0
lea edi, [ebx + esi*2]
push edi
call fcn.00453708
mov esi, eax
add esp, 8
sub esi, ebx
sar esi, 1
cmp esi, dword [ebp - 0x10]
jb 0x4343e3
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 8]
test al, 8
jne 0x434489
cmp dword [edi + 4], 0
je 0x434489
test al, 2
je 0x434462
push 2
call fcn.00433190
test al, al
jne 0x434471
mov eax, dword [edi + 0xc]
test byte [eax + 8], 2
jne 0x434489
cmp dword [eax + 4], 0
je 0x434489
lea eax, [esi + esi]
push eax
mov eax, dword [edi + 0xc]
push ebx
push 7
push 0
push dword [edi + 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [edi + 0xc]
test byte [ecx + 8], 2
je 0x434497
call fcn.004331c0
mov byte [edi + 0x11], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x438a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49da60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c7050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
or ebx, 0xffffffff
or edi, ebx
mov dword [ebp - 4], 0
test esi, esi
je 0x438bee
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x438bee
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004377f0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push str.__xml_version1.0_encodingUTF_8__
push eax
call fcn.00402950
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004024c0
mov edx, dword [ebp - 0x14]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438b48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004031c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
call fcn.00439020
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x438b8e
push esi
lea ecx, [ebp + 8]
call fcn.00418090
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
mov esi, dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
test eax, eax
push esi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438bce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438bee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x438c0f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43f3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43f3ee
pop ebp
ret 8
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00453e8c
add esp, 0x10
pop ebp
ret 8

Function at 0x45184d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret