joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x57005c
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x5c]
mov eax, 0x1019d800
mov dword [ebp - 0x58], 0x430065
push edi
mov dword [ebp - 0x54], 0x610068
mov edx, 0x2b
mov dword [ebp - 0x50], 0x200074
sub esi, eax
mov dword [ebp - 0x4c], 0x690046
mov dword [ebp - 0x48], 0x65006c
mov dword [ebp - 0x44], 0x5c0073
mov dword [ebp - 0x40], 0x6c0041
mov dword [ebp - 0x3c], 0x20006c
mov dword [ebp - 0x38], 0x730055
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x5c0073
mov dword [ebp - 0x2c], 0x6f0063
mov dword [ebp - 0x28], 0x66006e
mov dword [ebp - 0x24], 0x670069
mov dword [ebp - 0x20], 0x63005c
mov dword [ebp - 0x1c], 0x6e006f
mov dword [ebp - 0x18], 0x690066
mov dword [ebp - 0x14], 0x2e0067
mov dword [ebp - 0x10], 0x610064
mov dword [ebp - 0xc], 0x610074
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffd3]
test ecx, ecx
je 0x1003750e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003750e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100374f0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret

Function at 0x10037530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1019d798
mov dword [ebp - 0x60], 0x54002f
lea esi, [ebp - 0x60]
mov dword [ebp - 0x5c], 0x6e0065
push edi
mov dword [ebp - 0x58], 0x650063
mov edx, 0x2e
mov dword [ebp - 0x54], 0x74006e
sub esi, eax
mov dword [ebp - 0x50], 0x57002f
mov dword [ebp - 0x4c], 0x430065
mov dword [ebp - 0x48], 0x610068
mov dword [ebp - 0x44], 0x2f0074
mov dword [ebp - 0x40], 0x6c0041
mov dword [ebp - 0x3c], 0x20006c
mov dword [ebp - 0x38], 0x730055
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x2f0073
mov dword [ebp - 0x2c], 0x6f0063
mov dword [ebp - 0x28], 0x66006e
mov dword [ebp - 0x24], 0x670069
mov dword [ebp - 0x20], 0x33002f
mov dword [ebp - 0x1c], 0x620065
mov dword [ebp - 0x18], 0x660066
mov dword [ebp - 0x14], 0x390065
mov dword [ebp - 0x10], 0x2e0034
mov dword [ebp - 0xc], 0x6e0069
mov dword [ebp - 8], 0x69
lea ecx, [edx + 0x7fffffd0]
test ecx, ecx
je 0x10037611
movzx ecx, word [esi + eax]
test cx, cx
je 0x10037611
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100375f3
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x100378d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146a51
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1019646c]
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 - 0x234], edi
call fcn.10017640
mov ecx, eax
test ecx, ecx
je 0x10037ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x230], esi
push 0
push 0x1c
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or ebx, 0xffffffff
test eax, eax
je 0x10037a4c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], 0
push eax
lea ecx, [ebp - 0x22c]
call fcn.10012770
lea ecx, [ebp - 0x225]
mov byte [ebp - 4], 1
mov dword [ebp - 0x224], 0
call fcn.10036cb0
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10018c20
add esp, 0xc
push dword [ebp - 0x224]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100379f2
lea ecx, [ebp - 0x225]
call fcn.10036530
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10018c20
add esp, 0xc
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x234]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100379f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
call fcn.10018af0
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037a25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037a46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x230]
push 0x210
lea eax, [ebp - 0x220]
mov dword [edi], 0
push 0
push eax
call fcn.101166b0
add esp, 0xc
test esi, esi
je 0x10037a88
xor eax, eax
cmp ax, word [esi]
je 0x10037a88
push str.config.ini
push esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x10037a8e
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call fcn.10012770
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10037ab2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10013b40
int3
Function at 0x10037d50
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146ad6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10037ea0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], 0
push eax
lea ecx, [ebp - 0x224]
call fcn.10012770
lea ecx, [ebp - 0x21d]
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.10036cb0
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10018c20
add esp, 0xc
push dword [ebp - 0x21c]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
jne 0x10037e4a
lea ecx, [ebp - 0x21d]
call fcn.10036530
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10018c20
add esp, 0xc
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x228]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037e4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.10018af0
mov edx, dword [ebp - 0x21c]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037e79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10037e9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x10038cf0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov ebx, eax
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [ebp - 4], eax
call ebx
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call esi
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call esi
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100399f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x10039ada
mov eax, dword [esi]
test eax, eax
jne 0x10039ac5
push edi
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.101166b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call edi
lea ecx, [ebp - 0x20d]
call fcn.10039720
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10039ab1
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
lea ecx, [ebp - 0x20d]
call fcn.10039900
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
pop edi
test eax, eax
je 0x10039ada
push str.CreateIdentify2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10039ada
call eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
pop esi
test ecx, ecx
jne 0x10039af2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x1003d8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push edi
mov edi, dword [ebp + 8]
push 0x210
push 0
push eax
mov dword [ebp - 0x428], edi
call fcn.101166b0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0
push dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x210
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.101166b0
xor eax, eax
add esp, 0xc
cmp ax, word [ebp - 0x214]
jne 0x1003d964
lea eax, [ebp - 0x424]
jmp 0x1003d98c
test esi, esi
je 0x1003d986
xor eax, eax
cmp ax, word [esi]
je 0x1003d986
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x1003d98c
lea eax, [ebp - 0x214]
push eax
mov ecx, edi
call fcn.10012770
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1003d9b0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push esi
mov esi, ecx
call fcn.1003e160
mov ecx, esi
pop esi
jmp fcn.1003d9c0
Function at 0x1003eed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push dword [eax - 0xc]
mov dword [ebp - 8], 7
push eax
call fcn.10017b50
mov eax, dword [ebp - 0xc]
lea edi, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x1c]
cmovae edi, edx
lea ebx, [eax + eax]
xor eax, eax
test ebx, ebx
je 0x1003ef41
nop dword [eax]
movzx ecx, byte [eax + edi]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, ebx
jb 0x1003ef30
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x1003ef74
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ef6a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ef8f
push ecx
push edx
call fcn.100f5c1c
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, dword [eax + 0x18]
and eax, esi
pop esi
pop ebx
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret 4
call fcn.10119a73
int3

Function at 0x1003f700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1019da70
mov dword [ebp - 0x64], 0x740068
lea esi, [ebp - 0x64]
mov dword [ebp - 0x60], 0x700074
push edi
mov dword [ebp - 0x5c], 0x2f003a
mov edx, 0x30
mov dword [ebp - 0x58], 0x25002f
sub esi, eax
mov dword [ebp - 0x54], 0x2f0073
mov dword [ebp - 0x50], 0x650070
mov dword [ebp - 0x4c], 0x2f0074
mov dword [ebp - 0x48], 0x6e0069
mov dword [ebp - 0x44], 0x660074
mov dword [ebp - 0x40], 0x67002f
mov dword [ebp - 0x3c], 0x740065
mov dword [ebp - 0x38], 0x700054
mov dword [ebp - 0x34], 0x3f0069
mov dword [ebp - 0x30], 0x720070
mov dword [ebp - 0x2c], 0x64006f
mov dword [ebp - 0x28], 0x630075
mov dword [ebp - 0x24], 0x3d0074
mov dword [ebp - 0x20], 0x730025
mov dword [ebp - 0x1c], 0x630026
mov dword [ebp - 0x18], 0x610068
mov dword [ebp - 0x14], 0x6e006e
mov dword [ebp - 0x10], 0x6c0065
mov dword [ebp - 0xc], 0x25003d
mov dword [ebp - 8], 0x73
nop word [eax + eax]
lea ecx, [edx + 0x7fffffce]
test ecx, ecx
je 0x1003f7ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003f7ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003f7d0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x1003fae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x1019dae0
mov dword [ebp - 0x64], 0x740068
lea esi, [ebp - 0x64]
mov dword [ebp - 0x60], 0x700074
push edi
mov dword [ebp - 0x5c], 0x2f003a
mov edx, 0x30
mov dword [ebp - 0x58], 0x25002f
sub esi, eax
mov dword [ebp - 0x54], 0x2f0073
mov dword [ebp - 0x50], 0x650070
mov dword [ebp - 0x4c], 0x2f0074
mov dword [ebp - 0x48], 0x6e0069
mov dword [ebp - 0x44], 0x660074
mov dword [ebp - 0x40], 0x67002f
mov dword [ebp - 0x3c], 0x740065
mov dword [ebp - 0x38], 0x700054
mov dword [ebp - 0x34], 0x3f0069
mov dword [ebp - 0x30], 0x720070
mov dword [ebp - 0x2c], 0x64006f
mov dword [ebp - 0x28], 0x630075
mov dword [ebp - 0x24], 0x3d0074
mov dword [ebp - 0x20], 0x730025
mov dword [ebp - 0x1c], 0x630026
mov dword [ebp - 0x18], 0x610068
mov dword [ebp - 0x14], 0x6e006e
mov dword [ebp - 0x10], 0x6c0065
mov dword [ebp - 0xc], 0x25003d
mov dword [ebp - 8], 0x73
nop word [eax + eax]
lea ecx, [edx + 0x7fffffce]
test ecx, ecx
je 0x1003fbce
movzx ecx, word [esi + eax]
test cx, cx
je 0x1003fbce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1003fbb0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x10048f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101455bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.halopet
push 0
push 0
push str.tpi_start_load
call fcn.1001a750
mov ecx, eax
call fcn.1009b2b0
cmp dword [0x1019db44], 0
jne 0x10049065
call fcn.1009f3d0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10049040
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.10015100
push 3
push 0x10154d04
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10015100
mov byte [ebp - 4], 1
call fcn.1009f3d0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x239
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100128c0
mov esi, eax
push str.StartPetsPlugin
push esi
mov byte [ebp - 4], 2
call fcn.100135d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10013680
lea ecx, [ebp - 0x2c]
call fcn.10013270
lea ecx, [ebp - 0x44]
call fcn.10013270
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0x10047560
push 0
push 0
call fcn.1011e78f
add esp, 0x18
mov dword [0x1019db44], eax
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.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x1004a070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145a4b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0x84
push 0
push eax
call fcn.101166b0
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x94]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push str.closebtn
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.100aa476
test al, al
je 0x1004a115
mov eax, dword [edi + 0x77c]
test eax, eax
jne 0x1004a0fe
push eax
push str.halopet
push eax
push eax
push str.download_fail_close
jmp 0x1004a16f
cmp eax, 1
jne 0x1004a17b
push 0
push str.halopet
push 0
push 0
push str.install_fail_close
jmp 0x1004a16f
push str.openbtn
lea ecx, [ebp - 0x94]
call fcn.100aa476
test al, al
je 0x1004a184
push 1
push 0
push 0
push str.http:__www.halopet.cn_
push 0x1015609c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [edi + 0x77c]
test eax, eax
jne 0x1004a15a
push eax
push str.halopet
push eax
push eax
push str.download_fail_click
jmp 0x1004a16f
cmp eax, 1
jne 0x1004a17b
push 0
push str.halopet
push 0
push 0
push str.install_fail_click
call fcn.1001a750
mov ecx, eax
call fcn.1009b2b0
push 1
mov ecx, edi
call fcn.100a9abf
lea ecx, [ebp - 0x94]
call fcn.100aa3b0
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.100f5f8d
mov esp, ebp
pop ebp
ret 4

