joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x451284
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4512a1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x451290
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4512da
cmp eax, edi
jne 0x4512d2
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4512e2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4512e2
cmp eax, edi
jne 0x4512e2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00423d20
push 0x28
push edi
call fcn.004f9e2c
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x451720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572d3d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5cc6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov dword [ebp - 4], 0
mov word [ebx + 0x10], ax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
push eax
mov dword [edi], eax
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
call fcn.00457fb0
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 8
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [edi], 0x3f800000
call fcn.00422610
lea eax, [ebx + 0x54]
push 2
push eax
call fcn.00461c8b
add esp, 8
lea ecx, [ebx + 0x84]
mov byte [ebp - 4], 6
call fcn.00451660
lea ecx, [ebx + 0xa4]
mov byte [ebp - 4], 7
call fcn.00451660
mov byte [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
lea edi, [ebx + 0xd0]
mov byte [ebp - 4], 9
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
push 0
mov dword [edi], 0
push 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00457f80
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 8
mov ecx, edi
mov byte [ebp - 4], 0xb
mov dword [edi], 0x3f800000
call fcn.00422610
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
Function at 0x458290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
mov esi, edi
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x4582b8
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4582d7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4582c3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 8]
and eax, edx
mov ecx, dword [ecx + 0xc]
lea edx, [eax*8]
mov dword [ebp - 0x18], edx
lea eax, [edx + ecx]
mov edx, dword [edx + ecx]
mov dword [ebp - 0x24], eax
mov esi, edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
add edx, 4
mov eax, dword [eax + 4]
add ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp edx, eax
je 0x458319
mov eax, dword [ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x4583e2
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x45832e
mov ecx, dword [edi]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x14]
cmp edx, 0x10
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x10]
jb 0x458344
mov eax, dword [eax]
push ebx
push ecx
push edx
push eax
call fcn.0042baf0
add esp, 0x10
test al, al
jne 0x45835e
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
jmp 0x45830e
cmp dword [ebp - 0x20], 0x10
lea eax, [esi + 8]
jb 0x458369
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x458371
mov edi, dword [edi]
push dword [ebp - 0x10]
push eax
push ebx
push edi
call fcn.0042baf0
add esp, 0x10
test al, al
je 0x4583e2
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], esi
jne 0x4583af
cmp dword [ebp - 0xc], esi
jne 0x4583a7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
jmp 0x4583b8
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4583b8
cmp dword [ebp - 0xc], esi
jne 0x4583b8
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
pop edi
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
dec dword [eax + 8]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 4
Function at 0x458940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 4], ebx
jb 0x45895f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x458981
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x458970
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x4589ab
mov eax, ebx
jmp 0x4589af
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x458a1a
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x4589c0
mov ecx, dword [edi]
mov edi, dword [eax + 0x14]
cmp edi, 0x10
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
jb 0x4589d6
mov eax, dword [eax]
push dword [ebp - 4]
push ecx
push edx
push eax
call fcn.0042baf0
add esp, 0x10
test al, al
jne 0x4589f2
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x4589a3
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x4589fd
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x458a05
mov edi, dword [edi]
push dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push edi
call fcn.0042baf0
add esp, 0x10
test al, al
cmovne ebx, esi
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458e00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5738ec
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5cc6c0]
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, ecx
cmp dword [edi + 8], 0
je 0x45900c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f0a0
add esp, 0xc
push str.Utilscef69CefView.exe
call fcn.00419180
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458e92
mov ecx, dword [edi + 8]
mov edx, edi
neg edx
sbb edx, edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
lea eax, [edi + 4]
and edx, eax
push edx
call esi
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x45900c
push 0
push 0x5d023c
push 0x5d0218
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.0053fdc9
add esp, 0x14
lea edx, [ebp - 0x21c]
mov ecx, dword [eax]
push 4
push edx
push 1
push eax
call dword [ecx + 0x24]
mov eax, dword [edi]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
jne 0x458fdb
call fcn.004674e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x458fca
push 0x40
push str.d:jenkins.jenkinsworkspacepcstorepcstoremainwebwndbase.cpp
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], al
call fcn.00406f00
push 3
push 0x57fd94
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
call fcn.00406f00
push 0x89
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0040a870
mov esi, eax
push str.create_param_is_empty
push esi
mov byte [ebp - 4], 3
call fcn.0040b650
add esp, 8
call fcn.004674e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2fc]
call fcn.0040b790
lea ecx, [ebp - 0x24c]
call fcn.00406da0
lea ecx, [ebp - 0x264]
call fcn.00406da0
lea ecx, [ebp - 0x234]
xor bl, bl
call fcn.00406da0
mov al, bl
jmp 0x45900e
mov edx, dword [edi + 0xc]
cmp dword [ebp - 0x220], 0x10
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push edx
call ecx
lea ecx, [ebp - 0x234]
mov bl, 1
call fcn.00406da0
mov al, bl
jmp 0x45900e
xor al, al
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.004fa0d4
mov esp, ebp
pop ebp
ret
Function at 0x4598c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x34], ecx
mov ecx, edx
push ebx
push esi
mov dword [ebp - 0x14], eax
xor eax, eax
push edi
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459901
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406a80
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x2c]
cmovae esi, ebx
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x459949
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x459938
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x20]
and eax, edx
mov edi, dword [edi + 0x18]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x30], edx
mov esi, edx
mov dword [ebp - 8], eax
nop dword [eax + eax]
cmp edx, edi
jne 0x459978
mov eax, edi
jmp 0x45997c
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4599fa
cmp dword [ebp - 0x18], 8
lea edx, [esi + 8]
mov ecx, dword [edx + 0x10]
lea eax, [ebp - 0x2c]
cmovae eax, ebx
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 8
jb 0x45999e
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x1c]
jne 0x4599d5
test ecx, ecx
je 0x4599e2
movzx edx, word [edx]
movzx ebx, word [eax]
cmp dx, bx
jb 0x4599d2
sub dword [ebp - 0x10], eax
cmp dx, bx
ja 0x4599d2
cmp ecx, 1
je 0x4599df
mov edx, dword [ebp - 0x10]
add eax, 2
dec ecx
movzx edx, word [eax + edx]
movzx ebx, word [eax]
cmp dx, bx
jae 0x4599b8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
jmp 0x459970
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x14]
call fcn.0042b310
test al, al
cmove edi, esi
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x459a2d
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x459a23
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459a6d
push ecx
push ebx
call fcn.004f9e2c
add esp, 8
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x18]
je 0x459a58
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x459a72
push dword [ebp - 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 0x14
call fcn.00542930
call fcn.004606f3
int3
Function at 0x45ccd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0053f0a0
add esp, 4
mov eax, esp
mov dword [eax], 0x580818
mov dword [eax + 4], 7
lea eax, [ebp - 0x228]
push eax
call fcn.00418db0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45cd22
mov eax, dword [eax]
push str.PCStore.log
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x45cd71
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cd67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cdd9
push edx
push ecx
call fcn.004f9e2c
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00467f60
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push 0
add eax, 0xb8
push eax
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 3
je 0x45cdca
cmp eax, 2
ja 0x45cdca
mov ecx, dword [esi + 4]
push 0
push 0x7d0
push 0x2712
mov ecx, dword [ecx + 0xec]
call fcn.00493f90
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret
call fcn.00542930
int3
Function at 0x45cf90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
push edi
mov dword [ebp - 0x10], ecx
jb 0x45cfb8
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x45cfd7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x45cfc6
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
and eax, edx
mov edx, dword [ebx + 4]
mov edi, dword [esi + eax*8]
lea eax, [eax*8 + 4]
add eax, esi
mov dword [ebp - 0xc], edi
mov ecx, edi
mov dword [ebp - 0x14], eax
cmp edi, edx
jne 0x45cffe
mov eax, edx
jmp 0x45d002
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x45d111
mov esi, dword [ebp + 0xc]
lea ebx, [ecx + 8]
mov dword [ebp - 8], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45d01d
mov eax, dword [esi]
cmp dword [ebx + 0x14], 8
mov esi, dword [ebx + 0x10]
jb 0x45d02b
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
cmp esi, dword [ebp - 0x10]
jne 0x45d062
test esi, esi
je 0x45d06c
movzx edi, word [ebx]
movzx ebx, word [eax]
cmp di, bx
jb 0x45d05f
sub dword [ebp - 8], eax
cmp di, bx
ja 0x45d05f
cmp esi, 1
je 0x45d069
mov ebx, dword [ebp - 8]
add eax, 2
dec esi
movzx edi, word [eax + ebx]
movzx ebx, word [eax]
cmp di, bx
jae 0x45d045
mov edi, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x14]
jmp 0x45cff6
mov edi, dword [ebp - 0xc]
mov esi, ecx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0xc]
cmp edi, edx
jne 0x45d07c
mov eax, edx
jmp 0x45d083
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x45d0e5
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
mov edi, dword [eax + 0x10]
jb 0x45d095
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
mov ebx, esi
mov dword [ebp - 8], esi
jb 0x45d0a5
mov ebx, dword [esi]
mov dword [ebp - 8], ebx
cmp dword [esi + 0x10], edi
jne 0x45d0e5
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x10], edi
test edi, edi
je 0x45d107
movzx edi, word [ebx]
movzx ebx, word [eax]
cmp di, bx
jb 0x45d0e5
sub dword [ebp - 8], eax
cmp di, bx
ja 0x45d0e5
mov ebx, dword [ebp - 0x10]
cmp ebx, 1
je 0x45d107
dec ebx
add eax, 2
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
movzx edi, word [eax + ebx]
movzx ebx, word [eax]
cmp di, bx
jae 0x45d0c5
mov esi, dword [ebp - 0x18]
cmp esi, ecx
je 0x45d111
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx]
mov edi, dword [ebp - 0xc]
jmp 0x45d074
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 8
Function at 0x45d130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x1c], 8
lea edx, [ebx + 8]
push esi
push edi
mov edi, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x45d15d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x45d179
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x45d168
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
mov eax, dword [ecx + esi]
add ecx, esi
cmp dword [ecx + 4], ebx
jne 0x45d1b2
cmp eax, ebx
jne 0x45d1aa
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x45d1ba
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x45d1ba
cmp eax, ebx
jne 0x45d1bd
mov eax, dword [ebx]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [edx + 4]
mov edi, dword [ebx]
push ebx
mov dword [eax], edi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
dec dword [ecx + 4]
call fcn.0045cde0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 8
Function at 0x45fd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5743b1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5cc6c0]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.004062e0
mov ecx, eax
test ecx, ecx
je 0x45fed4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45fe95
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fe87
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45fe95
add eax, 0x10
push 0x5d78a8
push eax
mov dword [ebp - 0x20], eax
call fcn.004fa2a7
mov esi, eax
add esp, 8
test esi, esi
je 0x45fe95
push dword [ebp - 0x20]
push 0
push esi
call fcn.0053f0a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45fe4a
push esi
call fcn.004fa2a2
add esp, 4
jmp 0x45fe95
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe50
sub ecx, edx
sar ecx, 1
je 0x45fe7e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe66
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00406810
push esi
call fcn.004fa2a2
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45fe95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45feb4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.004fa0d4
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004061e0
int3
Function at 0x45fee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45ff04
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x45ff66
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x45ff66
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45ff81
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret 0x10