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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x1c
mov eax, dword [ecx + 8]
mov dword [esp], eax
call fcn.00421430
lea edi, [eax*8]
or edi, dword [esp + 0x30]
mov ecx, 0xa
mov edx, edi
lea esi, [esi]
lea edi, [edi]
lea ebx, [edx + edx]
sar edx, 9
imul edx, edx, 0x537
xor edx, ebx
sub ecx, 1
jne 0x421630
shl edi, 0xa
or edi, edx
xor edi, 0x5412
mov eax, edi
sar eax, 0xf
test eax, eax
jne 0x4217c2
xor ebx, ebx
lea esi, [esi]
mov ecx, ebx
mov eax, edi
mov dword [esp + 4], ebx
sar eax, cl
mov dword [esp], 8
mov ecx, esi
and eax, 1
add ebx, 1
mov dword [esp + 8], eax
call fcn.00421510
sub esp, 0xc
cmp ebx, 6
jne 0x421660
mov eax, edi
mov ecx, esi
mov dword [esp + 4], 7
sar eax, 6
mov dword [esp], 8
mov ebx, 9
and eax, 1
mov ebp, 0xe
mov dword [esp + 8], eax
call fcn.00421510
mov eax, edi
sub esp, 0xc
mov ecx, esi
sar eax, 7
mov dword [esp + 4], 8
mov dword [esp], 8
and eax, 1
mov dword [esp + 8], eax
call fcn.00421510
mov eax, edi
sub esp, 0xc
mov ecx, esi
sar eax, 8
mov dword [esp + 4], 8
mov dword [esp], 7
and eax, 1
mov dword [esp + 8], eax
call fcn.00421510
sub esp, 0xc
mov ecx, ebx
mov eax, edi
mov dword [esp + 4], 8
sar eax, cl
mov ecx, esi
and eax, 1
mov dword [esp + 8], eax
mov eax, ebp
sub eax, ebx
add ebx, 1
mov dword [esp], eax
call fcn.00421510
sub esp, 0xc
cmp ebx, 0xf
jne 0x421703
xor ebx, ebx
mov ecx, ebx
mov eax, edi
mov dword [esp + 4], 8
sar eax, cl
mov ecx, esi
and eax, 1
mov dword [esp + 8], eax
mov eax, ebx
add ebx, 1
not eax
add eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00421510
sub esp, 0xc
cmp ebx, 8
jne 0x421733
mov ecx, ebx
mov eax, edi
mov dword [esp], 8
sar eax, cl
mov ecx, esi
and eax, 1
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
lea eax, [ebx + eax - 0xf]
add ebx, 1
mov dword [esp + 4], eax
call fcn.00421510
sub esp, 0xc
cmp ebx, 0xf
jne 0x421764
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [esp + 8], 1
mov dword [esp], 8
sub eax, 8
mov dword [esp + 4], eax
call fcn.00421510
sub esp, 0xc
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 8], 0x1a7
mov dword [esp + 4], str...CADConverterqrcodegen.cpp
mov dword [esp], str.bits____15__0
call fcn.004e4f10
jmp 0x42165b
Function at 0x4217f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ecx]
cmp ebx, 6
jle 0x42189e
mov ebp, ebx
mov eax, 0xc
lea esi, [esi]
lea edx, [ebp + ebp]
sar ebp, 0xb
imul ebp, ebp, 0x1f25
xor ebp, edx
sub eax, 1
jne 0x421810
shl ebx, 0xc
mov edi, ecx
or ebx, ebp
mov eax, ebx
mov dword [esp + 0x1c], ebx
sar eax, 0x12
test eax, eax
jne 0x4218b0
xor esi, esi
lea esi, [esi]
mov eax, 0xaaaaaaab
mov ecx, dword [edi + 4]
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov ebx, edx
mov edx, esi
mov dword [esp + 4], ebx
sub edx, eax
mov eax, dword [esp + 0x1c]
lea ebp, [ecx + edx - 0xb]
mov ecx, esi
add esi, 1
sar eax, cl
mov dword [esp], ebp
mov ecx, edi
and eax, 1
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
call fcn.00421510
sub esp, 0xc
mov ecx, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00421510
sub esp, 0xc
cmp esi, 0x12
jne 0x421840
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x1c4
mov dword [esp + 4], str...CADConverterqrcodegen.cpp
mov dword [esp], str.bits____18__0
call fcn.004e4f10
jmp 0x421838

