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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x200
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], 0
mov esi, edx
xorps xmm0, xmm0
push 0
push eax
mov dword [ebp - 0x210], esi
mov ebx, ecx
movq qword [ebp - 0x218], xmm0
call fcn.0048bb90
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x208]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41b819
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489940
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x218]
push eax
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
call edi
test eax, eax
jne 0x41b89c
nop word [eax + eax]
mov ecx, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
xor eax, eax
mov word [ebp - 6], ax
call fcn.0041b7a0
mov esi, eax
test esi, esi
jne 0x41b89c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x20c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
call edi
test eax, eax
je 0x41b850
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
jne 0x41b8bc
push dword [ebp - 0x210]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00489940
mov esp, ebp
pop ebp
ret
Function at 0x424290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x424375
test edi, edi
je 0x42432b
cmp word [edi], 0
je 0x42432b
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x4242e5
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004272c0
push 0x4ff5c8
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0xc
lea ecx, [ebx + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0xc
push 0x4f5628
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0xc
push edi
jmp 0x42435c
cmp byte [esi + 0x128], 0
lea edi, [esi + 0x18]
jne 0x42433a
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004272c0
push 0x4ff5c8
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x18]
je 0x4243e5
test edi, edi
je 0x4243aa
cmp word [edi], 0
je 0x4243aa
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x424396
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push 0
call fcn.004272c0
push 0x4ff5d8
jmp 0x4242f3
cmp byte [esi + 0x128], 0
je 0x4243b8
add esi, 0x18
jmp 0x4243bb
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push 0x4ff5d8
call fcn.004058b0
lea ecx, [esi + 4]
push ecx
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ebx], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x424400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4244e7
test edi, edi
je 0x4244a3
cmp word [edi], 0
je 0x4244a3
cmp byte [esi + 0x128], 0
push ebx
lea ebx, [esi + 0x18]
jne 0x424441
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004272c0
push 0x4ff5f0
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea ecx, [ebx + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
push 0x4ff608
push 0x4fc47c
push esi
call fcn.004048f0
push edi
push 0x4fc47c
push esi
call fcn.004048f0
push 0x4ff610
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0x3c
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
cmp byte [esi + 0x128], 0
lea edi, [esi + 0x18]
jne 0x4244b2
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.004272c0
push 0x4ff5f0
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea ecx, [edi + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebp
ret 0x14
pop edi
mov al, 1
pop esi
pop ebp
ret 0x14
Function at 0x4244f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test edi, edi
je 0x4245e2
cmp byte [ebp + 0xc], 0
jne 0x424545
cmp edi, 2
je 0x4245e2
cmp edi, 5
jne 0x424616
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x128]
call fcn.00403530
push 0x4f5628
lea eax, [ebp - 0x128]
push 0x4fc47c
push eax
call fcn.004048f0
push ebx
lea eax, [ebp - 0x128]
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0x18
lea ecx, [ebp - 0x11c]
cmp byte [ebp - 0xc], 0
lea edx, [edi - 1]
cmove ecx, dword [ebp - 0x120]
push 0
push ecx
add ecx, 4
call fcn.004353a0
add esp, 8
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
test edi, edi
jne 0x4245f7
cmp byte [ebp - 0xc], al
jne 0x4245e2
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x4245e2
push eax
call fcn.00496f41
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489940
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp - 0xc], 0
jne 0x424616
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x424616
push eax
call fcn.00496f41
add esp, 4
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x424625
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp - 0x12c]
push edi
call fcn.004272c0
push 0x4ff618
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea ecx, [ebx + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
push 0x4f5628
push 0x4fc47c
push esi
call fcn.004048f0
push dword [ebp - 0x130]
push 0x4fc47c
push esi
call fcn.004048f0
mov ecx, dword [ebp - 4]
add esp, 0x30
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.00489940
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425720
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
mov edi, edx
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x425760
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004a9943
add esp, 4
mov esi, eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4257bb
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x4f5628
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4257bb
mov ecx, dword [ebp - 8]
mov bl, 1
movzx eax, word [ecx + 0xa]
mov word [edi], ax
movzx eax, word [ecx + 8]
mov word [edi + 2], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 4], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 6], ax
test esi, esi
je 0x4257c8
push esi
call fcn.00496f41
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x513200]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x144], edi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00403480
push str.MACHINE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x140]
call fcn.00423d10
push 1
push 0
push 0
push esi
push edi
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.00423fd0
test al, al
je 0x43116f
push 0x105
lea ecx, [ebx + 8]
mov dword [ebx + 0x120], 0x105
call fcn.004056f0
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x4310ad
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x148], 0
push ecx
add eax, 4
mov dword [ebp - 0x14c], 0x208
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x431130
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
mov ecx, dword [ebp - 0x144]
cmove edi, dword [ebp - 0x12c]
push eax
call fcn.004272c0
push 0x4ff5c8
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea ecx, [edi + 4]
push ecx
push 0x4fc47c
push esi
call fcn.004048f0
mov edi, dword [ebp - 0x144]
add esp, 0x18
jmp 0x431168
cmp dword [ebp - 0x148], 1
je 0x43117f
cmp byte [ebp - 0x18], 0
lea esi, [ebp - 0x128]
push 0x4ff5d8
cmove esi, dword [ebp - 0x12c]
mov ecx, edi
call fcn.004058b0
lea edx, [esi + 4]
push edx
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0xc
mov ecx, ebx
call fcn.004036f0
push 0x4fff34
mov ecx, edi
call fcn.004058b0
xor bl, bl
jmp 0x431188
mov ecx, ebx
call fcn.00403f40
mov bl, 1
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x4311a3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4311d6
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x4311d6
push eax
call fcn.00496f41
add esp, 4
mov al, bl
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.00489940
mov esp, ebp
pop ebp
ret
Function at 0x431b90
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x18], 0
mov eax, ecx
push esi
mov esi, edx
mov dword [ebp - 0xc], eax
je 0x431d56
mov eax, dword [ebp + 0xc]
mov ecx, 0x4fc444
push ebx
test eax, eax
push edi
mov edi, ecx
cmovne edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431bd0
sub ecx, edx
mov edx, edi
sar ecx, 1
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x431be4
sub edx, ebx
mov ebx, dword [ebp - 8]
sar edx, 1
lea eax, [ebx + 2]
mov dword [ebp + 0x18], eax
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x431c00
sub ebx, dword [ebp + 0x18]
sar ebx, 1
lea eax, [ebx + edx]
add eax, ecx
lea ebx, [eax*2 + 0x1e]
test esi, esi
je 0x431c3a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431c25
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebx - 0x18]
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add eax, 0x18
mov dword [ebp + 0x18], ecx
push ebx
shr ecx, 1
push ecx
push eax
call fcn.004b5162
mov edx, dword [ebp - 4]
lea ecx, [ebx + 2]
add esp, 0xc
lea eax, [edx + 0x18]
mov dword [edx], eax
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x431c70
sub ebx, ecx
mov ecx, dword [ebp + 0x18]
sar ebx, 1
lea eax, [ebx*2 + 2]
lea ebx, [edx + 0x18]
sub ecx, eax
add ebx, eax
mov dword [ebp + 0x18], ecx
test esi, esi
je 0x431cd3
mov eax, ecx
push esi
shr eax, 1
push eax
push ebx
call fcn.004b5162
mov eax, dword [ebp - 4]
lea ecx, [esi + 2]
add esp, 0xc
mov dword [eax + 8], ebx
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x431cb0
sub esi, ecx
sar esi, 1
lea ebx, [ebx + esi*2]
lea eax, [esi*2 + 2]
add ebx, 2
mov esi, dword [ebp + 0x18]
sub esi, eax
jmp 0x431cdd
mov esi, dword [ebp + 0x18]
mov dword [edx + 8], 0
test edi, edi
je 0x431d0b
mov eax, esi
push edi
shr eax, 1
push eax
push ebx
call fcn.004b5162
add esp, 0xc
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x431cf3
sub edi, ecx
sar edi, 1
lea eax, [edi*2 + 2]
jmp 0x431d10
mov eax, 1
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edi + 0xc], ebx
add ebx, eax
test ecx, ecx
je 0x431d2e
sub esi, eax
push ecx
shr esi, 1
push esi
push ebx
call fcn.004b5162
add esp, 0xc
mov eax, dword [ebp - 0xc]
push edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x14]
push 0
push 0x431b10
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
call fcn.004dcb6f
add esp, 0xc
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432d50
Capabilities:
Create thread
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x513200]
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 esi, ecx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x144], esi
call fcn.00403480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
mov dword [esi + 0x124], 0
call fcn.00403480
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.00419b70
test al, al
je 0x432f1b
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
mov ecx, 0x4fc444
cmove eax, dword [ebp - 0x12c]
add eax, 4
cmovne ecx, eax
mov dword [ebp - 0x138], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432e00
sub ecx, edx
sar ecx, 1
mov dword [esi + 4], ecx
lea ebx, [ecx + 1]
push ebx
lea ecx, [esi + 8]
call fcn.004056f0
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x432e2d
mov ecx, dword [esi + 8]
lea eax, [ebx + ebx]
add ecx, 4
push eax
push dword [ebp - 0x138]
push ecx
call fcn.0048b610
push 0x4f5628
push 0x4fc47c
push esi
call fcn.004048f0
push 0x4fff1c
push 0x4fc47c
push esi
call fcn.004048f0
push 0x234
call fcn.004894ff
add esp, 0x28
mov dword [ebp - 0x138], eax
push 0x4fffc8
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00432970
cmp byte [0x52a55c], 0
mov dword [esi + 0x128], eax
jne 0x432ea0
cmp byte [0x52c164], 0
je 0x432ea0
mov al, 1
jmp 0x432ea2
xor al, al
test al, al
je 0x432f1b
cmp dword [0x514580], 0
je 0x432f05
push 0xc
call fcn.004a9943
mov edi, eax
add esp, 4
mov dword [edi], 0x433590
mov dword [edi + 4], esi
cmp dword [0x514580], 0
jne 0x432ed1
xor eax, eax
jmp 0x432edd
push dword [0x514588]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 8], eax
test eax, eax
je 0x432ef8
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
push 0
push 0x45adf0
jmp 0x432f0d
push edi
call fcn.00496f41
add esp, 4
xor eax, eax
jmp 0x432f15
push esi
push 0
push 0x433590
call fcn.004dcb6f
add esp, 0xc
mov dword [esi + 0x124], eax
lea ecx, [ebp - 0x140]
call fcn.00426230
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x432f4f
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x432f4f
push eax
call fcn.00496f41
add esp, 4
mov eax, esi
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.00489940
mov esp, ebp
pop ebp
ret
Function at 0x436b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e215b
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x52a55c], 0
je 0x436b9e
xor eax, eax
jmp 0x436d19
call fcn.00417950
test al, al
jne 0x436b97
call fcn.00431340
test al, al
je 0x436b97
call fcn.00425fc0
test al, al
je 0x436bd8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.CheckSig1
push eax
call fcn.0043f6a0
mov ecx, eax
call fcn.0043f820
mov ecx, eax
call fcn.00440200
sub esp, 0x10
lea ecx, [ebp - 0x134]
push 0
push esi
call fcn.0040e650
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
cmp byte [ebp - 0x18], 0
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436ce9
shr eax, 4
not al
and al, 1
je 0x436ce9
call fcn.00425e40
cmp byte [0x52fbb9], 0
jne 0x436ccc
push 0x114
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.0048bb90
push 0x114
lea eax, [ebp - 0x35c]
push 0
push eax
call fcn.0048bb90
add esp, 0x18
lea edx, [ebp - 0x35c]
lea ecx, [ebp - 0x248]
call fcn.00416ed0
mov eax, dword [ebp - 0x244]
cmp eax, 6
ja 0x436c9e
jne 0x436cc5
mov ecx, dword [ebp - 0x240]
cmp ecx, 2
jb 0x436cc5
movzx eax, byte [0x52fbb8]
cmp ecx, 3
mov edx, 1
cmovae eax, edx
mov byte [0x52fbb8], al
jmp 0x436ca5
mov byte [0x52fbb8], 1
mov eax, dword [ebp - 0x358]
cmp eax, 0xa
jae 0x436cbe
cmp eax, 6
jne 0x436cc5
cmp dword [ebp - 0x354], 3
jb 0x436cc5
mov byte [0x52fbb8], 1
mov byte [0x52fbb9], 1
cmp byte [0x52fbb8], 0
mov ecx, esi
je 0x436ce0
call fcn.00436970
mov esi, eax
jmp 0x436cee
call fcn.00436550
mov esi, eax
jmp 0x436cee
mov esi, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x436d17
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x436d17
push eax
call fcn.00496f41
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489940
mov esp, ebp
pop ebp
ret
Function at 0x438710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2411
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x513200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x448], edi
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
mov dword [ebp - 4], eax
call fcn.004380d0
cmp eax, 2
jne 0x4388fc
push 0x3e
xor eax, eax
mov dword [ebp - 0x430], 0
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
call fcn.0043a210
push 4
push str.http
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.0043a4e0
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x440]
call fcn.0043a4e0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x458]
push eax
push SysReAllocString
call fcn.00437e90
mov esi, dword [ebp - 0x458]
test eax, eax
jne 0x4388e2
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0048bb90
add esp, 0xc
mov dword [ebp - 0x44c], 0x400
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Progid
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4388e2
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x438877
cmp eax, 2
jne 0x4388e2
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x4388d9
test al, 1
jne 0x4388e2
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x4388e2
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x4388e2
lea edx, [ebp - 0x410]
lea ecx, [ebp - 0x428]
call fcn.00439030
mov byte [ebp - 0x441], al
test esi, esi
je 0x4388bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0041c300
cmp byte [ebp - 0x441], 0
jne 0x43890c
jmp 0x4388fc
xor eax, eax
mov word [ebp - 0x410], ax
test esi, esi
je 0x4388ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0041c300
mov edx, str.http
lea ecx, [ebp - 0x428]
call fcn.00439030
cmp byte [ebp + 8], 0
jne 0x43892f
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043a090
mov ecx, edi
call fcn.00438180
add esp, 0x18
jmp 0x438971
movups xmm0, xmmword [ebp - 0x428]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x428], ax
movq xmm0, qword [ebp - 0x418]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea ecx, [ebp - 0x428]
call fcn.0041c300
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.00489940
mov esp, ebp
pop ebp
ret
Function at 0x43daa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov ecx, dword [ebp + 8]
mov esi, edi
cmp ecx, 3
jl 0x43db37
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
mov dword [ebp + 8], ecx
nop dword [eax]
movzx eax, byte [ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x43dad0
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x43db8b
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov dl, byte [ebx]
and dl, 3
shl dl, 4
cmp ecx, 1
jle 0x43db5e
mov al, byte [ebx + 1]
shr al, 4
or dl, al
movzx eax, dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
cmp ecx, 2
jge 0x43db73
mov al, 0x3d
jmp 0x43db81
movzx eax, byte [ebx + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43db91
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret