joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053fa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10053fc4
xor eax, eax
jmp 0x10054044
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10053fdb
xor eax, eax
jmp 0x10054044
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10054027
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10054027
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10053ffe
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10054033
xor eax, eax
jmp 0x10054044
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10054041
xor eax, eax
jmp 0x10054044
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10054350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10054359
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005439c
mov eax, dword [ebp - 8]
jmp 0x10054402
cmp dword [ebp - 0xc], 1
je 0x100543af
cmp dword [ebp - 0xc], 2
je 0x100543af
mov eax, 0xd
jmp 0x10054402
cmp dword [ebp + 0xc], 0
je 0x100543f6
cmp dword [ebp - 4], 0
je 0x100543e5
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x100543dc
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x100543e3
mov eax, 0xd
jmp 0x10054402
jmp 0x100543f6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10056ec0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x10057320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1005734a
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x1005734a
mov dword [ebp - 8], 1
jmp 0x10057351
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10057360
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027c878
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x103440b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1004f910
push eax
call fcn.10057320
add esp, 4
movzx eax, al
test eax, eax
je 0x100573bf
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1004fbe0
mov eax, dword [ebp - 0x18]
jmp 0x1005740e
mov ecx, dword [ebp + 0x20]
push ecx
lea ecx, [ebp + 8]
call fcn.1004f910
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100573ef
cmp dword [ebp - 0x10], 0xb7
je 0x100573ef
mov dword [ebp - 0x14], 0
jmp 0x100573f6
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1004fbe0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10059bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027c768
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
call fcn.1004f910
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10059c2b
push 0x102fc2df
mov ecx, dword [ebp + 8]
call fcn.1004fd40
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
jmp 0x10059cf3
lea ecx, [ebp - 0x28]
call fcn.1004fdb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0x400
mov dword [ebp - 0x38], 1
push 0
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.10052fd0
lea ecx, [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.10053020
push eax
lea edx, [ebp - 0x38]
push edx
push 0
mov ecx, dword [ebp + 0x14]
call fcn.1004f910
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 0
je 0x10059cbb
push 0x102fc31e
mov ecx, dword [ebp + 8]
call fcn.1004fd40
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004fbe0
mov eax, dword [ebp + 8]
jmp 0x10059cf3
push 0
mov eax, dword [ebp - 0x34]
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10052fd0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1004fcc0
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1004fbe0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x1005a0f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x1005a110
xor eax, eax
jmp 0x1005a22a
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.10252510
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x1005a15a
xor eax, eax
jmp 0x1005a22a
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1005a20d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.102554d1
add esp, 8
test eax, eax
jne 0x1005a1ef
mov edx, dword [ebp - 0x228]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 8]
push eax
push 0xf01ff
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
jmp 0x1005a22a
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1005a180
jmp 0x1005a217
mov dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x1005a240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1005a27c
cmp dword [ebp - 4], 0
jne 0x1005a296
push 0x10300408
lea edx, [ebp - 4]
push edx
call fcn.1005a0f0
add esp, 8
test eax, eax
jne 0x1005a296
jmp 0x1005a398
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0
push 0xf01ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1005a387
push 0x44
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.10252510
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], str.WinSta0Default
mov ecx, 5
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0xc], 0
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1005a328
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x1005a398
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x430
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x1005a375
mov dword [ebp - 0x10], 0
jmp 0x1005a398
cmp dword [ebp - 0xc], 0
je 0x1005a385
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x1005a390
mov dword [ebp - 0x10], 0
jmp 0x1005a398
xor ecx, ecx
jne 0x1005a25b
cmp dword [ebp - 8], 0
je 0x1005a3ae
cmp dword [ebp - 8], 0xffffffff
je 0x1005a3ae
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1005a3c4
cmp dword [ebp - 4], 0xffffffff
je 0x1005a3c4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1005ae30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 0x200
push 0
lea edx, [ebp - 0x204]
push edx
call fcn.10252510
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.100551d0
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x308]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
mov ecx, dword [0x1034fdf0]
call sym.nsDui.dll_public:_class_DuiLib::CPaintManagerUI____thiscall_DuiLib::WindowImplBase::GetPaintManagerUI_void_
mov ecx, eax
call sym.nsDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x30c], eax
lea ecx, [ebp - 0x308]
call fcn.10060010
cmp dword [ebp - 0x30c], 0
je 0x1005af42
mov ecx, dword [ebp - 0x30c]
call sym.nsDui.dll_public:_int___thiscall_DuiLib::CTabLayoutUI::GetCurSel_void_const
mov dword [ebp - 0x310], eax
push 1
mov edx, dword [ebp - 0x310]
add edx, 1
push edx
mov eax, dword [ebp - 0x30c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30c]
mov eax, dword [edx + 0x1e8]
call eax
cmp dword [ebp - 0x310], 0
jne 0x1005af42
cmp dword [0x1034fde8], 0
jne 0x1005af42
push 0
push 0
push 0
push 0x1005ad10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1034fde8], eax
mov ecx, dword [0x1034fde8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x1005b0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 0x200
push 0
lea edx, [ebp - 0x204]
push edx
call fcn.10252510
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.100551d0
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x308]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
mov ecx, dword [0x1034fdf0]
call sym.nsDui.dll_public:_class_DuiLib::CPaintManagerUI____thiscall_DuiLib::WindowImplBase::GetPaintManagerUI_void_
mov ecx, eax
call sym.nsDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x30c], eax
lea ecx, [ebp - 0x308]
call fcn.10060010
cmp dword [ebp - 0x30c], 0
je 0x1005b1c2
mov ecx, dword [ebp - 0x30c]
call sym.nsDui.dll_public:_int___thiscall_DuiLib::CTabLayoutUI::GetCurSel_void_const
mov dword [ebp - 0x310], eax
push 1
mov edx, dword [ebp - 0x310]
add edx, 1
push edx
mov eax, dword [ebp - 0x30c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30c]
mov eax, dword [edx + 0x1e8]
call eax
cmp dword [ebp - 0x310], 0
jne 0x1005b1c2
cmp dword [0x1034fde8], 0
jne 0x1005b1c2
push 0
push 0
push 0
push 0x1005af50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1034fde8], eax
mov ecx, dword [0x1034fde8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret

Function at 0x1005b3a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x53c
call fcn.100e5dff
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005b3ce
push str._fT
mov ecx, dword [ebp - 8]
call fcn.10086fd0
mov dword [ebp - 0xc], eax
jmp 0x1005b3d5
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push 0
push accept
push accept
push accept
push accept
push 0x60000
push 0x96c80000
push 0x10300588
mov ecx, dword [0x1034fdf0]
call sym.nsDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
mov ecx, dword [ebp - 4]
call sym.nsDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
mov ecx, dword [ebp - 4]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
mov ecx, dword [ebp - 4]
call sym.nsDui.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
cmp eax, 1
jne 0x1005b437
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1005b640
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.10252510
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x814], ecx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x80c], edx
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x814]
mov dl, byte [ecx]
mov byte [ebp - 0x805], dl
mov eax, dword [ebp - 0x80c]
mov cl, byte [ebp - 0x805]
mov byte [eax], cl
mov edx, dword [ebp - 0x814]
add edx, 1
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x80c]
add eax, 1
mov dword [ebp - 0x80c], eax
cmp byte [ebp - 0x805], 0
jne 0x1005b68a
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x400
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.10252510
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x818], ecx
lea edx, [ebp - 0x404]
mov dword [ebp - 0x810], edx
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x820], eax
mov ecx, dword [ebp - 0x818]
mov dl, byte [ecx]
mov byte [ebp - 0x806], dl
mov eax, dword [ebp - 0x810]
mov cl, byte [ebp - 0x806]
mov byte [eax], cl
mov edx, dword [ebp - 0x818]
add edx, 1
mov dword [ebp - 0x818], edx
mov eax, dword [ebp - 0x810]
add eax, 1
mov dword [ebp - 0x810], eax
cmp byte [ebp - 0x806], 0
jne 0x1005b715
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1005b78c
mov byte [ebp - 0x807], 1
jmp 0x1005b793
mov byte [ebp - 0x807], 0
mov al, byte [ebp - 0x807]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret

Function at 0x1005c180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 5
push 0
push 0x1030060c
push str.http:__pdf.shipinwuyou.com_protocol.html
push 0x10300674
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x1005c1d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88c], 0
push 0
lea ecx, [ebp - 0x89c]
call fcn.10054210
push 0x2001f
push str.SOFTWAREClassesTencent_shellopencommand
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x89c]
call fcn.100542b0
test eax, eax
jne 0x1005c29d
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.10252510
add esp, 0xc
mov dword [ebp - 0x890], 0x400
lea ecx, [ebp - 0x890]
push ecx
lea edx, [ebp - 0x804]
push edx
push 0
lea ecx, [ebp - 0x89c]
call fcn.10054350
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x888]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
lea ecx, [ebp - 0x888]
call sym.nsDui.dll_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
movzx ecx, al
test ecx, ecx
jne 0x1005c287
mov dword [ebp - 0x88c], 1
lea ecx, [ebp - 0x89c]
call fcn.10054260
lea ecx, [ebp - 0x888]
call sym.nsDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x88c], 0
je 0x1005c2c3
push 5
push 0
push str.explorer
push str.tencent:__message__uin2822372562SiteqqMenuyes
push 0x103006ec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1005c2d9
push 0
push 0x10300760
push 0x10300778
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x89c]
call fcn.10054240
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x1005c300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x774
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 0x200
push 0
lea edx, [ebp - 0x404]
push edx
call fcn.10252510
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call fcn.100551d0
push 0x200
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call fcn.100551d0
call fcn.10055290
mov dword [ebp - 0x74c], eax
lea ecx, [ebp - 0x758]
call fcn.10087af0
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x740]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
push 0
lea ecx, [ebp - 0x404]
push ecx
lea ecx, [ebp - 0x63c]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
push 0x1030076c
lea ecx, [ebp - 0x538]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
lea ecx, [ebp - 0x758]
call fcn.100884c0
lea ecx, [ebp - 0x538]
call fcn.10060010
lea ecx, [ebp - 0x63c]
call fcn.10060010
lea ecx, [ebp - 0x740]
call fcn.10060010
lea ecx, [ebp - 0x424]
call fcn.1005c5a0
push str.desklink
lea ecx, [ebp - 0x424]
call fcn.1004fb50
push 0x103007d8
lea ecx, [ebp - 0x40c]
call fcn.1005fe70
push 0x103007e4
lea ecx, [ebp - 0x408]
call fcn.1005fef0
push 0x10300808
lea ecx, [ebp - 0x748]
call fcn.1005ff50
lea edx, [ebp - 0x748]
push edx
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x758]
call fcn.10088740
push eax
lea ecx, [ebp - 0x744]
push ecx
call fcn.1005fd60
add esp, 0xc
lea ecx, [ebp - 0x75c]
call fcn.1005ff30
lea ecx, [ebp - 0x748]
call fcn.1005ff30
push 0x10300814
lea ecx, [ebp - 0x744]
call fcn.1005fe50
lea ecx, [ebp - 0x744]
call fcn.10048870
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005c568
lea ecx, [ebp - 0x758]
call fcn.10088770
test eax, eax
je 0x1005c4f2
lea ecx, [ebp - 0x744]
call fcn.10048870
push eax
lea ecx, [ebp - 0x758]
call fcn.10088800
cmp dword [ebp - 0x74c], 0
jle 0x1005c568
lea edx, [ebp - 0x764]
push edx
call fcn.10054b90
push 0
push 0
push 0
mov eax, dword [ebp - 0x74c]
push eax
lea ecx, [ebp - 0x774]
call fcn.10054af0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x76c]
push eax
lea ecx, [ebp - 0x764]
call fcn.10054bd0
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x76c]
call fcn.10054ca0
lea ecx, [ebp - 0x744]
call fcn.10048870
push eax
lea edx, [ebp - 0x434]
push edx
lea ecx, [ebp - 0x758]
call fcn.10088980
lea ecx, [ebp - 0x744]
call fcn.1005ff30
lea ecx, [ebp - 0x424]
call fcn.1005c5d0
lea ecx, [ebp - 0x758]
call fcn.10087b70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret