joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451270
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bdc]
cmp dword [eax + 0x30], 0
je 0x45131a
cmp dword [ebx + 0x94], 0
jne 0x451314
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451200
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451314
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4512da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451314
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041393c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4512e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451e7c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451eb1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x451ebe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452fb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452ff9
mov eax, esi
call fcn.0043956c
test al, al
je 0x452ff9
mov eax, dword [ebx + 0x84]
call fcn.00439268
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452ff9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439268
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x1000db30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x38
lea eax, [ebp - 0x38]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.10037070
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x1000dbac
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000dbac
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x1000eb70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, edx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1000ebce
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033901
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x1000ebdc
xor ecx, ecx
jmp 0x1000ebf4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ebe5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.10008230
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10033901
mov esp, ebp
pop ebp
ret

Function at 0x1000ec20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
mov byte [ebx], 0
call fcn.10017d80
test al, al
jne 0x1000ec51
push 4
push str._U17
mov ecx, edi
call fcn.1000be30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10037070
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jb 0x1000ec85
mov esi, dword [esi]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 4
test eax, eax
je 0x1000ecee
push str._U12
mov ecx, edi
call fcn.1000be30
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000ecbf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1000ecde
cmp dword [ebp + 8], 0x64
je 0x1000ecde
mov byte [ebx], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._U13
mov ecx, edi
mov byte [ebx], 1
call fcn.1000be30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aced0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [section..data]
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 edi, edx
mov esi, ecx
cmp dword [edi + 0x10], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], 0
je 0x1000f4fb
cmp dword [ebx + 0x10], 0
je 0x1000f4fb
push 0x100cb75c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
call fcn.10007750
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x1000f3d2
mov eax, dword [edi]
jmp 0x1000f3d4
mov eax, edi
lea ecx, [ebp - 0x34]
push ecx
push 0x20219
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000f416
cmp dword [edi + 0x14], 8
jb 0x1000f3f7
mov edi, dword [edi]
lea eax, [ebp - 0x34]
push eax
push 0x20119
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f4e6
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1000f442
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.100077b0
cmp dword [ebp - 0x18], 8
jb 0x1000f50e
push dword [ebp - 0x2c]
call fcn.10034183
add esp, 4
jmp 0x1000f50e
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
jb 0x1000f45a
mov ecx, dword [ebx]
jmp 0x1000f45c
mov ecx, ebx
lea edx, [ebp - 0x38]
push edx
push 0
lea edx, [ebp - 0x3c]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000f4dd
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000f4dd
lea ecx, [ebp - 0x2d]
mov byte [ebp - 0x2d], 0
push ecx
add eax, 2
mov dword [ebp - 0x48], 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.1000f620
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x1000f4b0
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000f4d5
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000bc30
lea ecx, [ebp - 0x48]
call fcn.1000f570
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.100077b0
lea ecx, [ebp - 0x2c]
call fcn.10006f00
jmp 0x1000f50e
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, esi
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.10033901
mov esp, ebp
pop ebp
ret
Function at 0x1000fac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1000fb21
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10033901
mov esp, ebp
pop ebp
ret 4
cmp word [ebp - 0x214], 0
jne 0x1000fb2f
xor eax, eax
jmp 0x1000fb4f
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
jmp 0x1000fb40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000fb40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
mov ecx, esi
push eax
call fcn.10008230
mov edx, 0x10
mov ecx, esi
call fcn.100177f0
push 6
push str.HaoZip
mov ecx, esi
call fcn.1000be30
mov edx, 0x10
mov ecx, esi
call fcn.100177f0
mov ecx, esi
call fcn.1002b560
push 0x14
push str.HaoZipInstaller.data
mov ecx, esi
call fcn.1000be30
mov ecx, dword [ebp - 8]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10033901
mov esp, ebp
pop ebp
ret 4

Function at 0x1000fd80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push 0x105
push ecx
push 0x100ef028
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
call fcn.1000fbe0
mov edi, eax
test edi, edi
jne 0x1000fda1
xor al, al
pop edi
ret
mov ecx, edi
call fcn.1000fc60
movzx eax, word [edi]
test ax, ax
je 0x1000fd9d
cmp eax, 0x5c
je 0x1000fd9d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sub edi, 0x100ef028
push esi
push 0x100ef028
sar edi, 1
call ebx
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, edi
jle 0x1000fe38
jmp 0x1000fde0
push 0x100ef240
push 0x100ef028
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1000fe05
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [0x100ef240], 0x10
je 0x1000fe79
push 0x100ef028
call ebx
lea eax, [eax*2 + 0x100ef028]
cmp word [eax], 0x5c
je 0x1000fe28
push eax
push 0x100ef028
call esi
cmp eax, 0x100ef028
ja 0x1000fe13
xor ecx, ecx
push 0x100ef028
mov word [eax], cx
call ebx
cmp eax, edi
jg 0x1000fde0
push 0x100ef028
call ebx
lea eax, [eax*2 + 0x100ef028]
push eax
push 0x100ef028
call esi
cmp word [eax], 0x5c
je 0x1000fe64
push 0x100cc0e0
push 0x100ef028
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x100ef028
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
pop ebx
setne al
pop edi
ret
pop esi
pop ebx
xor al, al
pop edi
ret

Function at 0x10010580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10010595
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x100105a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100105a0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x100105d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x100105e9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100105f5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x100105f0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10010c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad016
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [section..data]
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 - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10010cfc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10010cfc
call fcn.10010190
mov esi, eax
jmp 0x10010dec
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10010d1f
call fcn.10010190
jmp 0x10010ddf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x10010d3d
call fcn.10010190
jmp 0x10010ddf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10010d5e
mov esi, 0x8007000e
jmp 0x10010de1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10013030
jmp 0x10010d88
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x10010d9f
mov esi, 0x8007000e
jmp 0x10010de1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10010dbf
call fcn.10010190
jmp 0x10010ddf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10011b60
mov esi, eax
test edi, edi
je 0x10010dec
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10010e10
lea ecx, [ebp - 0x418]
call fcn.10013110
jmp 0x10010e10
mov eax, esi
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.10033901
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10012cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad221
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x468], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x44]
call fcn.100197c0
mov dword [esp + 0x480], 0
lea ecx, [esp + 0x14]
push 6
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
push str.HaoZip
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.10008230
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
mov byte [esp + 0x488], 1
push eax
lea ecx, [esp + 0x50]
call fcn.10007c60
mov byte [esp + 0x480], 0
cmp dword [esp + 0x28], 8
jb 0x10012d80
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
test esi, esi
jne 0x10012da9
lea ecx, [esp + 0x44]
call fcn.1001bd70
jmp 0x10012eb7
cmp esi, 1
jne 0x10012dbc
lea ecx, [esp + 0x44]
call fcn.1001c1f0
jmp 0x10012eb7
cmp esi, 2
jne 0x10012eb7
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
call fcn.10037070
add esp, 0xc
lea eax, [esp + 0x5c]
push 0x207
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.10007750
push esi
push 0x100cc7a4
lea ecx, [esp + 0x34]
mov byte [esp + 0x488], 2
call fcn.1000be30
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push 0
cmovae eax, dword [esp + 0x30]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10012e78
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
push esi
sbb eax, eax
and dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xc]
lea ecx, [esp + 0x48]
call fcn.1001c590
mov byte [esp + 0x480], 0
cmp dword [esp + 0x40], 8
jb 0x10012ea0
push dword [esp + 0x2c]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x44]
mov dword [esp + 0x480], 0xffffffff
call fcn.10019820
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.10033901
mov esp, ebp
pop ebp
ret
Function at 0x10014dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 4]
mov dword [esi + 0x1f4], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1b4]
test ecx, ecx
je 0x10014e2d
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x10014e2d
mov eax, dword [eax + 0x14]
push dword [esi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 0x1e
xor eax, eax
mov dword [esp + 0x20], 7
push str.http:__haozip.2345.com_pdf.htm
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
call fcn.10008230
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call fcn.1000b800
cmp dword [esp + 0x1c], 8
jb 0x10014e78
push dword [esp + 8]
call fcn.10034183
add esp, 4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10033901
mov esp, ebp
pop ebp
ret
Function at 0x10016330
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad67a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, ecx
push 0x25b
lea ecx, [esp + 0x30]
call fcn.100461b0
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x2c], vtable.RC::RCWidgetMessageBox.0
mov dword [esp + 0x4c], vtable.RC::RCWidgetMessageBox.1.0
mov dword [esp + 0x54], vtable.RC::RCWidgetMessageBox.2.0
push 0
mov dword [esp + 0x1fc], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x34]
call fcn.10046820
cmp eax, 1
je 0x100163d5
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10016522
cmp dword [esi + 0x1bc], 0
jne 0x10016522
lea ebx, [esi + 0x20]
push 0x259
mov ecx, ebx
call fcn.10044240
lea eax, [esi + 0x1cc]
mov ecx, ebx
push eax
push 0x16
call fcn.10045b20
push 0
push 0x65
mov ecx, ebx
call fcn.100439c0
push 0
push 0
push 0x7e8
push dword [esi + 4]
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c8], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push str.http:__www.2345.com__hzuninstall
lea ecx, [esp + 0x18]
call fcn.10007750
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f8], 4
call fcn.1000b800
mov byte [esp + 0x1f8], 1
cmp dword [esp + 0x28], 8
jb 0x1001646c
push dword [esp + 0x14]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.1000e260
push 0xc
call fcn.100341f9
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1f8], 5
test eax, eax
je 0x100164b3
push esi
push 0x10015fc0
mov ecx, eax
call fcn.100193c0
mov edi, eax
jmp 0x100164b5
xor edi, edi
mov byte [esp + 0x1f8], 1
cmp dword [esi + 0x1bc], edi
je 0x10016502
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test edi, edi
je 0x100164dd
push 1
lea eax, [edi + 4]
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [esi + 0x1bc]
test ebx, ebx
je 0x100164f9
push 0xffffffffffffffff
lea eax, [ebx + 4]
push eax
call ecx
dec eax
jne 0x100164f9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [esi + 0x1bc], edi
lea ebx, [esi + 0x20]
mov ecx, dword [esi + 0x1bc]
call fcn.10019640
push 0x64
push 0x66
mov ecx, ebx
call fcn.10048ff0
mov dword [esi + 0x1e4], 0x66
mov dword [esp + 0x1f8], 0xffffffff
mov dword [esp + 0x2c], vtable.RC::RCWidgetMessageBox.0
mov dword [esp + 0x4c], vtable.RC::RCWidgetMessageBox.1.0
mov dword [esp + 0x54], vtable.RC::RCWidgetMessageBox.2.0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.10046340
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.10033901
mov esp, ebp
pop ebp
ret
Function at 0x10016ad0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.10043f80
cmp eax, 0x227
je 0x10016afd
lea ecx, [esi + 0x20]
call fcn.10043f80
cmp eax, 0x228
jne 0x10016b34
lea ecx, [esi + 0x20]
call fcn.10043f80
cmp eax, 0x228
jne 0x10016b13
mov ecx, esi
call fcn.1000b600
mov ecx, dword [esi + 0x1b4]
test ecx, ecx
je 0x10016b34
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x10016b34
mov eax, dword [eax + 0x14]
push dword [esi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
ret

Function at 0x10016ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ad718
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x20]
call fcn.10043f80
cmp eax, 0x228
jne 0x10016d2d
mov ecx, esi
call fcn.1000b600
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1b4]
mov dword [esi + 0x1f4], 1
test ecx, ecx
je 0x10016d63
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x10016d63
mov eax, dword [eax + 0x14]
push dword [esi + 4]
dec eax
push eax
mov eax, dword [ecx + 4]
call eax
push str.http:__haozip.2345.com_pdf.htm
lea ecx, [esp + 0xc]
call fcn.10007750
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.1000b800
cmp dword [esp + 0x1c], 8
jb 0x10016d95
push dword [esp + 8]
call fcn.10034183
add esp, 4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10033901
mov esp, ebp
pop ebp
ret