joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4493f0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506338
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [esp + 0x6c]
mov dword [esp + 0x30], edi
call fcn.004060f0
push 0x5c
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x9c], 0
call fcn.0042ea80
add esp, 0xc
push 0x2a
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x9c], 1
call fcn.0042ea80
add esp, 0xc
mov dword [esp + 0x14], 0xffffffff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 3
call fcn.00407050
mov byte [esp + 0x90], 5
mov eax, dword [esp + 0x38]
push eax
call fcn.004e4db0
add esp, 4
mov esi, 0x2e
cmp dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x14]
je 0x4494bc
push ecx
lea ecx, [esp + 0x48]
call fcn.00449d90
jmp 0x4494c9
mov ebx, dword [esp + 0x18]
lea edi, [esp + 0x44]
call fcn.00449cc0
test al, al
je 0x449559
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
shr edx, 4
test dl, 1
je 0x4494fe
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4494fe
cmp word [edi], si
jne 0x4494fe
cmp eax, 1
je 0x4494a5
cmp word [edi + 2], si
jne 0x4494fe
cmp eax, 2
je 0x4494a5
lea eax, [esp + 0x44]
push eax
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00407050
call fcn.00449310
add esp, 0x10
test al, al
jne 0x4494a5
mov eax, dword [esp + 0x18]
push eax
call fcn.004e4db0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0xffffffff
je 0x44953f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004e4db0
add esp, 4
push edi
call fcn.004e4db0
add esp, 4
xor al, al
jmp 0x4495d1
mov edx, dword [esp + 0x18]
push edx
call fcn.004e4db0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0xffffffff
je 0x449576
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4495a7
mov eax, dword [esp + 0x24]
push eax
call fcn.004e4db0
mov ecx, dword [esp + 0x70]
add esp, 4
push ecx
call fcn.004e4db0
add esp, 4
xor al, al
jmp 0x4495d1
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [esp + 0x24]
test eax, eax
push edx
setne bl
call fcn.004e4db0
mov eax, dword [esp + 0x70]
add esp, 4
push eax
call fcn.004e4db0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x449700
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esi + 8]
push edi
cmp eax, 0x105
jg 0x44976d
cmp eax, 0x106
je 0x44976d
xor ecx, ecx
mov eax, 0x106
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4c68
add esp, 4
cmp dword [esi + 8], 0
mov edi, eax
jle 0x44975b
xor eax, eax
cmp dword [esi + 4], eax
jle 0x449750
nop
mov ecx, dword [esi]
mov dx, word [ecx + eax*2]
mov word [edi + eax*2], dx
inc eax
cmp eax, dword [esi + 4]
jl 0x449740
mov eax, dword [esi]
push eax
call fcn.004e4db0
add esp, 4
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], edi
mov word [edi + ecx*2], dx
mov dword [esi + 8], 0x106
mov eax, dword [esi]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x449790
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x449786
xor edx, edx
mov word [edi + ecx*2], dx
dec eax
mov dword [esi + 4], ecx
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
inc eax
pop edi
ret

Function at 0x449880
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esi + 8]
push edi
cmp eax, 0x105
jg 0x4498ed
cmp eax, 0x106
je 0x4498ed
xor ecx, ecx
mov eax, 0x106
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4c68
add esp, 4
cmp dword [esi + 8], 0
mov edi, eax
jle 0x4498db
xor eax, eax
cmp dword [esi + 4], eax
jle 0x4498d0
nop
mov ecx, dword [esi]
mov dx, word [ecx + eax*2]
mov word [edi + eax*2], dx
inc eax
cmp eax, dword [esi + 4]
jl 0x4498c0
mov eax, dword [esi]
push eax
call fcn.004e4db0
add esp, 4
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], edi
mov word [edi + ecx*2], dx
mov dword [esi + 8], 0x106
mov eax, dword [esi]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x449910
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x449906
xor edx, edx
mov word [edi + ecx*2], dx
dec eax
mov dword [esi + 4], ecx
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
inc eax
pop edi
ret

