joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472050
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
je 0x472155
cmp dword [ebp + 0xc], 1
jl 0x472155
push esi
push edi
xor eax, eax
nop
mov byte [ebx + eax + 1], al
inc eax
cmp eax, 0x100
jl 0x472070
mov esi, dword [ebp + 8]
lea edi, [ebx + 1]
mov word [ebx + 0x201], 0
mov dword [ebp - 4], 0x100
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [ebx + 0x201]
lea ecx, [ebx + 1]
mov dword [ebx + 0x204], edi
xor edx, edx
movzx eax, byte [eax + esi]
add al, byte [edi]
add byte [ebx + 0x202], al
movzx eax, byte [ebx + 0x202]
add ecx, eax
mov dword [ebx + 0x208], ecx
movzx eax, byte [edi]
mov byte [ebx + 0x20c], al
movzx eax, byte [ecx]
mov byte [edi], al
inc edi
mov ecx, dword [ebx + 0x208]
movzx eax, byte [ebx + 0x20c]
mov byte [ecx], al
movzx eax, byte [ebx + 0x201]
inc eax
div dword [ebp + 0xc]
sub dword [ebp - 4], 1
mov byte [ebx + 0x201], dl
jne 0x4720a0
lea eax, [ebx + 0x101]
lea esi, [ebx + 1]
test eax, eax
je 0x47212e
test esi, esi
je 0x47211e
mov ecx, 0x40
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x47213e
push 0x100
push 0
push eax
call fcn.00556260
add esp, 0xc
call fcn.0055ed05
mov dword [eax], 0x16
call fcn.0055ec07
pop edi
pop esi
mov word [ebx + 0x201], 0
mov al, 1
mov byte [ebx], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472310
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 0x47245e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47245e
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jb 0x47245e
cmp dword [esi + 0x218], 0
je 0x47245e
cmp dword [esi + 0x21c], 0
je 0x47245e
test ecx, ecx
jle 0x472452
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 0x4723e3
nop dword [eax + eax]
mov ecx, esi
call fcn.00472160
mov byte [edi], al
lea edi, [edi + 1]
mov ecx, esi
call fcn.00472160
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 0x4723a0
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 0x472427
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 0x472412
mov ecx, dword [ebp - 4]
mov edx, edi
jmp 0x47242d
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 0x472370
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 0x472470
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 0x47261c
cmp edx, 1
jb 0x47261c
test edi, edi
je 0x47261c
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.00472640
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 0x6130c0
push eax
call fcn.00472640
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 0x472530
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00472700
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.00553daa
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00553daa
mov esp, ebp
pop ebp
ret
Function at 0x4739e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588a22
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.00473660
mov dword [ebp - 4], 0
cmp dword [ebp - 0x238], 0
jne 0x473a43
push 0x14
push str.McAfee_Security_Scan
lea ecx, [ebp - 0x248]
call fcn.00425810
push str.E:BT35d5b808_a97e_445c_95cc_a112af3c9a8dFreetools_srcincludeSSConfig.h
push str.McSSConfig::getRuntimeConfigPath
push 0x22f
push 1
lea ecx, [ebp - 0x2ac]
call fcn.00422770
mov byte [ebp - 4], 1
push str.McSSConfig::getRuntimeConfigPath___AppDataDir_
push dword [eax]
call fcn.004270d0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push ecx
push eax
call fcn.004270d0
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2ac]
call fcn.004241f0
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 0x473b22
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473b00
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00425810
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.004257b0
push 0x5bd3e8
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004343f0
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.00425920
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 0x5bd3e8
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004343f0
push str.ftstate.ini
push eax
push esi
mov byte [ebp - 4], 7
call fcn.004343f0
add esp, 0x18
lea ecx, [ebp - 0x290]
call fcn.004257b0
lea ecx, [ebp - 0x260]
call fcn.004257b0
lea ecx, [ebp - 0x2a8]
call fcn.004257b0
lea ecx, [ebp - 0x278]
call fcn.004257b0
lea ecx, [ebp - 0x248]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 4
Function at 0x474670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588be5
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.004739e0
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 0x4746e3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00425810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004257b0
push 0x800
call fcn.00554273
add esp, 4
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x44]
push eax
call fcn.00477d20
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 0x5bb418
push eax
push str.DataAnalytics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4747c0
cmp eax, 0x7fe
jae 0x4747c0
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 0x474796
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474777
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00425810
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
cmp edi, eax
je 0x4747b1
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00425810
lea ecx, [ebp - 0x28]
call fcn.004257b0
mov ebx, 1
jmp 0x4747c2
xor ebx, ebx
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4747ef
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4747ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4747ef
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x40]
call fcn.004257b0
lea ecx, [ebp + 8]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x474850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588c5d
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.004739e0
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 0x4748c3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00425810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004257b0
push 0x800
call fcn.00554273
add esp, 4
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
push dword [ebp - 0x44]
push eax
call fcn.00477d20
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 0x5bb418
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4749a9
cmp eax, 0x7fe
jae 0x4749a9
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 0x47497f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474960
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.00425810
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
cmp edi, eax
je 0x47499a
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00425810
lea ecx, [ebp - 0x28]
call fcn.004257b0
mov ebx, 1
jmp 0x4749ab
xor ebx, ebx
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4749d8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4749d8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4749d8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x40]
call fcn.004257b0
lea ecx, [ebp + 8]
call fcn.004257b0
lea ecx, [ebp + 0x20]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 0x34
Function at 0x474c00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588d9d
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.00473c80
push 0x5bd3e8
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.004343f0
push str.ftconfig.ini
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.004343f0
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.004257b0
lea ecx, [ebp - 0x70]
call fcn.004257b0
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.00425810
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004257b0
push 0x800
call fcn.00554273
add esp, 4
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x78]
push dword [ebp - 0x74]
push eax
call fcn.00477d20
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 0x5bb418
push str.TrackingID
push str.DataAnalytics
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x474d84
cmp eax, 0x7fe
jae 0x474d84
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 0x474d5f
mov eax, edi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474d40
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edi
call fcn.00425810
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
cmp esi, eax
je 0x474d7a
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00425810
lea ecx, [ebp - 0x28]
call fcn.004257b0
jmp 0x474daa
push 0
push 0
mov ecx, esi
call fcn.0044c160
cmp dword [esi + 0x10], 0
mov ecx, esi
push 0xd
push str.UA_49812791_4
jne 0x474da5
call fcn.00425810
jmp 0x474daa
call fcn.00425920
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x474dd7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x474dd7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x474dd7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x40]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 4
Function at 0x474e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588e22
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.004739e0
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 0x474e94
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00425810
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.004257b0
push 0x800
call fcn.00554273
add esp, 4
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x254]
push dword [ebp - 0x250]
push eax
call fcn.00477d20
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 0x5bb418
push str.RequestedLanguage
push str.SecurityScan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x474fb3
cmp eax, 0x7fe
jae 0x474fb3
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 0x474f7d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474f55
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00425810
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x474f9e
cmp edx, 8
push ecx
cmovae eax, dword [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00425810
lea ecx, [ebp - 0x230]
call fcn.004257b0
mov ebx, 1
jmp 0x475037
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
xor ecx, ecx
mov dword [ebp - 0x24c], eax
cmp cx, ax
je 0x475035
push 0x484eb0
push 0x12
push 0x79
lea eax, [ebp - 0x24c]
push 0x611420
push eax
call fcn.0056aa0f
add esp, 0x14
test eax, eax
je 0x475035
add eax, 2
push eax
lea eax, [ebp - 0x218]
push 0x82
push eax
call fcn.005603eb
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 0x475010
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00425810
mov ebx, 1
jmp 0x475037
xor ebx, ebx
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x475067
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x475067
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lock xadd dword [esi + 8], edi
dec edi
jne 0x475067
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea ecx, [ebp - 0x248]
call fcn.004257b0
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.00553daa
mov esp, ebp
pop ebp
ret 4
Function at 0x4779e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583860
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.00553fc1
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053ef7a
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 0x478d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f5188
push fcn.00556a70
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 0x478da5
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 0x478dc6
mov dword [edx], ecx
cmp ecx, 1
je 0x478dd4
cmp ecx, 7
jne 0x478f1c
test edi, edi
je 0x478f1c
mov esi, dword [edi]
test esi, esi
je 0x478f1c
test eax, eax
je 0x478df5
cmp eax, 0xea
jne 0x478f1c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [edi], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478e10
push eax
push 0
push ecx
call fcn.00556260
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 0x478e83
cmp eax, 0x400
ja 0x478e59
call fcn.00554680
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x30], esi
test esi, esi
je 0x478e85
mov dword [esi], 0xcccc
add esi, 8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ebc
push eax
call fcn.00560371
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x478e85
mov dword [esi], 0xdddd
add esi, 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ebc
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x478ebc
test esi, esi
jne 0x478ec5
lea eax, [esi + 0xe]
jmp 0x478f1c
push dword [ebp - 0x20]
push 0
push esi
call fcn.00556260
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 0x478f03
push edi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.00479470
mov edi, eax
jmp 0x478f06
mov edi, dword [ebp - 0x28]
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x478f1a
push esi
call fcn.0055e8cd
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.00553daa
mov esp, ebp
pop ebp
ret 0x10