Function at 0x4219a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, 0xfffffffe
sub esp, 0x2c
mov dword [esp + 0x18], ecx
mov eax, esi
mov edi, dword [esp + 0x44]
mov ebp, 0xfffffffe
sar eax, 0x1f
mov dword [esp + 0x1c], esi
mov ebx, eax
xor ebx, esi
add edi, esi
mov esi, ebp
mov ebp, dword [esp + 0x40]
sub ebx, eax
mov ecx, esi
mov dword [esp + 4], edi
sar ecx, 0x1f
mov eax, ecx
xor eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x18]
cmp eax, ebx
cmovl eax, ebx
cmp eax, 1
setne al
movzx eax, al
mov dword [esp + 8], eax
lea eax, [esi + ebp]
add esi, 1
mov dword [esp], eax
call fcn.00421510
sub esp, 0xc
cmp esi, 3
jne 0x4219d0
mov esi, dword [esp + 0x1c]
add esi, 1
cmp esi, 3
jne 0x4219b0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x45cfe0
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
lea edi, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x1c]
mov dword [esp + 4], eax
lea eax, [ecx + 0x18]
mov dword [esp], eax
call dword [method.QProcess.startDetached_QString_const__QStringList_const__QString_const__long_long_]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x45d0a0
cmp edx, 0xffffffff
je 0x45d040
lock sub dword [eax], 1
mov eax, dword [esp + 0x14]
je 0x45d0a0
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 1
mov dword [esp], 0x1f0fff
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x45d08d
mov dword [esp + 4], 0xea60
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
mov dword [esp + 0x14], 0
je 0x45d0d4
cmp eax, 0x102
je 0x45d0c0
mov dword [ebx + 0x28], 0xffffffff
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x45d040
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
sub esp, 8
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x28], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
add esp, 0x20
pop ebx
pop esi
pop edi
ret
Function at 0x46c340
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x48dd70
Capabilities:
Terminate process

Disassembly:
test eax, eax
jg 0x48dd80
xor eax, eax
ret
sub esp, 0x1c
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0xc
test eax, eax
jne 0x48ddb0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
sub esp, 8
add esp, 0x1c
ret

