joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10087780
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x538
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x534], eax
push ebx
push ebp
mov ebp, dword [esp + 0x544]
push esi
push edi
push 0x103
lea eax, [esp + 0x125]
mov edi, ecx
push 0
push eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x12c], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea ecx, [esp + 0x43d]
push 0
push ecx
mov byte [esp + 0x444], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea edx, [esp + 0x22d]
push 0
push edx
mov byte [esp + 0x234], 0
call fcn.1012e060
add esp, 0xc
push 0x103
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.1012e060
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push ebp
push 0x104
lea ecx, [esp + 0x440]
push ecx
push 0x1015f288
push str.EnablePhishFilter
push 0x10156244
call ebx
lea edx, [esp + 0x18]
push edx
lea esi, [esp + 0x22c]
call fcn.100874d0
push ebp
push 0x104
mov esi, eax
lea eax, [esp + 0x128]
push eax
push 0x1014d980
push str.ENHTTP
lea ecx, [esp + 0x2c]
push ecx
call ebx
push ebp
push 0x104
lea edx, [esp + 0x128]
push edx
push 0x1014d980
push str.noccdll
push 0x10156244
call ebx
lea eax, [esp + 0x120]
push eax
call fcn.10128238
add esp, 4
test eax, eax
jne 0x100878d8
push ebp
lea ecx, [esp + 0x1c]
push 0x104
push ecx
lea edi, [esp + 0x12c]
mov edx, 0x1014d980
mov ecx, str.noccdll
call fcn.10073c60
mov edx, edi
add esp, 0xc
push edx
call fcn.10128238
mov edi, dword [esp + 0x18]
add esp, 4
push 0x103
lea eax, [esp + 0x335]
push 0
push eax
mov dword [esp + 0x20], 1
mov byte [esp + 0x33c], 0
call fcn.1012e060
add esp, 0xc
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x334]
push str.SoftwareMicroWorld_s
push edx
call fcn.10127dc0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push str.HTTPAccessType
lea ecx, [esp + 0x338]
mov edx, reloc.WS2_32.dll_bind
call fcn.10059e30
push ebp
push 0x104
lea ecx, [esp + 0x440]
push ecx
push 0x1015f288
push str.EnablePhishFilter
push 0x10156244
call ebx
test edi, edi
je 0x100879f8
cmp esi, 0xffffffff
jne 0x10087996
push ebp
push 0x104
lea edx, [esp + 0x128]
push edx
push 0x1015f288
push str.LastButtonName
push 0x10156244
call ebx
lea eax, [esp + 0x120]
push eax
call fcn.10128238
add esp, 4
mov dword [edi], eax
jmp 0x100879f8
mov eax, str.ForKids
lea ecx, [esp + 0x18]
call fcn.1005a090
test eax, eax
jne 0x100879b0
mov dword [edi], 1
jmp 0x100879f8
mov eax, str.ForTeenager
lea ecx, [esp + 0x18]
call fcn.1005a090
test eax, eax
jne 0x100879ca
mov dword [edi], 2
jmp 0x100879f8
mov eax, str.ForAdolescent
lea ecx, [esp + 0x18]
call fcn.1005a090
test eax, eax
jne 0x100879e4
mov dword [edi], 3
jmp 0x100879f8
mov eax, str.ForAdult
lea ecx, [esp + 0x18]
call fcn.1005a090
mov dword [edi], 4
mov ecx, dword [esp + 0x544]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0x538
ret 4
Function at 0x10087a20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x10087b3f
cmp byte [eax], bl
je 0x10087b3f
lea edx, [esp + 0x3c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10087a70
lea esi, [esp + 0x3c]
call fcn.10065240
push 0x10168d14
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10087ac8
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
push ecx
mov edx, esi
push edx
call eax
cmp eax, ebx
je 0x10087b2b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
push 0x400
push eax
push ecx
jmp 0x10087b13
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp eax, ebx
je 0x10087b2b
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x14]
push ebx
push 0x400
xor ecx, ecx
push ecx
push eax
call fcn.10138fa0
push ebx
push 0x400
push edx
push eax
call fcn.10138fa0
mov dword [esp + 0x1c], edx
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10127db1
mov esp, ebp
pop ebp
ret
Function at 0x10088310
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10181c20
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 0x200
mov dword [ebp - 0x1c], 0x80
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x1008838a
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x10189710
call fcn.1013548c
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
push 0x200
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10088432
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx]
push edx
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
je 0x10088432
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea edx, [ebp - 0x28]
push edx
push edi
mov eax, dword [ebp + 8]
push eax
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x10088422
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10088432
mov ecx, dword [ebp - 0x28]
push ecx
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10088432
mov edx, dword [ebp - 0x1c]
lea eax, [edx + edx]
push eax
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x100883c1
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.100856e0
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.1008847f
test esi, esi
je 0x1008844e
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x1008845e
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100889f0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x20
call fcn.10088a60
test eax, eax
jne 0x10088a1e
push 0x20
lea eax, [esp + 4]
push eax
push 0x58
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x10088a54
test dword [esp + 0xc], 0x8000000
je 0x10088a54
mov eax, 1
test byte [0x101cd728], al
jne 0x10088a3e
or dword [0x101cd728], eax
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x101cd724], eax
mov ecx, dword [0x101cd724]
mov edx, dword [esp + 0x24]
push 0
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x20
ret
Function at 0x10088b80
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
call fcn.10088a60
test eax, eax
jne 0x10088c10
push 0x20
lea eax, [esp + 0xc]
push eax
push 0x58
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x10088bb3
test dword [esp + 0x14], 0x8000000
jne 0x10088bbc
call fcn.10088ab0
test eax, eax
je 0x10088bed
test ebp, ebp
je 0x10088bed
cmp byte [ebp], 0
je 0x10088bed
push str.Tahoma
push 0
push 0
push 0
push 0
push 1
push 0
push edi
push 0
push ebx
push 0
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
pop ebp
add esp, 0x24
ret
push ebp
push 0
push 0
push 0
push 0
push 1
push 0
push edi
push 0
push ebx
push 0
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
pop ebp
add esp, 0x24
ret
cmp esi, 0xa
mov eax, esi
jle 0x10088c1a
lea eax, [esi - 3]
push str.MS_Shell_Dlg
push 0
push 0
push 0
push 0
push 1
push 0
push edi
push 0
push ebx
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
pop ebp
add esp, 0x24
ret

Function at 0x10088c50
Capabilities:
Set file attributes

Disassembly:
mov eax, esi
call fcn.100611f0
cmp eax, 0xffffffff
jne 0x10088c5f
xor eax, eax
ret
test al, 7
je 0x10088c73
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x10088c5c
mov eax, 1
ret
Function at 0x10089070
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x104
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, ecx
mov eax, esi
mov byte [esp + 4], 0
call fcn.100611f0
cmp eax, 0xffffffff
je 0x100890a8
test al, 7
je 0x100890a8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
call fcn.1005ad10
cmp eax, 1
jne 0x100890ca
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10127db1
add esp, 0x104
ret
push ebx
mov ebx, 0x14
call fcn.1006a6c0
test eax, eax
jne 0x100890dc
lea ebx, [eax + 1]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov eax, esi
call fcn.1005ad10
cmp eax, 1
je 0x1008912b
sub ebx, 1
jne 0x100890e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100
mov edi, eax
lea esi, [esp + 0x10]
call fcn.100652a0
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10127db1
add esp, 0x104
ret
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
pop esi
xor ecx, esp
mov eax, 1
call fcn.10127db1
add esp, 0x104
ret

Function at 0x1008a1b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10146988
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x484], ebx
cmp dword [esp + 0x4a4], 0x10
mov eax, dword [esp + 0x490]
jae 0x1008a20e
lea eax, [esp + 0x490]
push 0x10163160
push eax
call fcn.1012982a
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x1008a258
push 2
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x1016a8b0
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10009b30
cmp dword [esp + 0x4a4], 0x10
jb 0x1008a308
mov eax, dword [esp + 0x490]
push eax
jmp 0x1008a300
push esi
push 0x400
lea ecx, [esp + 0x80]
push 1
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.1012a83e
add esp, 0x10
cmp eax, ebx
je 0x1008a2cc
lea esp, [esp]
lea edx, [esp + 0x78]
push edx
mov ecx, eax
lea edx, [esp + 0x14]
call fcn.10089650
push esi
push 0x400
lea eax, [esp + 0x80]
push 1
push eax
call fcn.1012a83e
add esp, 0x10
cmp eax, ebx
jne 0x1008a2a0
lea edx, [esp + 0x10]
lea ecx, [esp + 0x68]
call fcn.10089770
push esi
call fcn.10129ad3
add esp, 4
lea ecx, [esp + 0x68]
push ecx
mov ebx, edi
call fcn.1008a100
cmp dword [esp + 0x4a4], 0x10
jb 0x1008a308
mov edx, dword [esp + 0x490]
push edx
call fcn.10128f9e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.10127db1
add esp, 0x47c
ret 0x1c
Function at 0x1008a650
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xc40
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xc3c], eax
push ebx
push ebp
push edi
xor ebx, ebx
push 0x40f
lea eax, [esp + 0x1d]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x24], bl
call fcn.1012e060
push 0x40f
lea ecx, [esp + 0x439]
push ebx
push ecx
mov byte [esp + 0x440], bl
call fcn.1012e060
push 0x40f
lea edx, [esp + 0x855]
push ebx
push edx
mov byte [esp + 0x85c], bl
call fcn.1012e060
add esp, 0x24
xor ebp, ebp
cmp edi, ebx
je 0x1008a7db
cmp byte [edi], bl
je 0x1008a7db
push esi
lea eax, [esp + 0x83c]
push str.TypeLib
push eax
call fcn.10127dc0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 9
push ebx
lea edx, [esp + 0x848]
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x1008a7c0
mov ecx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x410
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
xor esi, esi
mov byte [esp + 0x2c], bl
call ebp
test eax, eax
jne 0x1008a788
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x42c], bl
je 0x1008a76d
lea edx, [esp + 0x42c]
call fcn.10089400
test eax, eax
je 0x1008a76d
mov ecx, edi
mov edi, edx
call fcn.1008a800
test eax, eax
jne 0x1008a7b0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0x410
lea ecx, [esp + 0x20]
push ecx
inc esi
push esi
push edx
mov byte [esp + 0x2c], bl
call ebp
test eax, eax
je 0x1008a730
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ebp, ebx
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0xc3c]
xor ecx, esp
call fcn.10127db1
add esp, 0xc40
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, 1
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0xc3c]
xor ecx, esp
call fcn.10127db1
add esp, 0xc40
ret
mov ecx, dword [esp + 0xc48]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0xc40
ret
Function at 0x1008ba00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10146fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
xor edi, edi
sub eax, dword [ebx + 0xc]
je 0x1008ba73
mov esi, dword [ebx + 0x10]
sub esi, dword [ebx + 0xc]
jne 0x1008ba42
call fcn.10128a71
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
push 0
sub esi, edi
push esi
add eax, edi
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
je 0x1008baf6
cmp eax, 0xffffffff
je 0x1008bb2e
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
add edi, eax
cmp edi, edx
jb 0x1008ba35
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
cmp edi, eax
je 0x1008bb43
push edi
push ecx
push str._recieved:
push ecx
push eax
push ecx
push str.______EXCEPTION_IN_recieve_func_int_clientserver::_receivePlain_int_socketfd__std::vector_char__charbuffer_._Bytes_recieved_not_equal_to_bytes_expected._Expected:
push 0x101a5aa0
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
add esp, 4
push eax
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c8b0
push str.______EXCEPTION_IN_recieve_func__payload_._Bytes_recieved_not_equal_to_bytes_expected._n
lea ecx, [esp + 0x14]
call fcn.100098a0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], 0
call fcn.1000b320
push 0x10180d2c
lea eax, [esp + 0x30]
push eax
call fcn.1012d77b
push str.__int_recieve:_recv_return_0_bytes.__int_clientserver::_receivePlain_int_socketfd__std::vector_char__charbuffer__._Returning_from_function.
push 0x101a5aa0
call fcn.1000e410
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c8b0
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008c1b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10147848
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.1008c670
xor esi, esi
mov dword [esp + 0x30], esi
cmp dword [0x101b60e8], esi
je 0x1008c200
push str._HF__ConnectAgent::createConnect
push esi
call fcn.1006ed90
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [esp + 0x14]
push eax
call fcn.1008be90
add esp, 0xc
cmp dword [0x101b60e8], esi
je 0x1008c22c
push edi
push str._HF___sendmsg__socket___d_
push esi
call fcn.1006ed90
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x43
push edi
call fcn.1008b610
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
jg 0x1008c27d
cmp eax, esi
je 0x1008c251
push eax
call fcn.10128f9e
add esp, 4
mov edx, dword [esp + 0xc]
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.10128f9e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, esi
je 0x1008c28a
push eax
call fcn.10128f9e
add esp, 4
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.10128f9e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008c2c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
mov ebp, dword [esp + 0x220]
push esi
push edi
xor edi, edi
push 0x103
lea eax, [esp + 0x1d]
mov esi, ecx
push edi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], 0
call fcn.1012e060
push 0x103
lea ecx, [esp + 0x12d]
push edi
push ecx
mov byte [esp + 0x134], 0
call fcn.1012e060
add esp, 0x18
cmp ebp, edi
je 0x1008c329
mov byte [ebp], 0
lea edx, [esp + 0x11c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1008c36c
cmp ebp, edi
je 0x1008c352
push str.Failed_to_getTempPath.
push ebp
call fcn.10127dc0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10127db1
add esp, 0x218
ret
push esi
push edi
push str.MWPR
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x1014d5e3
push esi
call fcn.10055560
mov edi, eax
add esp, 8
test edi, edi
jne 0x1008c3c2
test ebp, ebp
je 0x1008c3a8
push esi
push str._Unable_to_Create_ZIP_FILE:__s__
push ebp
call fcn.10127dc0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10127db1
add esp, 0x218
ret
push 1
lea ecx, [esp + 0x10]
push 0x2c
push ecx
lea edx, [esp + 0x24]
push edx
xor cl, cl
mov edx, ebx
call fcn.10061f00
add esp, 0x10
cmp dword [esp + 0xc], 0xffffffff
je 0x1008c42f
push 0
lea ecx, [esp + 0x1c]
call fcn.100620f0
add esp, 4
cmp dword [edi], 2
jne 0x1008c458
mov ecx, dword [edi + 4]
push eax
lea edx, [esp + 0x1c]
call fcn.10054ce0
mov dword [0x101b5bcc], eax
mov esi, eax
test eax, eax
jne 0x1008c463
push 1
push 0x2c
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
xor cl, cl
mov edx, ebx
call fcn.10061f00
add esp, 0x10
cmp dword [esp + 0xc], 0xffffffff
jne 0x1008c3e3
mov dword [esp + 0x10], 1
call fcn.10055660
mov ecx, dword [esp + 0x220]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10127db1
add esp, 0x218
ret
mov esi, 0x80000
mov dword [0x101b5bcc], esi
test ebp, ebp
je 0x1008c437
mov edx, dword [esp + 0x14]
push edx
push 0
lea ecx, [esp + 0x20]
call fcn.100620f0
add esp, 4
push eax
push esi
push str._Err:__d._Unable_to_Add__s_file_to_ZIP_FILE:__s__
push ebp
call fcn.10127dc0
add esp, 0x14
jmp 0x1008c437
Function at 0x1008c490
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 0x109]
push 0
push eax
mov byte [esp + 0x110], 0
call fcn.1012e060
push 0x103
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.1012e060
add esp, 0x18
cmp byte [0x101b7fd0], 0
je 0x1008c63a
push 1
push 0
xor edx, edx
mov ecx, 0x101b7fd0
call fcn.10060eb0
add esp, 8
test eax, eax
je 0x1008c52f
test edi, edi
je 0x1008c64c
push 0x101b7fd0
push str.Zipped_File___s__not_found..
push edi
call fcn.10127dc0
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10127db1
add esp, 0x20c
ret
push 0x104
lea edx, [esp + 0x108]
push edx
push 0x1014d5e3
mov edx, str.TempDir
mov ecx, str.eScan
call fcn.1005ffb0
add esp, 0xc
cmp byte [esp + 0x104], 0
jne 0x1008c586
lea eax, [esp + 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1008c586
test edi, edi
je 0x1008c64c
push str.Failed_to_get_temp_path...
jmp 0x1008c643
lea ecx, [esp + 0x104]
call fcn.10065200
xor eax, eax
mov cl, byte [esp + eax + 0x104]
mov byte [esp + eax], cl
inc eax
test cl, cl
jne 0x1008c594
lea eax, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1008c5a7
mov ecx, dword [str.escan]
mov dx, word [0x1016f35c]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp]
push 0
push eax
call fcn.100612a0
add esp, 8
test eax, eax
jne 0x1008c604
lea ecx, [esp]
push ecx
push str.escanTmpPath_dir___s__not_found..trying_to_create
push eax
call fcn.1006ed90
add esp, 0xc
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
je 0x1008c604
lea eax, [esp]
push eax
call fcn.10076170
add esp, 4
test esi, esi
je 0x1008c61b
lea eax, [esp]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1008c611
mov edx, edi
lea ecx, [esp]
call fcn.1005e040
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10127db1
add esp, 0x20c
ret
test edi, edi
je 0x1008c64c
push str.Invalid_Parameter_ZipFileName..____
push edi
call fcn.10127dc0
add esp, 8
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.10127db1
add esp, 0x20c
ret
Function at 0x1008d400
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0
push sym.DNSLIB.dll_IcmpEchoThread
call fcn.10127f7d
add esp, 0xc
ret 4