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

Disassembly:
push 0xffffffffffffffff
push 0x47b062
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, dword [esp + 0x234]
mov dword [esp + 0x10], 0
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
mov dword [esp + 0x22c], 0
mov dword [esp + 0x14], esi
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareSamsungKies2.0
push 0x80000001
mov dword [esp + 0x240], 0
mov dword [esp + 0x24], 1
call dword [0x47f01c]
test eax, eax
jne 0x44ff94
push 0x104
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x18], 0x104
call fcn.004748cc
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.LocalVer
push ecx
call dword [0x47f010]
test eax, eax
jne 0x44ff83
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00403450
call dword [0x47f224]
mov eax, dword [esp + 8]
push eax
call dword [0x47f008]
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004747ca
add esp, 0x228
ret
Function at 0x450160
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b0e6
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x328], eax
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x136]
push ecx
mov word [esp + 0x138], ax
call fcn.004748cc
add esp, 0xc
push 0x104
lea edx, [esp + 0x130]
push edx
push 0
call dword [0x47f1e4]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x10]
call fcn.004062c0
push str.ErrorReport.exe
push 0x48a52c
lea ecx, [esp + 0x14]
mov dword [esp + 0x348], 0
call fcn.00407e30
cmp eax, 1
jne 0x450321
push 0x2000
call fcn.004665d8
mov esi, eax
add esp, 4
test esi, esi
je 0x450321
push 0x1000
push 0
push esi
call fcn.004748cc
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x114
call dword [0x47f0a8]
mov edx, dword [0x4a540c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x34c]
mov edx, dword [esp + 0x348]
push ecx
push edx
lea eax, [esp + 0x18]
push str.CM_RegiError_d_HR_x
push eax
mov byte [esp + 0x350], 1
call fcn.00402e50
lea ecx, [esp + 0x24]
push ecx
call fcn.0044fea0
mov edi, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push str.ConnectionManagerError_
push edi
push edx
push str.UnKnown
push eax
push ecx
push str.0.0.0.0
push str.ModuleNameDeviceManager_HiddenIP_sOS_Version_d._dOS_Locale_sSW_Version_sError_sComments_s
push 0xfff
push esi
call dword [0x47f274]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x3c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4502dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 1
push 0
push esi
push ecx
push str.open
push 0
call dword [0x47f4ac]
push esi
call fcn.00474758
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x340], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x340], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.004747ca
add esp, 0x338
ret
Function at 0x4506a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 4], 0
jne 0x4506ca
push 0x4a36ec
lea ecx, [esp + 8]
call dword [0x47f2c0]
push 0x49b714
lea eax, [esp + 8]
push eax
call fcn.0047472c
xor edx, edx
cmp dword [edi + 0x3cc], edx
jle 0x4506f0
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [ecx]
mov cl, byte [esi]
xor byte [eax], cl
inc edx
inc esi
inc eax
cmp edx, dword [edi + 0x3cc]
jl 0x4506e0
pop esi
pop edi
add esp, 0xc
ret 8
Function at 0x453880
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push edi
lea eax, [esp + 8]
push eax
push ebx
call fcn.0047461c
mov edi, eax
test edi, edi
jne 0x4538a0
pop edi
pop ebx
add esp, 0xc
ret
push esi
push edi
call dword [0x47f3ec]
mov esi, eax
add esp, 4
test esi, esi
je 0x45392b
mov ecx, dword [esp + 0xc]
push esi
push edi
push ecx
push ebx
call fcn.00474616
test eax, eax
je 0x453921
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x480af8
push esi
call fcn.00474610
test eax, eax
je 0x453921
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xa]
mov edx, dword [esp + 0x20]
mov word [edx], cx
movzx ecx, word [eax + 8]
mov edx, dword [esp + 0x24]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [esp + 0x28]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [esp + 0x2c]
push esi
mov word [ecx], ax
call dword [0x47f370]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 0xc
ret
push esi
call dword [0x47f370]
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4539a0
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47b322
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4a4eb0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x248]
xor ebp, ebp
lea eax, [esp + 0x2c]
push eax
push 1
push ebp
push 0x25
mov dword [esp + 0x30], ebp
push ebp
mov dword [esp + 0x254], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [0x47f4b0]
test eax, eax
jne 0x453a59
lea edi, [esp + 0x2c]
add edi, 0xfffffffe
jmp 0x453a20
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x453a20
mov ecx, 7
mov esi, 0x48fbc8
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00453880
add esp, 0x14
movzx esi, word [esp + 0x18]
movzx edi, word [esp + 0x14]
push esi
push edi
push str.GetOSVersion
push str._s____d._d
call fcn.00403140
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
add esp, 0x10
mov ecx, 0x4a540c
call edx
add eax, 0x10
mov dword [ebx], eax
push esi
push edi
push str._d._d
push ebx
mov dword [esp + 0x250], ebp
mov dword [esp + 0x30], 1
call fcn.00402e50
add esp, 0x10
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004747ca
add esp, 0x230
ret
Function at 0x455360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b4a1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x4a540c]
mov edx, dword [eax + 0xc]
mov esi, 1
mov ecx, 0x4a540c
mov dword [esp + 0x24], esi
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
push ecx
mov dword [esp + 0x1c], esp
mov ebx, esp
push ecx
mov dword [esp + 0x20], esp
mov ebp, esp
push ecx
mov dword [esp + 0x20], esi
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401530
add esp, 4
add eax, 0x10
push ebp
mov dword [esi], eax
call fcn.00454dd0
add esp, 8
push ebx
call fcn.00454cc0
add esp, 8
call fcn.00454a80
add esp, 4
test eax, eax
je 0x455408
push 0x4a5374
mov ecx, edi
call fcn.00404410
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45542d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x45c6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47bf1e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [ebx], vtable.CXmlParserWMModelProfile.0
mov ebp, dword [ebx + 0x70]
lea edi, [ebx + 0x60]
mov dword [esp + 0x30], 2
cmp dword [edi + 0xc], ebp
jbe 0x45c73c
call dword [0x47f350]
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
cmp esi, dword [edi + 0x10]
jbe 0x45c750
call dword [0x47f350]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
push ebp
push ecx
push esi
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.0045c1a0
mov ebp, dword [ebx + 0x88]
cmp dword [ebx + 0x84], ebp
lea esi, [ebx + 0x78]
jbe 0x45c77d
call dword [0x47f350]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x45c799
call dword [0x47f350]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push ebp
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0045afa0
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0045b290
mov ecx, edi
mov byte [esp + 0x30], 0
call fcn.0045c2c0
mov ecx, ebx
mov dword [esp + 0x30], 0xffffffff
call fcn.00459520
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x45d1d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x479328
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push 0x4807f8
push eax
lea ecx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call dword [0x47f3e0]
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jne 0x45d25d
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [0x47f3dc]
push 2
push ebx
push eax
call esi
add esp, 0xc
cmp eax, ebx
je 0x45d2a0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45d282
push eax
call dword [0x47f3d8]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x45d23b
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x47f3d4]
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
mov edi, eax
call esi
lea eax, [edi + 2]
push eax
call fcn.004665d8
mov ecx, dword [esp + 0x28]
push ecx
push edi
mov esi, eax
push 1
push esi
call dword [0x47f3d0]
mov byte [eax + esi], bl
mov byte [eax + esi + 1], bl
mov al, byte [esi]
add esp, 0x24
cmp al, 0xff
jne 0x45d2f2
cmp byte [esi + 1], 0xfe
jne 0x45d2f2
lea edx, [esi + 2]
push edx
call dword [0x47f44c]
jmp 0x45d357
cmp al, 0xef
jne 0x45d351
cmp byte [esi + 1], 0xbb
jne 0x45d351
cmp byte [esi + 2], 0xbf
jne 0x45d351
push ebx
push ebx
push 0xffffffffffffffff
lea edi, [esi + 3]
push edi
push ebx
push 0xfde9
call dword [0x47f1f0]
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665d8
add esp, 4
push ebp
mov ebx, eax
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x47f1f0]
push ebx
call dword [0x47f44c]
jmp 0x45d357
push esi
call fcn.00465cd0
push esi
mov edi, eax
call fcn.00474758
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x45d374
push eax
call dword [0x47f3d8]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d39c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45ecd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47c270
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add ecx, eax
push ecx
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.00403490
mov edx, dword [0x4a540c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
mov dword [esp + 0x28], ebx
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
push ecx
push 0x490c70
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
mov dword [esp + 0x24], ebx
call fcn.0045e540
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 2
call fcn.00403060
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ed81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
jmp 0x45ed90
push 0x486fbc
push edi
call dword [0x47f298]
add esp, 8
test eax, eax
setne al
test al, al
je 0x45ee6d
mov eax, ebx
sub eax, 1
je 0x45ee5f
cmp ebx, 1
je 0x45ee6d
lea ecx, [esp + 0x18]
push ecx
push 0x490c70
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
call fcn.0045e540
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
mov byte [esp + 0x28], 3
cmp eax, esi
je 0x45ee34
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45ee22
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x45ee22
push eax
call fcn.004015a0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x45ee19
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov dword [esp + 0x34], edi
jmp 0x45ee34
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402b70
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
jmp 0x45ed90
push edi
call dword [0x47f28c]
add esp, 4
mov dword [esp + 0x14], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45eeb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x465660
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, dword [esp + 0x24]
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [0x47f140]
test eax, eax
jne 0x46567f
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0xc]
push ecx
push edx
push esi
call dword [0x47f1e4]
test eax, eax
jne 0x46569f
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
lea ecx, [ecx + eax + 0x18]
test ebp, ebp
jbe 0x4656e0
lea eax, [ecx + 0x10]
mov edi, edi
mov ecx, dword [eax]
mov edx, dword [eax - 8]
mov esi, dword [eax - 4]
cmp ecx, edx
ja 0x4656ce
mov ecx, edx
cmp edi, esi
jb 0x4656d8
add ecx, esi
cmp edi, ecx
jbe 0x4656ea
inc ebx
add eax, 0x28
cmp ebx, ebp
jb 0x4656c0
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebx
pop ebp
mov dword [edx], ebx
sub edi, esi
pop ebx
mov dword [eax], edi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x46896e
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x100]
mov byte [ebp + 0xb], cl
mov cl, byte [eax + 0x101]
mov byte [ebp - 1], cl
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4689ce
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
inc byte [ebp + 0xb]
movzx ecx, byte [ebp + 0xb]
lea esi, [ecx + eax]
mov dl, byte [esi]
add byte [ebp - 1], dl
movzx ecx, byte [ebp - 1]
add ecx, eax
mov bl, byte [ecx]
mov byte [esi], bl
mov byte [ecx], dl
xor ecx, ecx
mov cl, byte [esi]
add ecx, edx
and ecx, 0xff
mov cl, byte [ecx + eax]
xor byte [edi], cl
inc edi
dec dword [ebp + 0xc]
jne 0x468999
pop edi
pop esi
pop ebx
mov cl, byte [ebp + 0xb]
mov byte [eax + 0x100], cl
mov cl, byte [ebp - 1]
mov byte [eax + 0x101], cl
leave
ret

