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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jb 0x4141fd
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x414219
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x414208
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x41424f
cmp dword [ecx], edi
jne 0x414247
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x414257
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x414257
cmp dword [ecx], edi
jne 0x41425a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.004143a0
push edi
call fcn.00473040
mov eax, dword [ebp - 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
mov dword [eax], esi
pop esi
pop ebx
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret 8

Function at 0x4183e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522f16
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x575464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e0fd0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004de882
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
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
Function at 0x4197d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5229c0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x575464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea edx, [ebx + 0x1c]
mov dword [ebx], vtable.hudun::sensors::SensorsTrackerImpl.0
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], 0
mov byte [ebx + 4], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ebx + 0x48], 0xf
mov dword [ebx + 0x44], 0
mov byte [ebx + 0x34], 0
mov dword [ebx + 0x60], 0xf
mov dword [ebx + 0x5c], 0
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x78], 0xf
mov dword [ebx + 0x74], 0
mov byte [ebx + 0x64], 0
mov dword [ebx + 0x90], 0xf
mov dword [ebx + 0x8c], 0
mov byte [ebx + 0x7c], 0
call fcn.00419510
mov ecx, dword [ebp + 8]
lea edx, [ebx + 0x4c]
lea ecx, [ecx + 0x30]
call fcn.00419510
mov ecx, dword [ebp + 8]
lea edx, [ebx + 0x34]
lea ecx, [ecx + 0x18]
call fcn.00419510
mov edi, dword [ebp + 8]
lea esi, [ebx + 4]
mov dword [ebx + 0x94], 0
lea eax, [edi + 0x7c]
cmp esi, eax
je 0x4198b8
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00405f90
push 0
push 0x55ebac
lea ecx, [ebx + 0x64]
call fcn.004063d0
push 0
push 0x55ebac
lea ecx, [ebx + 0x7c]
call fcn.004063d0
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x7c]
mov edx, esi
mov dword [ebx + 0x9c], eax
call fcn.00419510
push 0x330
call fcn.004e0fd0
add esp, 4
mov ecx, eax
call fcn.00419970
mov esi, eax
push edi
lea ecx, [esi + 0x100]
call fcn.00419b50
push ecx
lea edx, [edi + 0x60]
mov ecx, esi
call fcn.00419730
add esp, 4
mov dword [ebx + 0xa0], esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422b10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525260
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x57ba78
call fcn.004dfa2e
add esp, 4
test eax, eax
je 0x422b58
push eax
call fcn.004dfe39
add esp, 4
mov al, byte [0x57a9c4]
push 0x57ba78
mov byte [ebp - 0x19], al
call fcn.004dfa8b
add esp, 4
test eax, eax
je 0x422b7a
push eax
call fcn.004dfe39
add esp, 4
cmp byte [ebp - 0x19], 0
je 0x422ba5
push ebx
push esi
call fcn.004229f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret
push str._Sensors__Sending_messages_asynchronously
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], fcn.004229f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x24], esi
call fcn.00426130
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00426170
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x422beb
push 0xc
push eax
call fcn.004e0fc2
add esp, 8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00419210
cmp dword [ebp - 0x14], 0
je 0x422b8a
call fcn.00509297
int3

Function at 0x423620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x21c], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.0049e2a0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049e2a0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0
push eax
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.00423560
add esp, 0x1c
test al, al
je 0x4236b6
mov eax, dword [ebp - 0x218]
cmp eax, 6
ja 0x4236ab
jne 0x4236b6
cmp dword [ebp - 0x214], 1
jb 0x4236b6
lea eax, [ebp - 0x210]
push eax
push 0x1c
jmp 0x4236bf
lea eax, [ebp - 0x210]
push eax
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4236fc
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4236fc
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x42371a
xor ecx, ecx
jmp 0x42372c
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423723
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004063d0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret
Function at 0x423960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5253c6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc4], esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xc8], 0
call fcn.00423750
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
push 0
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.00509837
add esp, 8
cmp eax, 0xffffffff
jne 0x423a09
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x55ebac
mov byte [esi], 0
call fcn.004063d0
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x423b1a
inc ecx
push ecx
jmp 0x423b09
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
cmovae eax, dword [ebp - 0xa8]
push eax
push 0x80
lea eax, [ebp - 0x90]
push eax
push 0x55ebac
push str.HDSensorsAnalyticsIni
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x90], 0
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
jne 0x423a7d
xor ecx, ecx
jmp 0x423a8f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423a86
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004063d0
push ecx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.004195b0
add esp, 4
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0040da10
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x423ae1
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.004062b0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
cmp eax, 0x10
jb 0x423b1a
inc eax
push eax
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
call fcn.004062b0
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.004e0f8e
mov esp, ebp
pop ebp
ret
Function at 0x423eb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52545e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xorps xmm0, xmm0
push 0x10
push eax
push 0x59
push 0x400
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
call esi
push 0x10
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
push 0x5a
push 0x400
call esi
test eax, eax
je 0x42401a
test ebx, ebx
je 0x42401a
cmp byte [ebp - 0x24], 0
jne 0x423f2f
xor ecx, ecx
jmp 0x423f3e
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423f35
sub ecx, edx
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.004063d0
cmp byte [ebp - 0x34], 0
jne 0x423f57
xor ecx, ecx
jmp 0x423f69
lea ecx, [ebp - 0x34]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423f60
sub ecx, edx
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push ecx
push eax
mov ecx, ebx
call fcn.004063d0
push 0x57b0b8
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.00425e40
push ebx
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00425e10
add esp, 8
mov esi, eax
cmp edi, esi
je 0x423fda
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x423fb5
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004062b0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x423fcd
mov eax, dword [edi]
jmp 0x423fcf
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00404ea0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x423fef
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004062b0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x424016
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.004062b0
mov al, 1
jmp 0x42401c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret
Function at 0x424190
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5254e9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x575464]
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, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x4c], esi
mov dword [esi + 0x10], 0
jb 0x4241f6
mov eax, dword [esi]
jmp 0x4241f8
mov eax, esi
push 0xc
push str.Mozilla_5.0_
mov byte [eax], 0
call fcn.004063d0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00423b40
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040d8e0
push 1
push 0x560bc0
mov ecx, esi
call fcn.0040d7b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040d8e0
push 5
push str.__Win
mov ecx, esi
call fcn.0040d7b0
call fcn.004234d0
test eax, eax
mov edx, str.64__
mov ecx, str.32__
cmove edx, ecx
cmp byte [edx], 0
jne 0x42429f
xor ecx, ecx
jmp 0x4242ad
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4242a4
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0040d7b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4242cb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004062b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4242f2
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004062b0
mov eax, esi
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.004e0f8e
mov esp, ebp
pop ebp
ret
Function at 0x424fb0
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0xac], 0x10
push esi
lea esi, [ebx + 0x98]
jb 0x424fd8
mov esi, dword [esi]
push 0
push esi
call fcn.00509837
add esp, 8
cmp eax, 0xffffffff
je 0x425213
push edi
lea ecx, [ebx + 0x2b8]
call fcn.0042d600
test al, al
jne 0x425212
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x55ebac
push str.AssistIP
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x84], 0
jne 0x425045
xor ecx, ecx
jmp 0x425059
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425050
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2b8]
call fcn.004063d0
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0049e2a0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x84]
add esp, 0xc
push esi
push 0x80
push eax
push 0x55ebac
push str.country
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x4250b3
xor ecx, ecx
jmp 0x4250c9
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4250c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2d0]
call fcn.004063d0
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x55ebac
push str.countryCode
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x42511d
xor ecx, ecx
jmp 0x42512f
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425126
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x2e8]
call fcn.004063d0
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x55ebac
push str.province
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x425183
xor ecx, ecx
jmp 0x425199
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425190
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x300]
call fcn.004063d0
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x84]
push esi
push 0x80
push eax
push 0x55ebac
push str.City
push str.Local
call edi
cmp byte [ebp - 0x84], 0
jne 0x4251ed
xor ecx, ecx
jmp 0x4251ff
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4251f6
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x318]
call fcn.004063d0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret
Function at 0x425230
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xac], 0x10
lea esi, [edi + 0x98]
jb 0x42524c
mov esi, dword [esi]
cmp dword [edi + 0x30], 0x10
lea eax, [edi + 0x1c]
jb 0x425257
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
push eax
push str.DistinctId
push str.Base
call ebx
cmp dword [edi + 0x48], 0x10
lea eax, [edi + 0x34]
jb 0x425276
mov eax, dword [eax]
push esi
push eax
push str.PrimaryDistinctId
push str.Base
call ebx
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x42528f
mov eax, dword [eax]
push esi
push eax
push str.UserId
push str.Base
call ebx
mov edx, dword [edi + 0x4c]
lea ecx, [ebp - 0x18]
call fcn.004122e0
cmp dword [eax + 0x14], 0x10
jb 0x4252b0
mov eax, dword [eax]
push esi
push eax
push str.UserVipLevel
push str.Base
call ebx
mov eax, dword [ebp - 4]
cmp eax, 0x10
jb 0x4252d3
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.004062b0
cmp dword [edi + 0xc4], 0x10
lea eax, [edi + 0xb0]
jb 0x4252e4
mov eax, dword [eax]
push esi
push eax
push 0x560c64
push str.Base
call ebx
cmp byte [edi], 0
mov ecx, 0x560c60
push esi
mov eax, 0x560c5c
cmove eax, ecx
push eax
push str.isLogined
push str.Base
call ebx
cmp byte [edi + 1], 0
jne 0x4253c5
lea ecx, [edi + 0x2b8]
call fcn.0042d600
test al, al
je 0x4253c5
cmp dword [edi + 0x2cc], 0x10
lea eax, [edi + 0x2b8]
jb 0x42533e
mov eax, dword [eax]
push esi
push eax
push str.AssistIP
push str.Local
call ebx
cmp dword [edi + 0x2e4], 0x10
lea eax, [edi + 0x2d0]
jb 0x42535d
mov eax, dword [eax]
push esi
push eax
push str.country
push str.Local
call ebx
cmp dword [edi + 0x2fc], 0x10
lea eax, [edi + 0x2e8]
jb 0x42537c
mov eax, dword [eax]
push esi
push eax
push str.countryCode
push str.Local
call ebx
cmp dword [edi + 0x314], 0x10
lea eax, [edi + 0x300]
jb 0x42539b
mov eax, dword [eax]
push esi
push eax
push str.province
push str.Local
call ebx
add edi, 0x318
cmp dword [edi + 0x14], 0x10
jb 0x4253b7
mov edi, dword [edi]
push esi
push edi
push str.City
push str.Local
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4255b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x57be5c], 0x1571
mov edx, 0x1571
mov eax, 1
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x57be5c], edx
inc eax
cmp eax, 0x270
jl 0x4255c4
mov dword [0x57be58], 0x270
ret 8

Function at 0x4265e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x4265f0
pop esi
ret
Function at 0x426630
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x426640
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x426682
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x42be80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526018
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x575464]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x42bfae
cmp byte [ebx + 0x3d], 0
je 0x42bfae
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x42bed9
xor al, al
jmp 0x42bfb0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004173e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42bf3f
sub eax, 1
je 0x42bf43
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x42bf96
xor bl, bl
jmp 0x42bf98
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x42bf78
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0050a2cf
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x42bf3b
cmp byte [ebx + 0x3d], 0
je 0x42bf96
test esi, esi
jne 0x42bf01
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00418290
jmp 0x42befe
mov bl, 1
cmp ecx, 0x10
jb 0x42bfaa
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004062b0
mov al, bl
jmp 0x42bfb0
mov al, 1
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.004e0f8e
mov esp, ebp
pop ebp
ret

Function at 0x42d960
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x14], 0
mov ecx, edx
mov dword [ebp - 0xb], 0
xorps xmm0, xmm0
mov word [ebp - 7], 0
movq qword [ebp - 0x13], xmm0
mov byte [ebp - 5], 0
mov dword [ebp - 0x6c], 0
lea esi, [ecx + 1]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d9c0
sub ecx, esi
push ecx
lea ecx, [ebp - 0x70]
call fcn.0043a150
add esp, 4
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.0043a220
xor esi, esi
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push edi
call fcn.00418f80
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x42d9e2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret