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

Disassembly:
mov eax, 0x90
call fcn.0055d6e0
mov eax, dword [0x6f36d4]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov dword [esp + 0xc], ebp
push edi
mov edi, dword [esp + 0xa4]
mov eax, dword [esi]
test ebx, ebx
je 0x477180
cmp ebx, eax
je 0x477177
test edx, edx
je 0x4772d2
test edi, edi
js 0x4772d2
mov ecx, 1
mov dword [esi], ebx
jmp 0x47718a
test eax, eax
je 0x4772d2
mov ebx, eax
test edx, edx
je 0x477236
mov eax, dword [ebx + 0x40]
cmp eax, 0x80
jg 0x4772ed
cmp eax, edi
jge 0x4771f7
push dword [esp + 0x10]
lea ebp, [esi + 4]
mov edx, ebx
mov ecx, ebp
call fcn.00440ee0
add esp, 4
test eax, eax
je 0x4772d2
mov eax, dword [ebp + 0x14]
push edi
push dword [esp + 0x18]
push ebp
call eax
add esp, 0xc
test eax, eax
je 0x4772d2
lea eax, [esi + 0x4c]
mov ecx, ebp
push eax
lea edx, [esi + 0x50]
call fcn.004410f0
add esp, 4
test eax, eax
je 0x4772d2
mov edi, dword [esi + 0x4c]
mov ebp, dword [esp + 0x10]
jmp 0x477214
cmp edi, 0x80
ja 0x4772d2
push edi
push edx
lea eax, [esi + 0x50]
push eax
call fcn.005d9270
add esp, 0xc
mov dword [esi + 0x4c], edi
cmp edi, 0x80
je 0x47723e
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x50]
add eax, edi
push 0
push eax
call fcn.005d9d70
add esp, 0xc
jmp 0x47723e
test ecx, ecx
je 0x4772bc
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x477240
lea edi, [esi + 0x1c]
mov edx, ebx
push ebp
mov ecx, edi
call fcn.00440ee0
add esp, 4
test eax, eax
je 0x4772d2
push dword [ebx + 0x40]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x30]
push edi
call eax
add esp, 0xc
test eax, eax
je 0x4772d2
xor ecx, ecx
mov edi, edi
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x477280
lea edi, [esi + 0x34]
mov edx, ebx
push ebp
mov ecx, edi
call fcn.00440ee0
add esp, 4
test eax, eax
je 0x4772d2
push dword [ebx + 0x40]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x14]
push edi
call eax
add esp, 0xc
test eax, eax
je 0x4772d2
lea edx, [esi + 0x1c]
lea ecx, [esi + 4]
call fcn.00441180
test eax, eax
je 0x4772d2
mov eax, 1
jmp 0x4772d4
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055d6c3
add esp, 0x90
ret
push str.j____int_sizeof_ctx__key_
mov edx, 0x74
call fcn.00410ad0
int3
Function at 0x47f580
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64469b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x21c], edi
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x47f6d7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005d9d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f610
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482800
push esi
lea ecx, [ebp - 0x21c]
call fcn.0047d990
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x21c]
je 0x47f68d
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47f68d
push 0x6730dc
mov ecx, edi
call fcn.0047d470
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47f6ba
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x47f6ba
add esi, 0xfffffff0
push esi
call fcn.0047ddf0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47f6ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x47fd00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64479b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x220], esi
je 0x47fd6b
mov edi, dword [ebx]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47fd5a
push edi
call fcn.00524810
add esp, 4
test eax, eax
jne 0x47fd6b
push 0x6730dc
mov ecx, esi
call fcn.0047d470
jmp 0x47fdee
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005d9d70
push 1
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push dword [ebx]
call fcn.0047fe20
add esp, 0x20
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x47fe0c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0047dcb0
test al, al
jne 0x47fdee
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47fdd0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00482800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x47fe20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6447db
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0055d6e0
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.005d9d70
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x47ff9d
cmp eax, 0x1fff
ja 0x47ff9d
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47ff9d
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x6730a4
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47ff9d
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x47fef3
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x47fef9
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x47ff05
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x47ff11
mov dword [eax], edi
test esi, esi
je 0x47ff96
lea ecx, [ebp - 0x2014]
call fcn.0047d510
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push 0x673180
push eax
mov dword [ebp - 4], 0
call fcn.0047f080
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x47ff7e
movzx eax, word [edx + esi]
test ax, ax
je 0x47ff7e
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x47ff60
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.0047d630
mov eax, 1
jmp 0x47ff9f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
Function at 0x4800f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644856
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005d9d70
add esp, 0xc
lea ecx, [ebp - 0x224]
push 0x20019
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00481fd0
mov esi, dword [ebp - 0x224]
test eax, eax
jne 0x48026b
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.svcVersion
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4801e5
mov eax, dword [ebp - 0x218]
cmp eax, 1
je 0x4801ca
cmp eax, 2
jne 0x4801e5
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x480245
test al, 1
jne 0x4801e5
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x48024e
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x214], 0x200
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.Version
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48024e
mov eax, dword [ebp - 0x218]
cmp eax, 1
je 0x48023c
cmp eax, 2
jne 0x48024e
cmp dword [ebp - 0x214], 0
jne 0x48024e
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x480261
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x4802e6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0047dcb0
test al, al
jne 0x4802be
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4802a0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00482800
test esi, esi
je 0x4802c9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x480cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], edi
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x480f20
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00529cd0
add esp, 8
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0047d7e0
mov edx, dword [ebp - 0x220]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480d90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
je 0x480dcf
lea ebx, [eax - 0x10]
push ebx
call fcn.0047ddf0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [edi], eax
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x480f02
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x480f02
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.00529cd0
add esp, 8
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.0047d7e0
mov edx, dword [ebp - 0x220]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480e11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
jne 0x480e5f
lea eax, [ebp - 0x220]
push 2
push eax
call fcn.00529cd0
add esp, 8
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.0047d7e0
mov edx, dword [ebp - 0x220]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480e5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 0xc], 0
jne 0x480ed2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d9d70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x673114
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480eb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482800
mov ebx, dword [ebp - 0x21c]
add ebx, 0xfffffff0
push ebx
call fcn.0047ddf0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [edi], eax
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x480f02
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x4812f0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644b51
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.005d9d70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x48139c
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x48148e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x6730dc
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0047dcb0
test al, al
jne 0x481471
push 0
push 0x6730dc
mov ecx, edi
call fcn.00482800
jmp 0x481471
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x481498
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.0047dcb0
test al, al
jne 0x481402
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4813e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482800
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 2
call fcn.0047d990
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp - 0x21c]
je 0x481448
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481448
push 0x6730dc
mov ecx, edi
call fcn.0047d470
add esi, 0xfffffff0
jmp 0x481459
add esi, 0xfffffff0
push esi
call fcn.0047ddf0
add esp, 4
add eax, 0x10
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x481471
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
push 0x80004005
call fcn.0047dc90
int3

Function at 0x481d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481d3c
cmp dword [ebp + 0xc], 0
je 0x481d35
push dword [ebp + 8]
call fcn.00524810
add esp, 4
test eax, eax
je 0x481d3c
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4820e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x414], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x408], ecx
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x482181
test ebx, ebx
je 0x482181
test eax, eax
je 0x482181
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x410], 1
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
push ebx
push dword [ebp - 0x408]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x482181
lea eax, [ebp - 0x404]
jmp 0x48218b
test edi, edi
mov eax, 0x6730dc
cmovne eax, edi
push eax
mov ecx, esi
call fcn.0047d470
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret

Function at 0x482b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644ce0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6f36d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x482c76
mov dword [ebp - 0x14], edi
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x482c89
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0047dcb0
test al, al
jne 0x482c02
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.00482800
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0047d990
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x482c49
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x482c57
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x482c76
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x4839d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x483a29
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x483a29
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x483a1a
cmp esi, edx
jae 0x483a29
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x483a08
cmp esi, edx
jae 0x483a29
cmp word [esi], 0
je 0x483a29
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x484ee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64502b
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.005d9d70
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.00565cd0
xor eax, eax
cmp ax, word [ebp - 0x210]
jne 0x484f52
push str.Get36O_Safe_MIDW_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x484fca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0047dcb0
test al, al
jne 0x484fae
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484f90
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00482800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3
Function at 0x485fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6452db
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
mov dword [ebp - 0x224], esi
movups xmm0, xmmword [str.ludashi]
push 0x1f8
push 0
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push str.VendorID
push str.SoftwareLDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x486084
cmp word [ebp - 0x218], ax
je 0x486084
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0047d470
jmp 0x4860c0
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x4860dc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x6730dc
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0047dcb0
test al, al
jne 0x4860c0
push 0
push 0x6730dc
mov ecx, esi
call fcn.00482800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3

Function at 0x486490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6453bb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x208]
mov dword [ebp - 0x224], esi
movups xmm0, xmmword [str.ludashi]
push 0x1f8
push 0
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push str.SubPID
push str.SoftwareLDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x486544
cmp word [ebp - 0x218], ax
je 0x486544
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0047d470
jmp 0x486580
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x48659c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x6730dc
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0047dcb0
test al, al
jne 0x486580
push 0
push 0x6730dc
mov ecx, esi
call fcn.00482800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
int3