joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47203f
Capabilities:
Read .ini file

Disassembly:
push 0x844
mov eax, 0x5e4621
call fcn.0046dcda
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
and dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x844], eax
call fcn.004041e0
lea eax, [ebp - 0x828]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004041b0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x84c], 1
jne 0x472118
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00480640
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4720ce
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
jne 0x4720fc
xor eax, eax
jmp 0x472109
lea eax, [ebp - 0x810]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402ad0
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00454c66
test eax, eax
jne 0x47215c
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
mov ecx, ebx
push dword [ebp - 0x848]
push eax
call fcn.00472205
push eax
mov ecx, esi
call fcn.004043f0
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.0041edb0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret 0x14

Function at 0x472259
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5e4654
call fcn.0046dcda
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x472284
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x472362
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x5e6948
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00402ad0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00480640
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5e6b30
push eax
call fcn.00407f60
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x472317
call fcn.00472175
jmp 0x47231c
call fcn.0047222f
push eax
lea ecx, [ebp - 0x828]
call fcn.004043f0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.0041edb0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00483eb3
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret 0xc
Function at 0x47236c
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5e469e
call fcn.0046dcda
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00480640
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4723c9
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004041e0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x47240f
mov eax, dword [esi]
jmp 0x472411
mov eax, esi
push ebx
push eax
call fcn.0048f35e
pop ecx
pop ecx
test eax, eax
jne 0x47245d
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x472441
call fcn.00472175
jmp 0x472446
call fcn.0047222f
push eax
mov ecx, esi
call fcn.004043f0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041edb0
mov eax, esi
call fcn.0046dc84
ret 0x10
Function at 0x47300f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00480640
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x473048
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5eb840
push eax
call fcn.00407f60
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x473080
lea eax, [ebp - 0x20c]
push eax
call fcn.00458c2f
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00480640
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x4730bf
mov eax, esi
jmp 0x4730cc
lea eax, [ebp - 0x414]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00402ad0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00480640
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x47311e
mov eax, esi
jmp 0x47312b
lea eax, [ebp - 0x61c]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00402ad0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00480640
lea eax, [ebp - 0xa44]
push 0x5e6b80
push eax
call fcn.004595a7
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x47316c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5e89cc
push eax
call fcn.00407f60
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.0041edb0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4731ad
lea eax, [ebp - 0x824]
push eax
call fcn.00458c2f
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00480640
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5e9d50
push eax
call fcn.00407f60
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x4731f7
lea eax, [ebp - 0xa2c]
push eax
call fcn.0048ece7
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00402ad0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d81d
mov esp, ebp
pop ebp
ret
Function at 0x4737ca
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5e4770
call fcn.0046dcda
mov ebx, ecx
call fcn.00471d44
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00451f1f
mov esi, str.WanNengWBInfo.ini
push esi
call fcn.0048ece7
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405da0
push str.guanf
push 0x5e7a6c
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00472205
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x473840
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004029b0
push str.guanf
mov ecx, esi
call fcn.004287e0
test eax, eax
jne 0x4738bc
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00480640
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x47386d
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push 0x5e7a6c
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x47389e
xor eax, eax
jmp 0x4738ab
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402ad0
jmp 0x4738c1
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.004287e0
test eax, eax
jne 0x473984
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.004041b0
push str.WanNengWBInfo.ini
mov byte [ebp - 4], 1
call fcn.0048ece7
pop ecx
push eax
push str.WanNengWBInfo.ini
lea ecx, [ebp - 0x230]
call fcn.00405da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5e7a6c
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x473955
xor eax, eax
jmp 0x473962
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402ad0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0041edb0
push edi
mov ecx, esi
call fcn.004287e0
test eax, eax
jne 0x4739c0
push edi
push 0x5e7a6c
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0047236c
push eax
mov ecx, esi
call fcn.004043f0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0041edb0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0041edb0
call fcn.0046dc84
ret
Function at 0x474c0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x474c8a
push ebx
push edi
xor edi, edi
push str.c335b80a32136330ebfa2439bf4cbfcb
mov dword [ebp + 8], edi
call fcn.0048ed60
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x474c47
mov cl, byte [edi + str.c335b80a32136330ebfa2439bf4cbfcb]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x474c31
cmp ebx, 1
jle 0x474c7e
cmp byte [esi], 0x37
jne 0x474c7e
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x474c5c
cmp al, 0x5a
jne 0x474c7e
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.0044bb50
test eax, eax
je 0x474c7e
mov edx, dword [ebp + 8]
test edx, edx
je 0x474c7e
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x474c88
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x475706
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.004521f8
test al, al
je 0x475734
mov ebp, 0x43157735
inc ecx
mov byte [0x59b7d540], al
cmpsd dword [esi], dword es:[edi]
leave
mov esi, 0x76f09aa8
push edx
sbb dword [esi + 0x18a69aaa], ecx
faddp st(2)
call fcn.0045209f
test al, al
je 0x47575b
sbb esp, dword [esi + 0xb]
sbb eax, 0x961faa5a
aas
cmpsd dword [esi], dword es:[edi]
mov edx, 0x1d54b0ea
leave
mov al, 0x28
or al, 0xe0
add byte [edx], 0x2e
and ah, ah
mov dword [ebx + 0x75ff9fca], 0x6a016a08
add bh, bh
adc eax, sym.imp.KERNEL32.dll_CreateMutexW
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x475855
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
call fcn.0045209f
test al, al
je 0x475881
jge 0x475891
or bl, bh
dec esp
pushal
add eax, edi
cmp byte [edx + eax*8 + 0x462b05b0], bh
fmul dword [ebp - 0x2d]
jo 0x4758b3
cdq
mov ah, 0x4c
pop ecx
mov byte [0x697e5e76], al
xor ecx, dword [eax - 0xeb8a01]
jne 0x475897
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00475a11
add esp, 0x10
neg eax
add byte [ebx - 0x2708ef3c], al
sbb eax, eax
inc eax
pop ebx
pop ebp
ret
aas
jp 0x4758bd
ljmp 0xf0ac:0xea1f30c6
mov esi, 0xfdc935e8
inc dword [eax + eax*8 - 0x322e08c]
mov cl, 0xb4
jo 0x475927
movsd dword es:[edi], dword [esi]
arpl word [ebx + 0x52], ax
cmp byte [ebx + 0x4de06297], bl
lea eax, [esi + 0x4f336918]
cmc
fiadd dword [ebp - 0x13]
sub dword [esp + esi*8 + 0x2ae8926c], 0x84fffdc7
sal byte [esi + edx - 0x13], 0x5c
sub dword [0x46194e47], eax
sub eax, dword [edx]
push esi
and eax, 0x98600ed5
adc al, 0x63
jbe 0x47597b
cmp dword [edx + 0x33], ecx
leave
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x475a08
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x475924
inc edx
cmp edx, 2
jg 0x475965
cmp al, 0x7f
ja 0x475965
cmp eax, 0x8ac0b60f
and byte [eax + 0x3c005ef3], 0x7f
movzx eax, al
mov al, byte [eax + 0x5ef3a0]
cmp al, 0x7f
je 0x475965
cmp al, 0x40
jae 0x47593d
test edx, edx
jne 0x475965
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x475917
test ecx, ecx
je 0x475a08
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x47596d
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x475967
push 0xffffffffffffffee
pop eax
jmp 0x475a0a
call fcn.004524aa
test al, al
je 0x47598e
fldenv [esi - 3]
lahf
popal
xchg dword [ecx - 0x6a], esi
mov esp, 0xb4b53f44
jne 0x4759dc
push es
cmp ecx, dword [ebx + ecx*4 + 0x7d8bfc5d]
adc al, 0x83
cld
add byte [ebx], dh
ror byte [ebx + 0x45891055], 0xc
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x475a03
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x5ef3a0]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x4759fa
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x4759e5
or byte [ebx + 0x10e8c1c1], cl
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x4759f2
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x4759fa
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x4759a4
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47589d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004524ef
test al, al
je 0x4758be
jmp 0x8eabd66e
call fcn.004521f8
test al, al
je 0x4758e6
invalid
call fcn.00452015
test al, al
je 0x475905
in eax, dx
pop esp
xor ecx, ecx

Function at 0x475a11
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x475a25
xor eax, eax
jmp 0x475b63
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x475a4e
dec edx
sub edx, 1
jne 0x475a50
add eax, 2
jmp 0x475a50
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x475a63
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x475b62
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x475af9
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5ef360]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5ef360]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5ef360]
mov byte [edi + 2], al
mov al, byte [esi + 0x5ef360]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x475a8e
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x475afc
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x475b55
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x475b11
movzx ecx, byte [eax + 1]
jmp 0x475b13
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5ef360]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5ef360]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x475b4a
and ecx, 0xf
mov al, byte [ecx*4 + 0x5ef360]
mov byte [edi + 2], al
jmp 0x475b4e
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475d2b
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5ef17c
call fcn.0048ece7
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0048f5a5
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00480640
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00480640
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00480640
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x475e29
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00408b70
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00406500
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret 4
Function at 0x478634
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5e4ef4
call fcn.0046dca6
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00464345
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0046440b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x478674
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4786d4
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4786af
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4786d4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00464358
call fcn.0046dc6f
ret 0xc

Function at 0x478b8e
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5e4f8f
call fcn.0046dcda
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00480640
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x478c85
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x478c0a
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402ad0
and dword [ebp - 4], 0
push 0x5e6ba4
call fcn.0048ece7
pop ecx
push eax
push 0x5e6ba4
lea ecx, [ebp - 0x230]
call fcn.00405da0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004787f1
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x478c76
call fcn.0041edb0
mov eax, edi
jmp 0x478d37
or dword [ebp - 4], 0xffffffff
call fcn.0041edb0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x478d35
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x478ccc
lea eax, [ebp - 0x218]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402ad0
mov esi, 0x5e6ba4
mov dword [ebp - 4], 1
push esi
call fcn.0048ece7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00405da0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004787f1
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.0041edb0
test esi, esi
je 0x478d35
mov eax, esi
jmp 0x478d37
xor eax, eax
call fcn.0046dc84
ret 4
Function at 0x478d3f
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x478d67
xor eax, eax
jmp 0x478e9d
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x478d60
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00480640
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x478e8b
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x478e65
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00480640
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push 0x5e88a4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478e59
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004809f6
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x478e93
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x478dd0
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d81d
mov esp, ebp
pop ebp
ret 4