joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004d7d1
Capabilities:
Hash data using sha1

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

Function at 0x1004ebd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1f5c
call fcn.1006bbf0
mov eax, dword [0x100ce038]
xor eax, esp
mov dword [esp + 0x1f58], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
test eax, eax
jne 0x1004ec06
xor al, al
jmp 0x1004ecc1
push 0x100968dc
push eax
call dword [sym.imp.MSVCR90.dll__wfopen]
mov esi, eax
pop ecx
pop ecx
mov dword [esp + 0xc], esi
test esi, esi
je 0x1004ebff
mov edi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
push 0
cdq
push 0
push dword [esp + 0x24]
mov ebx, eax
mov esi, edx
call edi
add esp, 0x1c
mov edi, ebx
mov dword [esp + 0x14], esi
test esi, esi
jl 0x1004ecad
jg 0x1004ec54
test ebx, ebx
jbe 0x1004ecad
cmp dword [esp + 0x14], 0
jl 0x1004ec6c
jg 0x1004ec65
cmp edi, 0x1f40
jbe 0x1004ec6c
mov eax, 0x1f40
jmp 0x1004ec6e
mov eax, edi
push dword [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1004ecd8
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.1004eb2c
sub edi, ebx
sbb dword [esp + 0x14], 0
cmp dword [esp + 0x14], 0
jg 0x1004ec65
jl 0x1004ecad
test edi, edi
ja 0x1004ec54
push dword [esp + 0xc]
call dword [sym.imp.MSVCR90.dll_fclose]
xor eax, eax
or edi, dword [esp + 0x18]
pop ecx
jne 0x1004ecc1
inc eax
mov ecx, dword [esp + 0x1f64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006b19e
mov esp, ebp
pop ebp
ret 8
push dword [esp + 0xc]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
jmp 0x1004ebff

Function at 0x1004ef67
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x1b
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1004ef80
push 2
mov ecx, esi
call sym.winzipsshelper.dll_public:_void___thiscall_CDlgBaseWndPopupNagBase::ActionOnBtnClick_enum_CDlgBaseWndPopupNagBase::BTN_CLICKED_
pop esi
ret
Function at 0x10051b6f
Capabilities:
Get system information on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x3c
mov eax, 0x1006c71a
call fcn.1006c26d
mov eax, dword [ebp + 0x128]
and dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x12c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x130]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x134]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x138]
push 9
mov ebx, ecx
pop ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov esi, 0x11c
push esi
lea edi, [ebp - 0x48]
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov dword [ecx], eax
movzx eax, byte [ebp + 0x11a]
mov ecx, dword [ebp - 0x20]
push str.GetNativeSystemInfo
push 0x1008825c
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10051c36
lea ecx, [ebp - 0x48]
push ecx
call eax
jmp 0x10051c40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
movzx eax, word [ebp + 0x114]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
movzx eax, word [ebp + 0x116]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0x120
leave
ret 0x14
Function at 0x10051d81
Capabilities:
Get memory capacity

Disassembly:
push 0x70
mov eax, 0x10072d9b
call fcn.1006c26d
and dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], eax
call dword [0x10085f84]
lea ecx, [ebp - 0x20]
call dword [0x10085f84]
lea ecx, [ebp - 0x1c]
call dword [0x10085f84]
lea ecx, [ebp - 0x18]
call dword [0x10085f84]
push ebx
push edi
mov ebx, str._llu
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push ebx
push eax
call edi
add esp, 0x10
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push esi
push ebx
push eax
call edi
add esp, 0x10
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x2c]
push ebx
push eax
call edi
add esp, 0x10
push dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push dword [ebp - 0x34]
push ebx
push eax
call edi
mov esi, dword [ebp + 8]
add esp, 0x10
xor edi, edi
inc edi
push edi
push 0
push str.memory_info
push esi
call fcn.1005313c
mov eax, esi
call fcn.100525e6
push edi
push dword [ebp - 0x24]
push str.total_phy
push esi
call fcn.1005313c
push edi
push dword [ebp - 0x20]
push str.avail_phy
push esi
call fcn.1005313c
push edi
push dword [ebp - 0x1c]
push str.total_page_file
push esi
call fcn.1005313c
push edi
push dword [ebp - 0x18]
push str.avail_page_file
push esi
call fcn.1005313c
call fcn.10052610
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.1006c312
ret 4
Function at 0x100535e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor edi, edi
xor eax, eax
mov esi, 0x100
mov byte [ebp + eax + 0x90], al
inc eax
cmp eax, esi
jb 0x10053618
xor eax, eax
xor ecx, ecx
cmp eax, 0x31
jne 0x1005362f
xor eax, eax
mov dl, byte [eax + str._hardwareidentifier_pci_ven__s_hardwareidentifier_]
inc eax
mov byte [ebp + ecx - 0x74], dl
inc ecx
cmp ecx, esi
jb 0x10053628
mov dword [ebp - 0x78], edi
mov eax, 0xff
movsx esi, byte [ebp + edi - 0x74]
add esi, dword [ebp - 0x78]
lea ecx, [ebp + edi + 0x90]
mov dl, byte [ecx]
movsx ebx, dl
add ebx, esi
and ebx, eax
mov esi, ebx
mov dword [ebp - 0x78], esi
lea esi, [ebp + esi + 0x90]
mov bl, byte [esi]
inc edi
mov byte [ecx], bl
mov byte [esi], dl
cmp edi, 0x100
jb 0x10053647
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
cmp dword [ebp + 0x1a4], edi
jbe 0x100536d5
inc edi
and edi, eax
lea ecx, [ebp + edi + 0x90]
mov dl, byte [ecx]
movsx esi, dl
add esi, dword [ebp - 0x78]
and esi, eax
mov dword [ebp - 0x78], esi
lea esi, [ebp + esi + 0x90]
mov bl, byte [esi]
mov byte [ecx], bl
mov ebx, dword [ebp - 0x80]
mov byte [esi], dl
movsx ecx, byte [ecx]
mov esi, dword [ebp - 0x7c]
movsx edx, dl
add ecx, edx
and ecx, eax
mov cl, byte [ebp + ecx + 0x90]
add ebx, esi
xor byte [ebx], cl
inc esi
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp + 0x1a4]
jb 0x1005368a
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006b19e
add ebp, 0x198
leave
ret 8

