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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x60b4e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x214], eax
push esi
lea esi, [ebp - 0x20c]
test ecx, ecx
je 0x456825
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4569b4
mov eax, dword [ebp - 0x214]
push edi
push 0
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
jne 0x45699c
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
inc ecx
inc eax
mov dword [ebp - 0x21c], ecx
cmp ecx, eax
mov dword [ebp - 0x220], eax
cmovae eax, ecx
mov dword [ebp - 0x218], eax
cmp eax, 0x104
jbe 0x4568a8
add eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x4568a2
lea edi, [eax + 8]
jmp 0x456982
mov eax, dword [ebp - 0x218]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45690f
push esi
push dword [ebp - 0x214]
call fcn.004567b0
mov edi, eax
test edi, edi
jne 0x456982
mov eax, dword [ebp - 0x218]
push edi
push edi
push edi
push edi
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4568d0
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x456925
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
jmp 0x456982
mov eax, dword [ebp - 0x218]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x456982
mov edi, edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
jne 0x456982
mov eax, dword [ebp - 0x218]
push edi
push edi
push edi
push edi
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x456950
lea eax, [ebp - 0x20c]
cmp esi, eax
je 0x45699c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x224], 0
je 0x4569b1
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a658
mov esp, ebp
pop ebp
ret 8
Function at 0x4569d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594150
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x60b4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [ebp + 0x1c]
mov esi, 1
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456b4d
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x456b44
mov eax, dword [ebp - 0x18]
xor ecx, ecx
inc eax
xor edi, edi
mov edx, 2
mov dword [ebp - 4], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00525ad5
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
add esp, 4
test ebx, ebx
je 0x456b44
cmp dword [ebp - 0x20], edi
jbe 0x456b1d
mov edi, edi
test esi, esi
je 0x456b1d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0
push eax
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov word [ebx + ecx*2], dx
test eax, eax
jne 0x456b13
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
push eax
push dword [ebp + 0x1c]
push edx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456b13
push dword [ebp + 0x18]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [ebp + 0x14]
push dword [ebp - 0x1c]
dec eax
neg eax
sbb eax, eax
and esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x456a90
push ebx
call fcn.00525ad0
add esp, 4
jmp 0x456b44
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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 0x456b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x456c2b
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
xor esi, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00525ad5
add esp, 4
mov edi, eax
cmp dword [ebp - 8], esi
jbe 0x456c22
mov eax, dword [ebp - 4]
push 0
inc eax
mov dword [ebp - 0xc], 0
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x456c1c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x456c1c
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x14]
push ebx
call dword [ebp + 0xc]
sub eax, 1
je 0x456c37
inc esi
cmp esi, dword [ebp - 8]
jb 0x456bd5
push edi
call fcn.00525ad0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00525ad0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594178
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60b4e0]
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 edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
mov word [ebp - 0x28], ax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456f60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404870
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea ecx, [edx - 1]
cmp edx, ecx
jbe 0x4570dd
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 8
cmovae eax, ebx
cmp word [eax + ecx*2], 0x5c
jne 0x457018
xor eax, eax
mov dword [ebp - 0x30], 0
cmp edx, ecx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovb ecx, edx
cmp edi, 8
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x40]
push eax
call fcn.00404870
lea ecx, [ebp - 0x28]
call fcn.00404809
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004047a9
push 0
push 0x5afff0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x457072
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x457072
push eax
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x457072
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x48]
cmp edi, 8
lea eax, [ebp - 0x28]
cmovae eax, ebx
push eax
call fcn.00456c50
mov edx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
cmp edx, 8
jb 0x4570bf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4570b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4570e2
push edx
push ecx
call fcn.0055a64a
add esp, 8
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.0055a658
mov esp, ebp
pop ebp
ret
call fcn.00404842
call fcn.005617aa
int3
Function at 0x4571e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x800
xor bl, bl
mov dword [ebp - 4], 0x800
call fcn.0056181a
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call fcn.0055dac0
add esp, 0x10
test esi, esi
je 0x457344
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 8]
cmp ecx, 1
je 0x457244
cmp ecx, 2
jne 0x457332
cmp eax, 0xea
jne 0x457276
push dword [ebp - 4]
push esi
call fcn.00575ddf
mov esi, eax
add esp, 8
test esi, esi
je 0x457344
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457332
mov eax, dword [ebp - 4]
cmp eax, 2
jbe 0x457330
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x4572a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4572a0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00404870
cmp dword [ebp - 8], 2
jne 0x457330
mov ebx, dword [ebp - 4]
and ebx, 0xfffffffe
lea eax, [ebx + ebx]
push eax
call fcn.0056181a
mov edi, eax
add esp, 4
test edi, edi
je 0x457330
lea eax, [ebx + ebx]
push eax
push 0
push edi
call fcn.0055dac0
add esp, 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jbe 0x457313
add eax, eax
push eax
push edi
call fcn.00575ddf
mov edi, eax
add esp, 8
test edi, edi
je 0x457313
push dword [ebp - 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x457327
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0044aaf0
push edi
call fcn.00561815
add esp, 4
mov bl, 1
push esi
call fcn.00561815
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x458c5e
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0056aaa6
add esp, 0x10
pop ebp
ret 0xc

Function at 0x458d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x458d5e
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00567264
add esp, 0x10
pop ebp
ret 0xc
Function at 0x45d2c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59442b
mov eax, dword fs:[0]
push eax
mov eax, 0x1084
call fcn.0055b080
mov eax, dword [0x60b4e0]
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 eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp dword [eax + 0x10], 0
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x103c], ecx
mov dword [ebp - 0x1030], eax
jne 0x45d324
push ebx
push esi
push edi
push ecx
call fcn.0045d870
add esp, 0x10
jmp 0x45d505
lea eax, [ebp - 0x1028]
push eax
call fcn.0045d540
add esp, 4
cmp dword [ebp - 0x1018], 0
mov dword [ebp - 4], 0
je 0x45d4d0
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x1029], 0
mov dword [ebp - 0x1034], esi
jb 0x45d362
mov eax, dword [esi]
mov dword [ebp - 0x1034], eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x1038], edi
jb 0x45d376
mov eax, dword [edi]
mov dword [ebp - 0x1038], eax
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x45d380
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x1030]
cmp dword [ecx + 0x14], 8
jb 0x45d38e
mov ecx, dword [ecx]
push dword [ebp - 0x1034]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
push dword [ebp - 0x1038]
cmovae eax, dword [ebp - 0x1028]
push edx
push ecx
push eax
push 0x5b0560
lea eax, [ebp - 0x1010]
push 0x800
push eax
call fcn.0044d330
add esp, 0x20
mov dword [ebp - 0x108c], 0
xor eax, eax
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x1040], eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1090]
mov dword [ebp - 0x1084], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1080], 0
push eax
push 0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1074], 0
mov dword [ebp - 0x1070], 0
mov dword [ebp - 0x106c], 0
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x1090], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
movzx ecx, byte [ebp - 0x1029]
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x1030], ecx
jmp 0x45d4ed
push dword [ebp - 0x1030]
push ebx
push esi
push edi
push dword [ebp - 0x103c]
call fcn.0045ce60
add esp, 0x14
mov byte [ebp - 0x1030], al
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a9
mov eax, dword [ebp - 0x1030]
test al, al
jne 0x45d51a
push ebx
push esi
push edi
push dword [ebp - 0x103c]
call fcn.0045d870
add esp, 0x10
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.0055a658
mov esp, ebp
pop ebp
ret
Function at 0x45d870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5944c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x60b4e0]
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 + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], ecx
jb 0x45d8c9
mov edi, dword [edi]
cmp ecx, 8
jae 0x45d8f1
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 7
jmp 0x45d930
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00404851
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0055cfc0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push 0
push 0x5b05b0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x5a8cfc
push eax
call fcn.0040b4c2
mov ecx, dword [ebx + 0x10]
mov edx, 2
add ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x18]
add eax, 0x64
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00525ad5
add esp, 0x14
mov edi, eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x45d98b
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x45d993
mov ebx, dword [ebx]
push eax
push esi
push ebx
push 0x5b05c0
push dword [ebp - 0x2c]
push edi
call fcn.0044d330
add esp, 0x18
push 1
push 0
push 0
push edi
push 0x5a3cc4
push dword [ebp - 0x34]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
push edi
setg bl
call fcn.00525ad0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x45da01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d9f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45da1f
push edx
push ecx
call fcn.0055a64a
add esp, 8
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.0055a658
mov esp, ebp
pop ebp
ret
call fcn.005617aa
int3
Function at 0x45e4c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
je 0x45e50a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x45e50a
push ebx
xor ebx, ebx
test eax, eax
je 0x45e509
add esi, 0x29
lea esp, [esp]
lea ecx, [eax - 1]
xor edx, edx
mov eax, 0xff
lea esi, [esi + 4]
div ecx
movzx ecx, bl
inc ebx
movzx eax, al
imul eax, ecx
mov byte [esi - 3], al
mov byte [esi - 4], al
mov byte [esi - 5], al
mov eax, dword [edi + 0x28]
cmp ebx, eax
jb 0x45e4e0
pop ebx
pop edi
pop esi
ret
Function at 0x468ef0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x468f0a
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x468f0a
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46d2b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x60b4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov al, byte [edi + 8]
mov byte [ebp - 0x15], al
cmp al, 3
je 0x46d498
movzx edx, byte [edi + 9]
test al, 2
mov eax, dword [ebp + 0x10]
mov ecx, edx
push ebx
mov ebx, dword [edi]
je 0x46d311
movzx eax, byte [eax]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, edx
movzx eax, byte [eax + 1]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, edx
movzx eax, byte [eax + 2]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, 3
jmp 0x46d31f
movzx eax, byte [eax + 3]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, 1
test byte [ebp - 0x15], 4
mov dword [ebp - 0x1c], ecx
je 0x46d339
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 4]
sub edx, eax
mov dword [ebp + ecx*4 - 0x14], edx
inc ecx
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je case.0x46d383.3
xor edi, edi
cmp dword [ebp + eax*4 - 0x14], 0
jg 0x46d356
mov dword [ebp + eax*4 - 0x14], 0
jmp 0x46d35b
mov edi, 1
inc eax
cmp eax, ecx
jl 0x46d345
test di, di
mov edi, dword [ebp + 8]
je case.0x46d383.3
movzx eax, byte [edi + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x46d383.3
movzx eax, byte [eax + 0x46d4bc]
jmp dword [eax*4 + 0x46d4a8]
mov ecx, dword [edi + 4]
test ecx, ecx
je case.0x46d383.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, 1
and al, 0x55
mov byte [esi - 1], al
sub ecx, 1
jne 0x46d395
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055a658
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov ebx, 0xf0
mov edx, dword [edi + 4]
mov eax, 0xf
sar ebx, cl
and bl, 0xf0
sar eax, cl
or bl, al
test edx, edx
je case.0x46d383.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, cl
mov ecx, dword [ebp - 0x14]
and al, bl
mov byte [esi - 1], al
sub edx, 1
jne 0x46d3d8
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055a658
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor edi, edi
test ebx, ebx
je case.0x46d383.3
lea ebx, [ebx]
mov eax, edi
lea esi, [esi + 1]
xor edx, edx
inc edi
div ecx
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
cmp edi, ebx
jb 0x46d410
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055a658
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je case.0x46d383.3
mov edi, 0x100
lea ecx, [ecx]
xor edx, edx
lea esi, [esi + 1]
div ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 1]
movzx eax, di
mov edi, ecx
imul edi, eax
movzx eax, byte [esi - 1]
movzx ecx, word [ebp + edx*4 - 0x14]
add di, ax
shr di, cl
movzx ecx, di
mov edi, 0x100
mov eax, ecx
shr eax, 8
mov byte [esi - 2], al
mov eax, dword [ebp - 0x20]
inc eax
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
jb 0x46d450
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055a658
mov esp, ebp
pop ebp
ret
Function at 0x478ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x628]
test eax, eax
jne 0x478bdc
push 0x32
call fcn.0056181a
push 0x32
push 0
push eax
mov dword [esi + 0x628], eax
call fcn.0055dac0
mov eax, dword [esi + 0x628]
add esp, 0x10
test eax, eax
jne 0x478bdc
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
mov ecx, dword [esi + 0x628]
mov dword [ecx], eax
mov eax, dword [esi + 0x26c]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x628]
and ecx, 0x2000
shl ecx, 9
mov dword [eax + 4], ecx
cmp dword [esi + 0x8c], 0
jne 0x478c23
push 0
push 0
push dword [esi + 0x628]
mov ecx, esi
call fcn.0052ea0b
mov ecx, esi
pop esi
jmp fcn.0052e6f4