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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x45b3b0
xor edx, edx
mov ecx, 1
mov dword [esp + 0xc], 4
nop
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x45b3c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add esi, 1
mov dword [eax], edx
add eax, 4
cmp esi, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jb 0x45b3b0
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret

Function at 0x45b420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
sub ecx, 1
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.00459400
mov dword [esp + edi*4 + 0x24], eax
add edi, 1
add esp, 8
cmp edi, 0x80
jb 0x45b434
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x45b4b4
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x45b511
mov edi, edi
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x45b503
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x45b4d0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
add ebx, 1
cmp ebx, dword [esi + 0x32594]
jb 0x45b4c0
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x45b538
mov edi, edi
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
add eax, 1
cmp eax, dword [esi + 0x32594]
jb 0x45b520
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x45b560
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
add eax, 1
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x45b560
add dword [esp + 0x10], 0x80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x45b4b0
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret
Function at 0x462330
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
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x462357
pop esi
ret
Function at 0x4652f0
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4652f7
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.00465300
Function at 0x465300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x465332
lea esp, [esp]
test cl, 3
je 0x465332
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x54a988]
add ecx, 1
sub esi, 1
jne 0x465310
cmp esi, 0x20
push ebx
push edi
jb 0x46551c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x54ad88]
xor edx, dword [ebx*4 + 0x54b188]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x54a988]
add ecx, 4
xor edx, dword [eax*4 + 0x54b588]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x54ad88]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x54b188]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x54a988]
add ecx, 4
xor eax, dword [edx*4 + 0x54b588]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x54ad88]
xor edx, dword [ebx*4 + 0x54b188]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x54a988]
xor edx, dword [eax*4 + 0x54b588]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x54ad88]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x54b188]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x54a988]
xor eax, dword [edx*4 + 0x54b588]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x54ad88]
xor edx, dword [ebx*4 + 0x54b188]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x54a988]
xor edx, dword [eax*4 + 0x54b588]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x54ad88]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x54b188]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x54a988]
and edx, 0xff
xor eax, dword [edx*4 + 0x54b588]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x54ad88]
xor edx, dword [ebx*4 + 0x54b188]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x54a988]
add ecx, 4
xor edx, dword [eax*4 + 0x54b588]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x54ad88]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x54b188]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x54a988]
and edx, 0xff
xor eax, dword [edx*4 + 0x54b588]
sub edi, 1
jne 0x465342
cmp esi, 4
jb 0x465569
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x54ad88]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x54b188]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x54a988]
and eax, 0xff
xor edi, dword [eax*4 + 0x54b588]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x465526
test esi, esi
pop edi
pop ebx
je 0x46558d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x54a988]
add ecx, 1
sub esi, 1
jne 0x465570
not eax
pop esi
ret
Function at 0x467b80
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004f0fcc
mov ecx, dword [esp + 0x20]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x467ba3
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x467bb2
mov eax, 1
pop ecx
ret

Function at 0x469730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e965
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x23c]
call fcn.00468a60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax], vtable.CSougouHomePageUtil.0
mov ecx, dword [ebp - 0x23c]
add ecx, 4
call fcn.00404400
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.00404400
mov byte [ebp - 4], 2
push 0x52fe10
mov ecx, dword [ebp - 0x23c]
add ecx, 4
call fcn.00401ea0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x20], 2
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.00401ea0
push str.SogouExplorerconfig.xml
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.004080a0
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.004698c0
lea ecx, [ebp - 0x238]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret
Function at 0x469c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ea4a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x56fcac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.004059a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x469c60
mov byte [ebp - 0x49], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e70
mov al, byte [ebp - 0x49]
jmp 0x469d74
lea ecx, [ebp - 0x48]
call fcn.0046ac10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.004059a0
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.0046abf0
lea ecx, [ebp - 0x48]
call fcn.00480600
movzx eax, al
test eax, eax
jne 0x469cb9
mov byte [ebp - 0x51], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0047f2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e70
mov al, byte [ebp - 0x51]
jmp 0x469d74
lea ecx, [ebp - 0x48]
call fcn.0046ac80
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x52fe88
call fcn.0046abf0
lea ecx, [ebp - 0x48]
call fcn.00480a20
movzx ecx, al
test ecx, ecx
je 0x469d3a
push 0
lea ecx, [ebp + 8]
call fcn.004059a0
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0046abf0
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push str.homepage
call fcn.0046abf0
lea ecx, [ebp - 0x48]
call fcn.0046acf0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x52fea8
call fcn.0046abf0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x52feac
call fcn.0046abf0
lea ecx, [ebp - 0x48]
call fcn.0046acf0
jmp 0x469cc1
mov ecx, dword [ebp - 0x70]
add ecx, 0x24
call fcn.004059a0
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.0046abf0
lea ecx, [ebp - 0x48]
call fcn.00480790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0047f2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x469f40
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], 0
mov ecx, dword [ebp - 0x420]
add ecx, 0x20
call fcn.004059a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46a009
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x418]
push ecx
mov ecx, dword [ebp - 0x420]
add ecx, 0x20
call fcn.00401ea0
push str.TheWorldTheWorld.ini
mov ecx, dword [ebp - 0x420]
add ecx, 0x20
call fcn.004080a0
mov ecx, dword [ebp - 0x420]
add ecx, 0x20
call fcn.004059a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46a009
mov edx, dword [ebp - 0x420]
mov dword [edx + 0x3c], 1
mov eax, dword [ebp - 0x420]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
call fcn.004032e0
mov ecx, dword [ebp - 0x41c]
or ecx, 1
mov dword [ebp - 0x41c], ecx
mov eax, dword [ebp + 8]
jmp 0x46a072
mov ecx, dword [ebp - 0x420]
add ecx, 0x20
call fcn.004059a0
push eax
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0x52fff4
push 0x52fff8
push 0x53000c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x420]
add ecx, 4
call fcn.00401ea0
mov ecx, dword [ebp - 0x420]
add ecx, 4
push ecx
mov ecx, dword [ebp + 8]
call fcn.004032e0
mov edx, dword [ebp - 0x41c]
or edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret 4

Function at 0x46a180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51eaff
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x56fcac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
push 0x53001c
call fcn.0046d260
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x46a1e0
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.004059a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46a1f8
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e70
mov al, byte [ebp - 0x11]
jmp 0x46a237
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.004059a0
push eax
lea ecx, [ebp + 8]
call fcn.004059a0
push eax
push str.HomePage
push str.Option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
setne dl
mov byte [ebp - 0x12], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e70
mov al, byte [ebp - 0x12]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x46a250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51eb41
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp - 0x23c]
call fcn.00468a60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov dword [eax], vtable.CGoogleHomePageUtil.0
mov ecx, dword [ebp - 0x23c]
add ecx, 4
call fcn.00404400
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.00404400
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x20], 2
push 0x530044
mov ecx, dword [ebp - 0x23c]
add ecx, 4
call fcn.00401ea0
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.00401ea0
push str.GoogleChromeUser_DataDefaultPreferences
mov ecx, dword [ebp - 0x23c]
add ecx, 0x24
call fcn.004080a0
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x23c]
call fcn.0046a3e0
lea ecx, [ebp - 0x238]
call fcn.00401e70
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret
Function at 0x46c880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51efe8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x46c8c0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x46c8cc
mov al, 1
jmp 0x46ca6f
mov dword [ebp - 0x10], 8
call fcn.0046da50
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0046da50
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0046da30
add esp, 8
movzx eax, al
test eax, eax
je 0x46c90f
xor al, al
jmp 0x46ca6f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0046c0b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0046c160
mov ecx, eax
call fcn.0046c480
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401e20
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c160
mov ecx, eax
call fcn.0046c480
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0046d0b0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x46c98a
cmp dword [ebp - 0x6c], 1
je 0x46c991
cmp dword [ebp - 0x6c], 3
je 0x46ca2b
jmp 0x46ca43
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0046c160
mov ecx, eax
call fcn.0046c480
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x46c9f4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0046c160
mov ecx, eax
call fcn.0046c480
push eax
call fcn.004eb346
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x46c9f4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401de0
mov al, byte [ebp - 0x61]
jmp 0x46ca6f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x46ca17
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401de0
mov al, byte [ebp - 0x62]
jmp 0x46ca6f
cmp dword [ebp - 0x38], 0
jne 0x46ca29
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0046c0f0
jmp 0x46ca5b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401de0
mov al, byte [ebp - 0x63]
jmp 0x46ca6f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401de0
mov al, byte [ebp - 0x64]
jmp 0x46ca6f
jmp 0x46c922
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret
Function at 0x4708c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f481
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x56fcac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x7c], 0
jne 0x47098a
lea ecx, [ebp - 0x10]
call fcn.0046e3e0
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0046f190
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0046e450
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call fcn.00470e00
lea ecx, [ebp - 0x10]
call fcn.004716f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x470971
push 0x6a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x470971
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046e400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4709a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x470a11
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x5306bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x20
ja 0x470d95
lea edx, [ebp - 0x418]
push edx
push str..htm
push SysReAllocStringLen
mov ecx, dword [ebp - 0x424]
call fcn.004709a0
test eax, eax
jne 0x470d95
push str._shellopencommand
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x418]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x424]
call fcn.004709a0
test eax, eax
jne 0x470d95
push str.__1_
lea eax, [ebp - 0x418]
push eax
call fcn.00470de0
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x470d50
push 0x530708
lea ecx, [ebp - 0x418]
push ecx
call fcn.00470de0
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x470d43
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x41a]
mov dword [ebp - 0x420], eax
jmp 0x470d4e
mov ecx, dword [ebp - 0x420]
mov word [ecx], 0
jmp 0x470d5b
mov edx, dword [ebp - 0x420]
mov word [edx], 0
push 0x530710
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret 8
Function at 0x473350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.004798b0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x473384
xor eax, eax
jmp 0x47342a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4733b0
xor eax, eax
jmp 0x47342a
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004eca20
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0047a6b0
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc