joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451180
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 0x4511a4
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4511c1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4511b0
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 0x4511fa
cmp eax, edi
jne 0x4511f2
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 0x451202
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x451202
cmp eax, edi
jne 0x451202
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.004f9d5c
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 0x451640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572c4d
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.00457ed0
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.00461bab
add esp, 8
lea ecx, [ebx + 0x84]
mov byte [ebp - 4], 6
call fcn.00451580
lea ecx, [ebx + 0xa4]
mov byte [ebp - 4], 7
call fcn.00451580
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.00457ea0
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 0x4581b0
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 0x4581d8
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4581f7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4581e3
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 0x458239
mov eax, dword [ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x458302
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x45824e
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 0x458264
mov eax, dword [eax]
push ebx
push ecx
push edx
push eax
call fcn.0042baf0
add esp, 0x10
test al, al
jne 0x45827e
mov esi, dword [esi]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
jmp 0x45822e
cmp dword [ebp - 0x20], 0x10
lea eax, [esi + 8]
jb 0x458289
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x458291
mov edi, dword [edi]
push dword [ebp - 0x10]
push eax
push ebx
push edi
call fcn.0042baf0
add esp, 0x10
test al, al
je 0x458302
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], esi
jne 0x4582cf
cmp dword [ebp - 0xc], esi
jne 0x4582c7
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 0x4582d8
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4582d8
cmp dword [ebp - 0xc], esi
jne 0x4582d8
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.004fa004
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.004fa004
mov esp, ebp
pop ebp
ret 4
Function at 0x458860
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 0x45887f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4588a1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x458890
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 0x4588cb
mov eax, ebx
jmp 0x4588cf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x45893a
cmp dword [edi + 0x14], 0x10
lea eax, [esi + 8]
mov ecx, edi
jb 0x4588e0
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 0x4588f6
mov eax, dword [eax]
push dword [ebp - 4]
push ecx
push edx
push eax
call fcn.0042baf0
add esp, 0x10
test al, al
jne 0x458912
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x4588c3
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x45891d
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x458925
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 0x458d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5737fc
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 0x458f2c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053efc0
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 0x458db2
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 0x458f2c
push 0
push 0x5d023c
push 0x5d0218
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.0053fce9
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 0x458efb
call fcn.00467400
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x458eea
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.00467400
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 0x458f2e
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 0x458f2e
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.004fa004
mov esp, ebp
pop ebp
ret
Function at 0x4597e0
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 0x459821
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 0x459869
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x459858
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 0x459898
mov eax, edi
jmp 0x45989c
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x45991a
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 0x4598be
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x1c]
jne 0x4598f5
test ecx, ecx
je 0x459902
movzx edx, word [edx]
movzx ebx, word [eax]
cmp dx, bx
jb 0x4598f2
sub dword [ebp - 0x10], eax
cmp dx, bx
ja 0x4598f2
cmp ecx, 1
je 0x4598ff
mov edx, dword [ebp - 0x10]
add eax, 2
dec ecx
movzx edx, word [eax + edx]
movzx ebx, word [eax]
cmp dx, bx
jae 0x4598d8
mov ebx, dword [ebp - 0x2c]
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
jmp 0x459890
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 0x45994d
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x459943
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45998d
push ecx
push ebx
call fcn.004f9d5c
add esp, 8
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x18]
je 0x459978
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 0x459992
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.004fa004
mov esp, ebp
pop ebp
ret 0x14
call fcn.00542850
call fcn.00460613
int3
Function at 0x45cbf0
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.0053efc0
add esp, 4
mov eax, esp
mov dword [eax], 0x580820
mov dword [eax + 4], 7
lea eax, [ebp - 0x228]
push eax
call fcn.00418db0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45cc42
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 0x45cc91
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cc87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ccf9
push edx
push ecx
call fcn.004f9d5c
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00467e80
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 0x45ccea
cmp eax, 2
ja 0x45ccea
mov ecx, dword [esi + 4]
push 0
push 0x7d0
push 0x2712
mov ecx, dword [ecx + 0xec]
call fcn.00493ec0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fa004
mov esp, ebp
pop ebp
ret
call fcn.00542850
int3
Function at 0x45ceb0
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 0x45ced8
mov esi, dword [eax]
lea edi, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test edi, edi
je 0x45cef7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x45cee6
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 0x45cf1e
mov eax, edx
jmp 0x45cf22
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x45d031
mov esi, dword [ebp + 0xc]
lea ebx, [ecx + 8]
mov dword [ebp - 8], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45cf3d
mov eax, dword [esi]
cmp dword [ebx + 0x14], 8
mov esi, dword [ebx + 0x10]
jb 0x45cf4b
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
cmp esi, dword [ebp - 0x10]
jne 0x45cf82
test esi, esi
je 0x45cf8c
movzx edi, word [ebx]
movzx ebx, word [eax]
cmp di, bx
jb 0x45cf7f
sub dword [ebp - 8], eax
cmp di, bx
ja 0x45cf7f
cmp esi, 1
je 0x45cf89
mov ebx, dword [ebp - 8]
add eax, 2
dec esi
movzx edi, word [eax + ebx]
movzx ebx, word [eax]
cmp di, bx
jae 0x45cf65
mov edi, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x14]
jmp 0x45cf16
mov edi, dword [ebp - 0xc]
mov esi, ecx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0xc]
cmp edi, edx
jne 0x45cf9c
mov eax, edx
jmp 0x45cfa3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x45d005
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
mov edi, dword [eax + 0x10]
jb 0x45cfb5
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
mov ebx, esi
mov dword [ebp - 8], esi
jb 0x45cfc5
mov ebx, dword [esi]
mov dword [ebp - 8], ebx
cmp dword [esi + 0x10], edi
jne 0x45d005
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x10], edi
test edi, edi
je 0x45d027
movzx edi, word [ebx]
movzx ebx, word [eax]
cmp di, bx
jb 0x45d005
sub dword [ebp - 8], eax
cmp di, bx
ja 0x45d005
mov ebx, dword [ebp - 0x10]
cmp ebx, 1
je 0x45d027
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 0x45cfe5
mov esi, dword [ebp - 0x18]
cmp esi, ecx
je 0x45d031
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.004fa004
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx]
mov edi, dword [ebp - 0xc]
jmp 0x45cf94
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.004fa004
mov esp, ebp
pop ebp
ret 8
Function at 0x45d050
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 0x45d07d
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add edi, edi
je 0x45d099
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x45d088
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 0x45d0d2
cmp eax, ebx
jne 0x45d0ca
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 0x45d0da
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x45d0da
cmp eax, ebx
jne 0x45d0dd
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.0045cd00
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.004fa004
mov esp, ebp
pop ebp
ret 8
Function at 0x45fc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5742c1
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 0x45fdf4
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 0x45fdb5
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 0x45fda7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45fdb5
add eax, 0x10
push 0x5d78a8
push eax
mov dword [ebp - 0x20], eax
call fcn.004fa1d7
mov esi, eax
add esp, 8
test esi, esi
je 0x45fdb5
push dword [ebp - 0x20]
push 0
push esi
call fcn.0053efc0
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 0x45fd6a
push esi
call fcn.004fa1d2
add esp, 4
jmp 0x45fdb5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fd70
sub ecx, edx
sar ecx, 1
je 0x45fd9e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fd86
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00406810
push esi
call fcn.004fa1d2
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45fdb5
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 0x45fdd4
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.004fa004
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004061e0
int3
Function at 0x45fe00
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 0x45fe24
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 0x45fe86
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 0x45fe86
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 0x45fea1
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.004fa004
mov esp, ebp
pop ebp
ret 0x10