Function at 0x48de60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
xor ebx, ebx
sub esp, 0x2c
mov eax, dword [0xcbe300]
mov edi, dword [0xcbe2e8]
mov dword [esp + 0x1c], eax
mov eax, edi
jmp 0x48debe
mov edx, dword [esi + 4]
mov ebp, dword [0xcbe300]
mov ecx, dword [0xcbe2fc]
mov eax, edx
sub eax, ebx
cmp eax, edi
cmova eax, edi
cmp ebx, edx
ja 0x48dee7
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
call fcn.004e4c10
mov eax, dword [0xcbe2e8]
sub esp, 0x10
add ebx, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [0xcbe2e4]
mov ecx, esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e4dd8
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48de80
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xc83360
mov dword [esp], 0xc83378
call fcn.004e4a88
nop
lea esi, [esi]
lea edi, [edi]
Function at 0x4905a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
sub esp, 0x48
mov dword [esp + 0x18], 0
mov dword [esp], 0xc83558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], 0xc83561
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x4905f0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
sub esp, 8
test eax, eax
je 0x490600
mov eax, dword [esp + 0x18]
add esp, 0x48
pop ebx
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
sub esp, 4
movzx eax, word [esp + 0x1c]
cmp ax, 6
je 0x490621
cmp ax, 9
jne 0x4905f0
mov eax, 1
jmp 0x4905f4
Function at 0x490640
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov edx, eax
push edi
mov ecx, edx
push esi
push ebx
sub esp, 0x13c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc83570
mov eax, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x18], edx
call fcn.004e4c10
mov ebx, dword [0xcbe318]
xor eax, eax
mov esi, dword [0xcbe31c]
sub esp, 0x10
cmp eax, ebx
lea ebp, [esp + 0x30]
mov edx, dword [esp + 0x18]
sbb eax, esi
jge 0x490722
xor eax, eax
mov ecx, 0x40
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x3fffffff
mov edi, eax
cmp ecx, ebx
sbb edi, esi
jl 0x490803
mov ecx, 0xfffff
cmp ecx, ebx
sbb eax, esi
jl 0x4907ad
mov ecx, ebp
mov ebx, dword [ecx]
add ecx, 4
lea eax, [ebx - 0x1010101]
not ebx
and eax, ebx
and eax, 0x80808080
je 0x4906c5
mov ebx, eax
mov dword [esp + 8], ebp
shr ebx, 0x10
test eax, 0x8080
cmove eax, ebx
lea ebx, [ecx + 2]
cmove ecx, ebx
mov ebx, eax
add bl, al
sbb ecx, 3
sub ecx, ebp
mov dword [esp + 0xc], ecx
mov eax, dword [edx + 4]
mov ecx, edx
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004e4c10
sub esp, 0x10
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0xc83558
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], str.GlobalMemoryStatusEx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [0xcbe318]
mov esi, dword [0xcbe31c]
sub esp, 8
test eax, eax
mov edx, dword [esp + 0x18]
je 0x490786
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], 0x40
mov dword [esp], ebp
call eax
sub esp, 4
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [0xcbe318], ebx
mov dword [0xcbe31c], esi
xor eax, eax
mov ecx, 0xfffff
cmp ecx, ebx
mov edi, eax
sbb edi, esi
jge 0x490860
mov ecx, 0x40
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x3fffffff
cmp ecx, ebx
sbb eax, esi
jl 0x490803
fnstcw word [esp + 0x26]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
fmul dword [0xc83850]
fadd dword [0xc8384c]
mov dword [esp + 8], 0xc8358a
movzx eax, word [esp + 0x26]
mov dword [esp + 4], 0x100
mov dword [esp], ebp
or ah, 0xc
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
fldcw word [esp + 0x24]
fistp dword [esp + 0xc]
fldcw word [esp + 0x26]
call fcn.00490570
mov edx, dword [esp + 0x20]
jmp 0x4906c3
fnstcw word [esp + 0x26]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
fild qword [esp + 0x18]
movzx eax, word [esp + 0x26]
fmul dword [0xc83848]
mov dword [esp], ebp
fadd dword [0xc8384c]
mov dword [esp + 8], 0xc83586
or ah, 0xc
mov dword [esp + 4], 0x100
mov word [esp + 0x24], ax
fldcw word [esp + 0x24]
fistp dword [esp + 0xc]
fldcw word [esp + 0x26]
mov dword [esp + 0x20], edx
call fcn.00490570
mov edx, dword [esp + 0x20]
jmp 0x4906c3
mov dword [esp + 0x18], edx
xor esi, esi
mov dword [esp + 0x30], 0x20
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [0xcbe31c], esi
sub esp, 4
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [0xcbe318], ebx
jmp 0x490698
Function at 0x4912e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x860]
mov esi, ecx
push ebx
sub esp, 0x88c
mov dword [ebp - 0x868], eax
mov ebx, dword [ecx + 0x9c]
mov eax, dword [ecx + 0x84]
mov byte [esp + 8], 0
mov edx, dword [ecx + 0x88]
lea ecx, [ebp - 0x868]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.005475e0
mov eax, dword [ebp - 0x864]
mov edx, dword [ebp - 0x868]
sub esp, 0xc
cmp byte [edx + eax - 1], 0x5c
je 0x491490
lea eax, [ebp - 0x848]
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x850], eax
mov eax, dword [ebx + 0x44]
mov byte [esp + 8], 0
mov edx, dword [ebx + 0x48]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.005475e0
mov eax, dword [ebp - 0x84c]
mov edx, dword [ebp - 0x850]
sub esp, 0xc
cmp byte [edx + eax - 1], 0x5c
lea ecx, [eax - 1]
je 0x4914b1
xor eax, eax
mov ecx, 0x208
lea edi, [ebp - 0x838]
rep stosd dword es:[edi], eax
mov edi, 0xc835dd
mov eax, 0xc835d8
mov ecx, dword [ebx + 0xbc]
cmp byte [ebx + 0x42], 0
cmove eax, edi
mov dword [esp + 0x2c], ecx
mov edi, dword [esi + 0x80]
mov dword [esp + 0x28], edi
mov edi, dword [esi + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x868]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 8], str._s__s__s___s____s___s__s__d__s
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x838]
mov dword [esp + 4], 0x820
mov dword [esp], eax
call fcn.00490570
lea eax, [ebp - 0x838]
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x43], 0
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0xc83570
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 4], str.open
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x850]
sub esp, 0x18
cmp eax, 0x20
lea eax, [ebp - 0x848]
seta bl
cmp edx, eax
je 0x49146c
mov dword [esp], edx
call sub.libstdc_6.dll_operator_delete_void_
mov edx, dword [ebp - 0x868]
lea eax, [ebp - 0x860]
cmp edx, eax
je 0x491484
mov dword [esp], edx
call sub.libstdc_6.dll_operator_delete_void_
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [eax - 1]
mov dword [esp + 4], 1
mov dword [esp], ecx
lea ecx, [ebp - 0x868]
call fcn.004e4bd0
sub esp, 8
jmp 0x49133f
mov dword [esp], ecx
lea ecx, [ebp - 0x850]
mov dword [esp + 4], 1
call fcn.004e4bd0
mov edx, dword [ebp - 0x850]
sub esp, 8
jmp 0x491387
Function at 0x49d630
Capabilities:
Get system information on windows