Function at 0x469793
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
xor eax, eax
test esi, esi
je 0x4697e0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
sub ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], esi
mov esi, dword [edi + edx]
mov ecx, dword [edx]
lea ebx, [ecx + esi]
add eax, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + edx], eax
mov ebx, ecx
xor ebx, esi
and ebx, eax
or ecx, esi
xor ebx, ecx
shr ebx, 0x1f
add edx, 4
dec dword [ebp + 0x14]
mov eax, ebx
jne 0x4697b7
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4699bf
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
xor eax, eax
test edx, edx
je 0x469a0c
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ebx, esi
sub ecx, esi
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
mov edi, dword [ebx + esi]
mov edx, dword [esi]
mov ecx, edi
sub ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + esi], ecx
xor ecx, edi
xor edx, edi
or ecx, edx
xor ecx, edi
shr ecx, 0x1f
add esi, 4
dec dword [ebp + 0x14]
mov eax, ecx
jne 0x4699e3
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x46ee16
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x170
push esi
xor esi, esi
push edi
inc ecx
movzx edi, byte [ecx + 1]
xor edx, edx
mov dh, byte [ecx - 1]
mov dl, byte [ecx]
add ecx, 4
shl edx, 8
or edx, edi
movzx edi, byte [ecx - 2]
shl edx, 8
or edx, edi
mov dword [ebp + esi*4 - 0x170], edx
inc esi
cmp esi, 0x10
jb 0x46ee26
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x30]
push 0x40
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x168]
pop esi
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
xor ecx, dword [edx - 8]
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
shr edi, 0x1f
add ecx, ecx
or edi, ecx
dec esi
mov dword [edx + 0x34], edi
jne 0x46ee62
mov ecx, dword [eax]
mov edi, dword [eax + 8]
and dword [ebp - 4], 0
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 4]
and dword [ebp - 8], 0
push ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea ebx, [ebp - 0x170]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ebx
mov ebx, ecx
shl ecx, 5
shr ebx, 0x1b
or ebx, ecx
mov ecx, dword [ebp - 8]
cmp ecx, 0x3c
mov dword [ebp - 0x1c], ebx
jge 0x46eed1
cmp ecx, 0x28
jl 0x46eecc
mov ecx, esi
or ecx, edi
and ecx, edx
mov ebx, esi
jmp 0x46eee5
cmp ecx, 0x14
jl 0x46eed9
mov ecx, edx
xor ecx, esi
xor ecx, edi
jmp 0x46eeed
test ecx, ecx
jl 0x46eeeb
mov ecx, edx
not ecx
and ecx, esi
mov ebx, edx
and ebx, edi
or ecx, ebx
jmp 0x46eeed
xor ecx, ecx
mov edi, dword [ebp - 0xc]
mov edi, dword [edi]
add edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
add edi, ecx
mov ecx, dword [ebp - 4]
add ebx, edi
cmp cx, 0x3c
jl 0x46ef0c
mov ecx, 0xca62c1d6
jmp 0x46ef34
cmp cx, 0x28
jl 0x46ef19
mov ecx, 0x8f1bbcdc
jmp 0x46ef34
cmp cx, 0x14
jl 0x46ef26
mov ecx, 0x6ed9eba1
jmp 0x46ef34
test cx, cx
jl 0x46ef32
mov ecx, 0x5a827999
jmp 0x46ef34
xor ecx, ecx
add dword [ebp - 0xc], 4
mov edi, edx
shr edx, 2
shl edi, 0x1e
or edi, edx
mov edx, dword [ebp - 0x18]
add ecx, ebx
inc dword [ebp - 4]
inc dword [ebp - 8]
cmp word [ebp - 4], 0x50
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
jl 0x46eea8
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 4], edx
lea ecx, [ebp - 0x30]
mov esi, ecx
mov edx, eax
push 5
sub edx, esi
pop esi
mov dword [eax + 8], edi
pop ebx
mov edi, dword [edx + ecx]
add dword [ecx], edi
add ecx, 4
dec esi
jne 0x46ef82
push 5
pop ecx
lea esi, [ebp - 0x30]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret

Function at 0x46f330
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.0046f2b9
test eax, eax
je 0x46f371
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [0x47f02c]
push dword [ebp - 4]
mov esi, eax
call dword [0x47f008]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8