Function at 0x10054351
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call sub.MSVCR90.dll_memset
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
ret
Function at 0x10057247
Capabilities:
Get common file path
Shutdown system

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x1006f7cd
call fcn.1006c23a
lea eax, [ebp - 0x18]
push eax
push 0x28
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1005738b
lea eax, [ebp - 0x20]
push eax
push str.SeShutdownPrivilege
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, ebx
je 0x1005738b
mov eax, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1005738b
lea ecx, [ebp - 0x10]
call dword [0x10085f84]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
push str.winsxspending.xml
lea ecx, [ebp - 0x14]
call dword [0x10085f70]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call sym.winzipsshelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x10]
push eax
call sym.winzipsshelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__
pop ecx
test eax, eax
je 0x1005735b
call sym.winzipsshelper.dll_unsigned_long_int___cdecl__winmajor_void_
cmp eax, 5
jbe 0x1005735b
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x10057382
xor eax, eax
cmp byte [esi + 0x584], bl
push 0x10
setne al
inc eax
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
call fcn.10010a42
push ebx
push ebx
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1006b19e
add ebp, 0x20c
leave
ret
Function at 0x1005863c
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, ecx
push edi
push esi
mov ecx, 0x100d41c4
mov dword [0x100d41c0], 0x1000
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_4]
mov eax, esi
push 2
lea edx, [eax + 2]
pop edi
xor ebx, ebx
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x1005867c
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x10058701
cmp word [esi + 2], 0x3a
je 0x10058701
push 0x104
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, edi
cmp cx, bx
jne 0x100586ac
sub eax, edx
sar eax, 1
lea ecx, [ebp + eax*2 - 0x7e]
je 0x100586cd
sub ecx, edi
dec eax
cmp word [ecx], 0x5c
je 0x100586d3
cmp eax, ebx
jne 0x100586c0
cmp word [ecx], 0x5c
jne 0x100586ea
lea edx, [ecx + 2]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x100586da
jmp 0x10058716
lea edx, [ebp - 0x7c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x100586f1
jmp 0x10058716
lea edx, [ebp - 0x7c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, edi
cmp cx, bx
jne 0x10058708
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10058739
push ecx
lea eax, [ebp - 0x7c]
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call dword [0x10085f70]
call fcn.1005882b
push ebx
push 0x8b041
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x100d41ac]
mov esi, 0x100d41ac
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x1005876c
mov eax, dword [0x100d41ac]
push edi
push ebx
push ebx
mov ecx, esi
mov byte [0x100d41bc], 1
call dword [eax + 0x30]
jmp 0x10058772
mov byte [0x100d41bc], bl
push 0x100d4190
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006b19e
add ebp, 0x194
leave
ret
Function at 0x10058c6d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi + 0x10], edi
push 0xa
push str.ncacn_np
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
test eax, eax
je 0x10058c9a
mov dword [esi + 0x10], 4
xor eax, eax
jmp 0x10058cda
push sym.winzipsshelper.dll_protected:_struct_HBRUSH______thiscall_CTransparentStatic2::CtlColor_class_CDC___unsigned_int_
push 0x4d2
push 0x10
push edi
push edi
push dword [esi + 8]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
test eax, eax
jne 0x10058c8f
lea eax, [ebp - 4]
push eax
push edi
push edi
push sym.winzipsshelper.dll_private:_static_unsigned_long_int___stdcall_CRpcServer::RpcServerListenThreadProc_void__
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp eax, edi
je 0x10058c8f
mov eax, dword [ebp + 8]
mov dword [esi], eax
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4

Function at 0x10058ce0
Capabilities:
Listen for remote procedure calls