Disassembly:
push ebx
sub esp, 0x48
mov dword [esp + 0x18], 0
mov dword [esp], str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], str.IsWow64Process
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x49d690
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], edx
call ebx
sub esp, 8
test eax, eax
je 0x49d690
mov eax, dword [esp + 0x18]
add esp, 0x48
pop ebx
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
sub esp, 4
movzx eax, word [esp + 0x1c]
cmp ax, 9
je 0x49d6b1
cmp ax, 6
jne 0x49d680
add esp, 0x48
mov eax, 1
pop ebx
ret
Function at 0x49de20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, eax
sub esp, 0x5c
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__access]
mov dword [ebp - 0x54], eax
call eax
cmp eax, 0xffffffff
je 0x49de54
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.0049d8d0
mov ebx, dword [edi + 4]
mov eax, dword [edi]
cmp byte [eax + ebx - 1], 0x5c
je 0x49deb3
lea edx, [edi + 8]
lea esi, [ebx + 1]
cmp eax, edx
je 0x49e025
mov edx, dword [edi + 8]
cmp esi, edx
jbe 0x49dea3
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004e4bb0
mov eax, dword [edi]
sub esp, 0x10
mov byte [eax + ebx], 0x5c
mov eax, dword [edi]
mov dword [edi + 4], esi
mov byte [eax + esi], 0
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [esp], ebx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
call fcn.004e4bd8
mov eax, dword [edi + 4]
sub esp, 4
mov ebx, dword [edi]
test eax, eax
jne 0x49df25
jmp 0x49dfce
movzx ecx, byte [ebp - 0x49]
mov eax, dword [ebp - 0x50]
mov byte [edx + esi], cl
mov dword [ebp - 0x2c], eax
cmp cl, 0x5c
mov eax, dword [ebp - 0x30]
mov byte [eax + esi + 1], 0
je 0x49df80
mov edx, dword [edi]
mov eax, dword [edi + 4]
lea ecx, [edx + eax - 1]
cmp ebx, ecx
je 0x49df80
add ebx, 1
add eax, edx
cmp ebx, eax
je 0x49dfce
movzx eax, byte [ebx]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x49], al
lea eax, [esi + 1]
mov ecx, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x28]
cmp edx, eax
mov eax, 0xf
cmovne eax, dword [ebp - 0x28]
cmp ecx, eax
jbe 0x49def1
lea ecx, [ebp - 0x30]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.004e4bb0
sub esp, 0x10
mov edx, dword [ebp - 0x30]
jmp 0x49def1
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004e4bc8
mov eax, dword [ebp - 0x48]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
test eax, eax
jne 0x49e011
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0
add ebx, 1
mov byte [eax], 0
mov edx, dword [edi]
mov eax, dword [edi + 4]
add eax, edx
cmp ebx, eax
jne 0x49df25
mov eax, 1
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x28]
cmp edx, edi
je 0x49dfec
mov dword [esp], edx
mov byte [ebp - 0x49], al
call sub.libstdc_6.dll_operator_delete_void_
movzx eax, byte [ebp - 0x49]
mov edx, dword [ebp - 0x48]
lea edi, [ebp - 0x40]
cmp edx, edi
je 0x49de4c
mov dword [esp], edx
mov byte [ebp - 0x49], al
call sub.libstdc_6.dll_operator_delete_void_
movzx eax, byte [ebp - 0x49]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__mkdir]
test eax, eax
je 0x49dfaf
xor eax, eax
jmp 0x49dfd3
mov edx, 0xf
jmp 0x49de78
Function at 0x49efa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
mov edi, dword [eax + 0x98]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [esp + 0xc], edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], str.DistinctId
mov dword [esp], str.Base
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.PrimaryDistinctId
mov dword [esp], str.Base
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 4]
mov dword [esp + 4], str.UserId
mov dword [esp], str.Base
mov dword [esp + 8], eax
call esi
mov edx, dword [ebx + 0x4c]
lea eax, [ebp - 0x30]
sub esp, 0x10
mov dword [esp + 0xc], 0xc845f9
mov dword [esp + 8], 0x10
mov dword [esp], eax
mov dword [esp + 4], 0x49d5f0
mov dword [esp + 0x10], edx
call fcn.0053daf0
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.UserVipLevel
mov dword [esp], str.Base
mov dword [esp + 8], eax
call esi
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
sub esp, 0x10
cmp eax, edx
je 0x49f06f
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0xb0]
mov dword [esp + 4], 0xc84609
mov dword [esp], str.Base
mov dword [esp + 8], eax
call esi
sub esp, 0x10
cmp byte [ebx], 0
mov edx, 0xc845cd
mov eax, 0xc845ca
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.isLogined
mov dword [esp], str.Base
cmove eax, edx
mov dword [esp + 8], eax
call esi
sub esp, 0x10
cmp byte [ebx + 1], 0
je 0x49f0d0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 0x288]
mov dword [esp], eax
call fcn.004bc860
test al, al
je 0x49f0c3
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x288]
mov dword [esp + 4], str.AssistIP
mov dword [esp], str.Local
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x2a0]
mov dword [esp + 4], 0xc84626
mov dword [esp], str.Local
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x2b8]
mov dword [esp + 4], str.countryCode
mov dword [esp], str.Local
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x2d0]
mov dword [esp + 4], 0xc8463a
mov dword [esp], str.Local
mov dword [esp + 8], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], edi
mov eax, dword [ebx + 0x2e8]
mov dword [esp + 4], str.City
mov dword [esp], str.Local
mov dword [esp + 8], eax
call esi
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4a0db0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x68]
lea ebx, [ebp - 0x58]
sub esp, 0x7c
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], 0x59
mov dword [esp], 0x400
call edi
sub esp, 0x10
mov dword [ebp - 0x6c], eax
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5a
mov dword [esp], 0x400
call edi
sub esp, 0x10
test eax, eax
je 0x4a0fa2
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4a0fa2
mov ecx, esi
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4a0e5e
mov edi, eax
mov dword [esp + 8], esi
shr edi, 0x10
test eax, 0x8080
cmove eax, edi
lea edi, [ecx + 2]
mov edx, eax
cmove ecx, edi
add dl, al
sbb ecx, 3
sub ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004e4c10
mov edx, ebx
sub esp, 0x10
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x4a0eb3
mov ecx, eax
mov esi, dword [ebp - 0x78]
mov dword [esp + 8], ebx
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
mov ecx, esi
sbb edx, 3
sub edx, ebx
lea ebx, [ebp - 0x48]
mov dword [esp + 0xc], edx
mov eax, dword [esi + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004e4c10
mov eax, dword [ebp - 0x74]
sub esp, 0x10
mov dword [esp + 8], 0xcbeda0
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0054b890
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.004e4bc8
lea ebx, [ebp - 0x28]
lea edx, [eax + 8]
sub esp, 8
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
cmp ecx, edx
je 0x4a0fac
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 4]
mov byte [eax + 8], 0
mov dword [ebp - 0x2c], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.004e4bf8
mov eax, dword [ebp - 0x30]
sub esp, 4
cmp eax, ebx
je 0x4a0f83
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x40]
cmp eax, edx
je 0x4a0f95
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], esi
jmp 0x4a0f50