Function at 0x449930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 8]
push edi
cmp eax, 0x105
jg 0x44999f
cmp eax, 0x106
je 0x44999f
xor ecx, ecx
mov eax, 0x106
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e4c68
add esp, 4
cmp dword [esi + 8], 0
mov edi, eax
jle 0x44998d
xor eax, eax
cmp dword [esi + 4], eax
jle 0x449982
mov ecx, dword [esi]
mov dx, word [ecx + eax*2]
mov word [edi + eax*2], dx
inc eax
cmp eax, dword [esi + 4]
jl 0x449972
mov eax, dword [esi]
push eax
call fcn.004e4db0
add esp, 4
mov ecx, dword [esi + 4]
xor edx, edx
mov dword [esi], edi
mov word [edi + ecx*2], dx
mov dword [esi + 8], 0x106
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x4499ca
mov edx, edi
lea ecx, [ecx]
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x4499c0
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
pop edi
pop ebp
ret
Function at 0x4499e0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
push esi
push edi
mov edi, eax
je 0x449a13
mov esi, dword [ebx + 4]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x449a00
xor al, al
jmp 0x449a0c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete al
mov byte [ebx], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov esi, edi
call fcn.00449930
mov esi, eax
add esp, 8
test esi, esi
je 0x449a36
lea eax, [ebx + 4]
call fcn.00406170
mov byte [ebx], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x449b30
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5062e8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [ebp - 0x20]
mov byte [ebp - 0x24], bl
call fcn.004060f0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00449a40
test al, al
je 0x449c82
mov al, byte [ebp - 0x24]
mov esi, dword [ebp - 0x20]
test al, al
je 0x449bb7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x449b96
xor al, al
jmp 0x449ba2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete al
test al, al
sete cl
mov byte [ebp - 0x24], al
test cl, cl
je 0x449c82
or edi, 0xffffffff
mov dword [ebp - 4], edi
test al, al
je 0x449be6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x449bd2
xor al, al
jmp 0x449bde
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete al
mov byte [ebp - 0x24], al
push esi
call fcn.004e4db0
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
add esp, 4
lea esi, [ebp - 0x34]
call fcn.004060f0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
lea edi, [ebp - 0x5c]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00449cc0
mov bl, al
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x449c26
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
push edx
call fcn.004e4db0
add esp, 4
test bl, bl
jne 0x449c5c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x449c9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x449c8a
lea esi, [ebp - 0x20]
mov byte [ebp - 0x24], 0
call fcn.004060f0
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00449a40
test al, al
jne 0x449b7b
lea edi, [ebp - 0x24]
call fcn.00403d90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
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 0x44bcb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x44bcd7
pop esi
ret

Function at 0x451550
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x451560
pop edi
pop ebx
ret

Function at 0x451590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
push edi
or ecx, edx
add esi, esi
mov edi, edx
and edi, esi
add edi, edx
mov ebx, ecx
shr ebx, 8
add ebx, edi
mov edi, dword [ebp + 8]
movzx edi, word [edi + ebx*2]
mov ebx, ecx
shr ebx, 7
and ebx, 1
neg ebx
shr edi, 4
sar ebx, 4
and ebx, 0x7f
xor edi, ebx
mov ebx, dword [ebp + 0xc]
add eax, dword [ebx + edi*4]
add ecx, ecx
mov edi, ecx
xor edi, esi
not edi
and edx, edi
cmp ecx, 0x10000
jb 0x4515a1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x453500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 4
mov dword [ebp - 0x208], edi
movzx ebx, byte [edx + edi + 0x306a0]
mov ecx, ebx
mov esi, ebx
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], 1
sub edi, esi
mov dword [ebp - 0x214], ecx
test ecx, ecx
je 0x4535b3
jmp 0x453566
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub ecx, ebx
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b0e]
mov eax, edi
and eax, 1
mov ebx, eax
neg ebx
shr ecx, 4
sar ebx, 4
and ebx, 0x7f
xor ecx, ebx
mov ecx, dword [edx + ecx*4 + 0x30ea0]
add dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x210]
add ecx, ecx
or ecx, eax
shr edi, 1
dec dword [ebp - 0x214]
mov dword [ebp - 0x210], ecx
jne 0x453560
mov edi, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + edi*4 - 0x204], eax
inc edi
mov dword [ebp - 0x208], edi
cmp edi, 0x80
jb 0x453521
lea esi, [ebp - 0x204]
sub esi, edx
lea ecx, [edx + 0x32910]
lea ebx, [edx + 0x31d58]
sub esi, 0x31d50
lea edi, [edx + 0x31950]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 4
jmp 0x453620
xor ecx, ecx
mov dword [ebp - 0x214], ecx
cmp dword [edx + 0x32594], ecx
jbe 0x453690
mov eax, ecx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x453678
lea esp, [esp]
mov ebx, dword [ebp - 0x208]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebx, 4
xor ebx, eax
add esi, dword [edx + ebx*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x453640
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov dword [edi + ecx*4], esi
inc ecx
mov dword [ebp - 0x214], ecx
cmp ecx, dword [edx + 0x32594]
jb 0x453630
mov esi, dword [ebp - 0x210]
mov eax, 0xe
cmp dword [edx + 0x32594], eax
jbe 0x4536b6
lea ecx, [ecx]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x32594]
jb 0x4536a0
mov eax, dword [edi]
mov dword [ebx - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 4], ecx
mov eax, 4
lea ecx, [ebx + 8]
jmp 0x4536e0
movzx ebx, byte [edx + eax + 0x306a0]
mov ebx, dword [edi + ebx*4]
add ebx, dword [esi + ecx]
inc eax
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x80
jb 0x4536e0
mov ebx, dword [ebp - 0x20c]
sub dword [ebp - 0x208], 0xffffff80
add ebx, 0x200
sub esi, 0x200
add edi, 0x100
dec dword [ebp - 0x218]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
jne 0x453620
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x3bcf8], 0
pop ebx
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
Function at 0x455070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 8]
push edi
xor edi, edi
push eax
lea edx, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
mov dword [esi + 0x38], edi
call fcn.00454a60
add esp, 4
cmp ebx, edi
jbe 0x4550bb
add esi, 0x270
call fcn.00454b60
test eax, eax
jne 0x45527a
inc edi
add esi, 0x44
cmp edi, ebx
jb 0x4550a3
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0
test ebx, ebx
je 0x455175
add esi, 0x29c
cmp dword [esi - 0x14], 0
lea edi, [esi - 0x14]
jne 0x455163
push 0
push 0
push 0
lea ecx, [esi - 0x2c]
push 0
mov dword [esi - 4], 0x454e10
mov dword [esi], ecx
mov dword [esi - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi - 0x10], eax
test eax, eax
jne 0x45511a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45521d
mov eax, 1
jmp 0x45515b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi - 0xc], eax
test eax, eax
je 0x455105
lea edx, [ebp - 0x10]
push edx
push 0
push edi
push 0x4549f0
push 0
push 0
call fcn.004e6038
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x455163
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45521d
test eax, eax
jne 0x45521d
mov eax, dword [ebp - 0xc]
inc eax
add esi, 0x44
mov dword [ebp - 0xc], eax
cmp eax, ebx
jb 0x4550d0
xor edi, edi
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
je 0x4551a6
mov esi, dword [ebp + 8]
add esi, 0x28c
lea ebx, [ebx]
mov eax, dword [esi]
push eax
call ebx
test eax, eax
je 0x455226
inc edi
add esi, 0x44
cmp edi, dword [ebp - 4]
jb 0x455190
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x2b0]
push ecx
call ebx
test eax, eax
jne 0x4551bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x2ac]
push edx
call ebx
test eax, eax
jne 0x4551cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x4551ef
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 0x290
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebx
add esi, 0x44
dec edi
jne 0x4551e2
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45526d
mov esi, dword [ebp + 8]
mov edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x2b0
mov eax, dword [esi - 4]
test eax, eax
je 0x455245
push eax
call ebx
test eax, eax
jne 0x455245
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45524c
mov dword [ebp - 8], 0xc
jmp 0x4551f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0xc
mov dword [esi + 0x2a4], 1
jmp 0x4551a9
mov dword [esi - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x455261
push eax
call ebx
test eax, eax
jne 0x455261
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x455267
mov dword [esi], 0
add esi, 0x44
dec edi
jne 0x455207
mov eax, dword [ebp - 8]
test eax, eax
jne 0x45527a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x38]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455ad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004e6038
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x455af7
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x455b06
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x455c70
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], ecx
dec ecx
je 0x455cc8
sub ecx, 3
je 0x455cbe
sub ecx, 6
jne 0x455ccf
mov dword [eax + 0x10], 0x6a09e667
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0x510e527f
mov dword [eax + 0x24], 0x9b05688c
mov dword [eax + 0x28], 0x1f83d9ab
mov dword [eax + 0x2c], 0x5be0cd19
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
ret
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
ret
mov dword [eax + 4], 0xffffffff
ret

Function at 0x455ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x455f07
movzx ecx, byte [edi]
xor ecx, eax
shrd eax, edx, 8
and ecx, 0xff
xor eax, dword [ecx*8 + 0x55c300]
shr edx, 8
xor edx, dword [ecx*8 + 0x55c304]
inc edi
dec esi
jne 0x455ee3
pop edi
pop esi
pop ebp
ret 8
Function at 0x458760
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506280
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x51d6f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor esi, esi
mov dword [0x55ad70], eax
cmp eax, esi
je 0x4587c8
push 0x51d724
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4587c8
push 5
push esi
push esi
push str.http:__www.baofeng.com_permit.html
push 0x51d0ac
push esi
call eax
cmp eax, 0x20
jge 0x4588fa
cmp byte [ebp + 8], 0
je 0x458926
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push 0x51d0ec
push 0x17
push esi
push 0x51d098
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x458910
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
cmp eax, esi
jl 0x458910
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x458832
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push str.http:__www.baofeng.com_permit.html
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0x458850
push 0x8007000e
call fcn.0045a4a0
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
xor ecx, ecx
push edx
mov word [ebp - 0x5c], cx
call fcn.0045a340
lea ecx, [ebp - 0x4c]
xor eax, eax
mov byte [ebp - 4], 2
push ecx
mov word [ebp - 0x4c], ax
call fcn.0045a340
lea eax, [ebp - 0x3c]
xor edx, edx
mov byte [ebp - 4], 3
push eax
mov word [ebp - 0x3c], dx
call fcn.0045a340
mov ecx, 3
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x24], 0xe
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 5
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push edi
push esi
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x3c]
push ecx
call esi
lea edx, [ebp - 0x4c]
push edx
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x45890e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4588fa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x458926
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
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 0x458940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004e9a40
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x58]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4589a9
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xc]
push eax
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x458be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov edi, ecx
lea ecx, [ebp - 0x14]
push ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 8], ecx
push eax
lea ecx, [ebp - 0x14]
xor edx, edx
push ecx
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 8
push 0x61c46800
push edx
push eax
call fcn.004eaa10
mov esi, eax
mov eax, 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x51cf6c
push str.SoftwareBaofengStormPlayerConfigInstall
push SysReAllocString
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
jb 0x458c87
sub esi, ecx
add esi, 0x17
mov eax, 0xaaaaaaab
mul esi
shr edx, 4
push edx
jmp 0x458c9d
sub ecx, esi
add ecx, 0x17
mov eax, 0x19
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1f
push ecx
push 0x51cfe0
call fcn.00459850
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
pop esi
call fcn.004e4d50
mov esp, ebp
pop ebp
ret