Disassembly:
push 0
push 0x4d2
push 1
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
ret 4
Function at 0x100592ca
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x30
mov eax, 0x10071751
call fcn.1006c23a
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], esi
call dword [0x10085f84]
lea eax, [ebp - 0x18]
push eax
push 0x1008659c
push 1
push esi
push 0x100865ac
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10059311
mov ecx, dword [ebp + 8]
push esi
call dword [0x10085f70]
jmp 0x100593f4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x1008658c
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x18]
cmp eax, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
jge 0x10059335
call dword [ecx + 8]
jmp 0x10059302
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x14]
cmp word [ebp - 0x10], si
je 0x100593e7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x24]
fldz
mov dword [ebp - 0x24], esi
fstp qword [ebp - 0x2c]
lea ebx, [ebp - 0x2c]
lea esi, [ebp - 0x3c]
call fcn.100053f1
neg eax
sbb eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x3c], bx
je 0x100593e7
cmp word [ebp - 0x36], bx
je 0x100593e7
cmp word [ebp - 0x3a], bx
je 0x100593e7
push str._b__d___Y__H:_M:_S
lea edi, [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.10005528
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [0x10085f74]
mov ecx, edi
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x10088288
lea eax, [ebp + 0xc]
push str.IDS_HOURS
push eax
call sym.winzipsshelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Append]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [0x10085f0c]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
call fcn.1006c312
ret 8
Function at 0x1005b13d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100ce038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
add edi, 4
mov eax, dword [edi]
xor esi, esi
mov dword [ebp - 0x14], edi
cmp eax, esi
je 0x1005b169
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [edi], esi
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], esi
mov dword [ebp - 8], esi
mov ebx, SysReAllocStringLen
cmp dword [ebp + 8], esi
je 0x1005b1ba
push dword [ebp + 8]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.1006c200
mov ecx, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edx
jne 0x1005b1ba
cmp eax, 0xffffffff
jbe 0x1005b1bf
mov dword [ebp - 0xc], esi
jmp 0x1005b1fd
cmp ecx, 0x400
jg 0x1005b1de
push ecx
call fcn.10068edd
pop ecx
test al, al
je 0x1005b1de
mov eax, dword [ebp - 0x10]
call fcn.1006b7e0
mov eax, esp
jmp 0x1005b1e9
push dword [ebp - 0x10]
lea esi, [ebp - 8]
call fcn.10068e82
push 3
push dword [ebp - 0x10]
mov esi, eax
push dword [ebp + 8]
call fcn.10068f53
mov dword [ebp - 0xc], eax
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x1005b223
push dword [ebp + 0xc]
call edi
push esi
inc eax
cdq
push 2
push edx
push eax
call fcn.1006c200
mov edi, eax
add eax, ebx
adc edx, esi
mov dword [ebp - 0x1c], edx
jne 0x1005b223
cmp eax, 0xffffffff
jbe 0x1005b227
xor eax, eax
jmp 0x1005b25d
cmp edi, 0x400
jg 0x1005b245
push edi
call fcn.10068edd
pop ecx
test al, al
je 0x1005b245
mov eax, edi
call fcn.1006b7e0
mov eax, esp
jmp 0x1005b24e
push edi
lea esi, [ebp - 8]
call fcn.10068e82
push 3
push edi
push dword [ebp + 0xc]
mov esi, eax
call fcn.10068f53
xor esi, esi
cmp dword [ebp - 0xc], esi
je 0x1005b296
cmp eax, esi
je 0x1005b296
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
cmp dword [ebp - 8], esi
je 0x1005b292
mov eax, dword [ebp - 8]
mov edi, dword [eax]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp edi, esi
jne 0x1005b27e
mov eax, ebx
jmp 0x1005b2ba
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebp - 8], esi
je 0x1005b2b7
mov eax, dword [ebp - 8]
mov edi, dword [eax]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp edi, esi
jne 0x1005b2a3
or eax, 0xffffffff
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006b19e
leave
ret 8
Function at 0x1005c397
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push edi
push 6
lea edx, [esi + 0x10]
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call fcn.10068cf7
xor ebx, ebx
cmp eax, ebx
jge 0x1005c3b7
push eax
call fcn.1000574c
push 6
lea edx, [esi + 0x28]
pop ecx
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call fcn.10068cf7
cmp eax, ebx
jl 0x1005c3b1
or dword [esi + 0x40], 0xffffffff
mov dword [esi], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x2710
cmp dword [0x100d2650], ebx
je 0x1005c407
push 0x100d24c0
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x100d2650], eax
pop edi
mov eax, esi
pop ebx
ret

Function at 0x1005c50c
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [esi + 0x44], bl
je 0x1005c51e
mov al, 1
jmp 0x1005c590
mov eax, dword [esi + 0x40]
mov byte [ebp - 1], 1
cmp eax, 0xffffffff
jne 0x1005c52e
xor al, al
jmp 0x1005c590
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x1005c58a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1005c584
push dword [esi + 0x4c]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1005c587
push 0x2c
lea eax, [ebp - 0x30]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push ebx
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1005c58a
mov dword [esi + 0x48], eax
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
mov byte [esi + 0x44], al
pop ebx
leave
ret 8
Function at 0x1005c595
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call edi
test eax, eax
je 0x1005c5bc
mov dword [esi + 0x48], 0x2749
xor al, al
jmp 0x1005c663
push ebx
xor ebx, ebx
push ebx
push dword [esi + 8]
call edi
cmp eax, 0x102
jne 0x1005c5da
mov dword [esi + 0x48], 0x2734
xor al, al
jmp 0x1005c662
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x1005c622
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1005c654
push dword [esi + 0x4c]
push dword [esi + 8]
call edi
test eax, eax
jne 0x1005c657
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x40]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x1005c64e
mov bl, 1
jmp 0x1005c657
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x48], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
leave
ret 0xc