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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
test edx, edx
je 0x47237e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47237e
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jb 0x47237e
cmp dword [esi + 0x218], 0
je 0x47237e
cmp dword [esi + 0x21c], 0
je 0x47237e
test ecx, ecx
jle 0x472372
sub edx, eax
push ebx
mov dword [ebp + 8], edx
push edi
nop word [eax + eax]
mov ebx, dword [esi + 0x21c]
mov edx, ebx
mov ecx, dword [esi + 0x210]
mov edi, dword [esi + 0x218]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edx
test ecx, ecx
jle 0x472303
nop dword [eax + eax]
mov ecx, esi
call fcn.00472080
mov byte [edi], al
lea edi, [edi + 1]
mov ecx, esi
call fcn.00472080
mov byte [ebx], al
lea ebx, [ebx + 1]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x210]
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
jl 0x4722c0
mov ebx, dword [esi + 0x21c]
mov edx, ebx
mov edi, dword [esi + 0x218]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
dec ecx
mov eax, dword [ebp + 0xc]
mov al, byte [ebx + eax]
mov ebx, dword [esi + 0x214]
add edx, ebx
test ecx, ecx
jle 0x472347
mov ecx, dword [ebp - 0x10]
sub ecx, ebx
sub ecx, dword [ebp - 8]
dec ecx
add ecx, edx
sub ebx, edx
lea esi, [ebx + edi]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
sub al, byte [edx]
lea edx, [edx - 1]
xor al, byte [ebx + edx + 1]
dec ecx
test ecx, ecx
jg 0x472332
mov ecx, dword [ebp - 4]
mov edx, edi
jmp 0x47234d
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
sub al, byte [ecx]
xor al, byte [esi + 0x221]
mov ecx, dword [ebp + 0xc]
xor al, byte [edx]
mov byte [ecx], al
inc ecx
xor byte [esi + 0x221], al
sub dword [ebp + 0x10], 1
mov dword [ebp + 0xc], ecx
jne 0x472290
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x472390
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x61094c]
xor eax, esp
mov dword [esp + 0xac], eax
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x47253c
cmp edx, 1
jb 0x47253c
test edi, edi
je 0x47253c
push edx
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.00472560
mov edx, dword [esp + 0x14]
mov ecx, 0x78
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], eax
mov eax, 0x38
shr edx, 3
and edx, 0x3f
sub eax, edx
sub ecx, edx
cmp edx, 0x38
cmovae eax, ecx
push eax
lea eax, [esp + 0x18]
push 0x613078
push eax
call fcn.00472560
add esp, 0x18
lea eax, [esp + 0x22]
xor esi, esi
nop dword [eax]
movzx edx, byte [eax + 1]
lea eax, [eax + 4]
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 6]
shl edx, 8
or edx, ecx
mov dword [esp + esi*4 + 0x70], edx
inc esi
cmp esi, 0xe
jb 0x472450
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00472620
movzx eax, byte [esp + 0x18]
add esp, 8
mov byte [esp + 0x60], al
movzx eax, byte [esp + 0x11]
mov byte [esp + 0x61], al
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x62], al
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x63], al
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x64], al
movzx eax, byte [esp + 0x15]
mov byte [esp + 0x65], al
movzx eax, byte [esp + 0x16]
mov byte [esp + 0x66], al
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x67], al
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x68], al
movzx eax, byte [esp + 0x19]
mov byte [esp + 0x69], al
movzx eax, byte [esp + 0x1a]
mov byte [esp + 0x6a], al
movzx eax, byte [esp + 0x1b]
mov byte [esp + 0x6b], al
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x6c], al
movzx eax, byte [esp + 0x1d]
mov byte [esp + 0x6d], al
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x6e], al
movzx eax, byte [esp + 0x1f]
mov byte [esp + 0x6f], al
xor eax, eax
movups xmm0, xmmword [esp + 0x60]
movups xmmword [edi], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00553cca
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00553cca
mov esp, ebp
pop ebp
ret
Function at 0x473900
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588562
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x61094c]
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 - 0x248]
push eax
mov dword [ebp - 0x2ac], esi
call fcn.00473580
mov dword [ebp - 4], 0
cmp dword [ebp - 0x238], 0
jne 0x473963
push 0x14
push str.McAfee_Security_Scan
lea ecx, [ebp - 0x248]
call fcn.00425790
push str.E:BTd30760c8_f36a_4525_bc41_ffb9fa48b740Freetools_srcincludeSSConfig.h
push str.McSSConfig::getRuntimeConfigPath
push 0x22f
push 1
lea ecx, [ebp - 0x2ac]
call fcn.004226f0
mov byte [ebp - 4], 1
push str.McSSConfig::getRuntimeConfigPath___AppDataDir_
push dword [eax]
call fcn.00427050
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push ecx
push eax
call fcn.00427050
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2ac]
call fcn.00424170
mov eax, dword [ebp - 0x2ac]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x473a42
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473a20
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00425790
movups xmm0, xmmword [ebp - 0x230]
xor eax, eax
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [ebp - 0x268], xmm0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
call fcn.00425730
push 0x5bd2c8
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00434360
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
push ecx
mov ecx, eax
call fcn.004258a0
mov dword [ebp - 0x260], 0
xor ecx, ecx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x5bd2c8
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00434360
push str.ftstate.ini
push eax
push esi
mov byte [ebp - 4], 7
call fcn.00434360
add esp, 0x18
lea ecx, [ebp - 0x290]
call fcn.00425730
lea ecx, [ebp - 0x260]
call fcn.00425730
lea ecx, [ebp - 0x2a8]
call fcn.00425730
lea ecx, [ebp - 0x278]
call fcn.00425730
lea ecx, [ebp - 0x248]
call fcn.00425730
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.00553cca
mov esp, ebp
pop ebp
ret 4
Function at 0x474590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588725
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61094c]
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 + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], vtable.McSSConfig.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00473900
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x474603
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00425790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00425730
push 0x800
call fcn.00554193
add esp, 4
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x44]
push eax
call fcn.00477c40
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push 0x800
push esi
push 0x5bb3b8
push eax
push str.DataAnalytics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4746e0
cmp eax, 0x7fe
jae 0x4746e0
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov edx, 7
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], dl
test esi, esi
je 0x4746b6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474697
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00425790
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmp edi, eax
je 0x4746d1
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00425790
lea ecx, [ebp - 0x28]
call fcn.00425730
mov ebx, 1
jmp 0x4746e2
xor ebx, ebx
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x47470f
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x47470f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x47470f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x40]
call fcn.00425730
lea ecx, [ebp + 8]
call fcn.00425730
mov eax, ebx
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.00553cca
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x474770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58879d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x61094c]
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 + 0x38]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], vtable.McSSConfig.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.00473900
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4747e3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00425790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00425730
push 0x800
call fcn.00554193
add esp, 4
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x44]
push eax
call fcn.00477c40
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp - 0x40]
lea eax, [ebp + 8]
cmp dword [ebp + 0x34], 8
push edx
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push 0x800
cmovae eax, dword [ebp + 8]
push esi
push 0x5bb3b8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4748c9
cmp eax, 0x7fe
jae 0x4748c9
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov edx, 7
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
test esi, esi
je 0x47489f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474880
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.00425790
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
cmp edi, eax
je 0x4748ba
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00425790
lea ecx, [ebp - 0x28]
call fcn.00425730
mov ebx, 1
jmp 0x4748cb
xor ebx, ebx
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4748f8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4748f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4748f8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x40]
call fcn.00425730
lea ecx, [ebp + 8]
call fcn.00425730
lea ecx, [ebp + 0x20]
call fcn.00425730
mov eax, ebx
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.00553cca
mov esp, ebp
pop ebp
ret 0x34
Function at 0x474b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5888dd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], vtable.McSSConfig.0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.00473ba0
push 0x5bd2c8
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00434360
push str.ftconfig.ini
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.00434360
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.00425730
lea ecx, [ebp - 0x70]
call fcn.00425730
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00425790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00425730
push 0x800
call fcn.00554193
add esp, 4
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x78]
push dword [ebp - 0x74]
push eax
call fcn.00477c40
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov edi, dword [ebp - 0x7c]
cmovae eax, dword [ebp - 0x40]
push eax
push 0x800
push edi
push 0x5bb3b8
push str.TrackingID
push str.DataAnalytics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x474ca4
cmp eax, 0x7fe
jae 0x474ca4
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov edx, 7
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
test edi, edi
je 0x474c7f
mov eax, edi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474c60
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edi
call fcn.00425790
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
cmp esi, eax
je 0x474c9a
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00425790
lea ecx, [ebp - 0x28]
call fcn.00425730
jmp 0x474cca
push 0
push 0
mov ecx, esi
call fcn.0044c0d0
cmp dword [esi + 0x10], 0
mov ecx, esi
push 0xd
push str.UA_49812791_4
jne 0x474cc5
call fcn.00425790
jmp 0x474cca
call fcn.004258a0
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x474cf7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x474cf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x474cf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x40]
call fcn.00425730
mov eax, 1
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.00553cca
mov esp, ebp
pop ebp
ret 4
Function at 0x474d30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588962
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x61094c]
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 - method.McSSConfig.virtual_0], vtable.McSSConfig.0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.00473900
xor ecx, ecx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], cx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x474db4
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00425790
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00425730
push 0x800
call fcn.00554193
add esp, 4
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x254]
push dword [ebp - 0x250]
push eax
call fcn.00477c40
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
mov esi, dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x248]
push eax
push 0x800
push esi
push 0x5bb3b8
push str.RequestedLanguage
push str.SecurityScan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x474ed3
cmp eax, 0x7fe
jae 0x474ed3
xor ecx, ecx
mov dword [ebp - 0x230], 0
mov edx, 7
mov dword [ebp - 0x220], ecx
xor eax, eax
mov dword [ebp - 0x21c], edx
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 6
test esi, esi
je 0x474e9d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474e75
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00425790
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x474ebe
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00425790
lea ecx, [ebp - 0x230]
call fcn.00425730
mov ebx, 1
jmp 0x474f57
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
xor ecx, ecx
mov dword [ebp - 0x24c], eax
cmp cx, ax
je 0x474f55
push 0x484dd0
push 0x12
push 0x79
lea eax, [ebp - 0x24c]
push 0x611420
push eax
call fcn.0056a7d2
add esp, 0x14
test eax, eax
je 0x474f55
add eax, 2
push eax
lea eax, [ebp - 0x218]
push 0x82
push eax
call fcn.0056030b
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474f30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00425790
mov ebx, 1
jmp 0x474f57
xor ebx, ebx
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x474f87
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x474f87
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x474f87
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x248]
call fcn.00425730
mov eax, ebx
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.00553cca
mov esp, ebp
pop ebp
ret 4
Function at 0x477900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5833a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61094c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00553ee1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053ee9a
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f4d40
push fcn.00556990
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61094c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x478cc5
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
test edx, edx
je 0x478ce6
mov dword [edx], ecx
cmp ecx, 1
je 0x478cf4
cmp ecx, 7
jne 0x478e3c
test edi, edi
je 0x478e3c
mov esi, dword [edi]
test esi, esi
je 0x478e3c
test eax, eax
je 0x478d15
cmp eax, 0xea
jne 0x478e3c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [edi], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478d30
push eax
push 0
push ecx
call fcn.00556180
add esp, 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
cmp esi, ecx
sbb eax, eax
and eax, ecx
je 0x478da3
cmp eax, 0x400
ja 0x478d79
call fcn.005545a0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x30], esi
test esi, esi
je 0x478da5
mov dword [esi], 0xcccc
add esi, 8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ddc
push eax
call fcn.0056027d
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x478da5
mov dword [esi], 0xdddd
add esi, 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ddc
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ddc
test esi, esi
jne 0x478de5
lea eax, [esi + 0xe]
jmp 0x478e3c
push dword [ebp - 0x20]
push 0
push esi
call fcn.00556180
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x478e23
push edi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.00479390
mov edi, eax
jmp 0x478e26
mov edi, dword [ebp - 0x28]
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x478e3a
push esi
call fcn.0055e7dd
add esp, 4
mov eax, edi
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00553cca
mov esp, ebp
pop ebp
ret 0x10