Function at 0x1004b980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x58], 0x4b0048
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x58]
mov eax, 0x1019dda0
mov dword [ebp - 0x54], 0x590045
push edi
mov dword [ebp - 0x50], 0x4c005f
mov edx, 0x29
mov dword [ebp - 0x4c], 0x43004f
sub esi, eax
mov dword [ebp - 0x48], 0x4c0041
mov dword [ebp - 0x44], 0x4d005f
mov dword [ebp - 0x40], 0x430041
mov dword [ebp - 0x3c], 0x490048
mov dword [ebp - 0x38], 0x45004e
mov dword [ebp - 0x34], 0x53005c
mov dword [ebp - 0x30], 0x46004f
mov dword [ebp - 0x2c], 0x570054
mov dword [ebp - 0x28], 0x520041
mov dword [ebp - 0x24], 0x5c0045
mov dword [ebp - 0x20], 0x610048
mov dword [ebp - 0x1c], 0x6f006c
mov dword [ebp - 0x18], 0x650044
mov dword [ebp - 0x14], 0x6b0073
mov dword [ebp - 0x10], 0x650050
mov dword [ebp - 0xc], 0x730074
lea ecx, [edx + 0x7fffffd5]
test ecx, ecx
je 0x1004ba52
movzx ecx, word [esi + eax]
test cx, cx
je 0x1004ba52
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1004ba34
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x1004bb60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x58], 0x4b0048
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x58]
mov eax, 0x1019de28
mov dword [ebp - 0x54], 0x590045
push edi
mov dword [ebp - 0x50], 0x4c005f
mov edx, 0x29
mov dword [ebp - 0x4c], 0x43004f
sub esi, eax
mov dword [ebp - 0x48], 0x4c0041
mov dword [ebp - 0x44], 0x4d005f
mov dword [ebp - 0x40], 0x430041
mov dword [ebp - 0x3c], 0x490048
mov dword [ebp - 0x38], 0x45004e
mov dword [ebp - 0x34], 0x53005c
mov dword [ebp - 0x30], 0x46004f
mov dword [ebp - 0x2c], 0x570054
mov dword [ebp - 0x28], 0x520041
mov dword [ebp - 0x24], 0x5c0045
mov dword [ebp - 0x20], 0x610048
mov dword [ebp - 0x1c], 0x6f006c
mov dword [ebp - 0x18], 0x650044
mov dword [ebp - 0x14], 0x6b0073
mov dword [ebp - 0x10], 0x650050
mov dword [ebp - 0xc], 0x730074
lea ecx, [edx + 0x7fffffd5]
test ecx, ecx
je 0x1004bc32
movzx ecx, word [esi + eax]
test cx, cx
je 0x1004bc32
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1004bc14
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret

Function at 0x1004be30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x50005c
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x5c]
mov eax, 0x1019de88
mov dword [ebp - 0x58], 0x740065
push edi
mov dword [ebp - 0x54], 0x2d0073
mov edx, 0x2b
mov dword [ebp - 0x50], 0x320043
sub esi, eax
mov dword [ebp - 0x4c], 0x450030
mov dword [ebp - 0x48], 0x340039
mov dword [ebp - 0x44], 0x310044
mov dword [ebp - 0x40], 0x32002d
mov dword [ebp - 0x3c], 0x430037
mov dword [ebp - 0x38], 0x2d0031
mov dword [ebp - 0x34], 0x440034
mov dword [ebp - 0x30], 0x440034
mov dword [ebp - 0x2c], 0x39002d
mov dword [ebp - 0x28], 0x310034
mov dword [ebp - 0x24], 0x2d0034
mov dword [ebp - 0x20], 0x320031
mov dword [ebp - 0x1c], 0x300042
mov dword [ebp - 0x18], 0x380044
mov dword [ebp - 0x14], 0x370035
mov dword [ebp - 0x10], 0x450034
mov dword [ebp - 0xc], 0x420035
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffd3]
test ecx, ecx
je 0x1004bf0e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1004bf0e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1004bef0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
Function at 0x1004c4f0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xc]
movq qword [ebp - 0xc], xmm0
push eax
push 0x10158fb0
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x1004c534
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 0x10]
mov esi, 0x64
push dword [ebp - 0x14]
mul esi
mov ecx, eax
mov eax, dword [ebp - 0xc]
mul esi
add ecx, edx
push ecx
push eax
call fcn.100f6860
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret

Function at 0x1004ce20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1019646c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.101166b0
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
xor ecx, ebp
call fcn.100f5f8d
mov esp, ebp
pop ebp
ret