joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008ef0
Capabilities:
Enumerate process modules
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push edi
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0x224
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x244]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x10023714
push 0x10023720
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10008f59
xor eax, eax
jmp 0x10009092
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x1f03ff
call dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10008f77
xor eax, eax
jmp 0x10009092
push 0x1002372c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10008f92
xor eax, eax
jmp 0x10009092
push 0x10023738
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
push 9
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x10009054
mov edx, dword [ebp + 0x10]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call sub.KERNEL32.dll_Module32First
mov dword [ebp - 0x250], eax
jmp 0x10009006
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x10009047
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x22c]
cmp edx, dword [ebp - 0xc]
ja 0x10009045
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10009045
mov dword [ebp - 0x24c], 1
jmp 0x10008fed
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x24c], 0
je 0x10009083
cmp dword [ebp + 0x14], 0
je 0x10009079
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x10009083
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10009140
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push edi
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0x224
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x244]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push str.OpenThread
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100091a9
xor eax, eax
jmp 0x1000925a
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x1f03ff
call dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100091c7
xor eax, eax
jmp 0x1000925a
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100091df
xor eax, eax
jmp 0x1000925a
push str.NtQueryInformationThread
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp - 0x10]
push eax
push 9
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x1000921c
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 8]
jne 0x1000921c
mov dword [ebp - 0x24c], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x24c], 0
je 0x1000924b
cmp dword [ebp + 0x14], 0
je 0x10009241
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1000924b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000ae60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x1000aebf
lea ecx, [ebp - 0x190]
push ecx
movzx edx, byte [ebp + 0xc]
and edx, 0xff
movzx eax, dl
movzx ecx, byte [ebp + 0x10]
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
push eax
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esp, ebp
pop ebp
ret
Function at 0x1000b930
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0xffffffff
je 0x1000ba0a
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
and ecx, 3
je 0x1000b985
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
and eax, 8
je 0x1000b985
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x8004667e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
and ecx, 0xfffffffc
mov edx, dword [ebp + 0xc]
mov byte [edx], cl
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000b9d0
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
and edx, 8
je 0x1000b9d0
mov word [ebp - 0x10], 0
mov word [ebp - 0xe], 0
lea ecx, [ebp - 0x18]
call fcn.1000a140
lea eax, [ebp - 0x18]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push 0x80
push 0xffff
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1000ba30
add esp, 0x1c
call fcn.1000ba20
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000ba0a
lea ecx, [ebp - 0x20]
call fcn.1000a140
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x1000bd20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.1000ba20
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x18]
call fcn.10017310
cmp eax, 0x40
jne 0x1000bd88
push 0x2746
mov ecx, dword [ebp + 0x18]
call fcn.1000eaf0
jmp 0x1000bda4
mov ecx, dword [ebp + 0x18]
call fcn.10017310
cmp eax, 0x4d2
jne 0x1000bda4
push 0x274d
mov ecx, dword [ebp + 0x18]
call fcn.1000eaf0
cmp dword [ebp - 0xc], 0
je 0x1000bdaf
or eax, 0xffffffff
jmp 0x1000bdc7
lea ecx, [ebp - 0x18]
call fcn.1000a140
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000cbe0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x1000cbfe
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1000cbfe
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
jmp 0x1000cc05
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call fcn.1000ba20
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.1000cc60
add esp, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x1000ffa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.1000ba20
mov eax, dword [ebp + 0x14]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000ffde
mov eax, dword [ebp - 4]
jmp 0x10010017
cmp dword [ebp + 8], 0x17
jne 0x1000ffff
mov dword [ebp - 8], 0
push 4
lea ecx, [ebp - 8]
push ecx
push 0x1b
push 0x29
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [ebp - 0x10]
call fcn.1000a140
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10010600
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 8]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10010700
movzx ecx, al
test ecx, ecx
je 0x10010655
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10010678
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
push 0x10010680
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
Function at 0x10011980
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x1001199d
push 0x2719
mov ecx, dword [ebp + 0x10]
call fcn.1000eaf0
xor al, al
jmp 0x100119fb
call fcn.1000ba20
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x100119f9
lea ecx, [ebp - 0x10]
call fcn.1000a140
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
or edx, 2
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
mov al, 1
jmp 0x100119fb
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100122b0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_connect]
pop ebp
ret

Function at 0x100123b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021b47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.10013600
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], 0x10023a38
mov edx, dword [ebp + 8]
push edx
call fcn.10013bb0
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.10009a00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call fcn.10012510
mov byte [ebp - 4], 2
push 0x10012b70
push 0x10013630
push 4
push 0x24
mov edx, dword [ebp - 0x2c]
add edx, 0x38
push edx
call fcn.1001d500
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc8
call fcn.1000c190
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0xcc], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0xd4], 0
lea ecx, [ebp - 0xd]
call fcn.10012b20
mov byte [ebp - 4], 4
push 0xc
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x100124c1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x10012d80
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10013bc0
add esp, 0xc
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10013be0
mov dword [ebp - 0x30], eax
jmp 0x100124c8
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xd0], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd]
call fcn.100181a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10012a20
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0xffffffff
jne 0x10012a3e
push 0x2719
mov ecx, dword [ebp + 0x18]
call fcn.1000eaf0
or eax, 0xffffffff
jmp 0x10012ab2
call fcn.1000ba20
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10012aaf
lea ecx, [ebp - 0xc]
call fcn.1000a140
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp dword [ebp + 0x10], 0x8004667e
jne 0x10012aaf
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x10012aa1
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
or eax, 1
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
jmp 0x10012aaf
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
and eax, 0xfffffffc
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100132a0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
call fcn.1000ba20
cmp dword [ebp + 0xc], 0
jne 0x1001330e
cmp dword [ebp + 0x10], 0
jne 0x1001330e
cmp dword [ebp + 0x14], 0
jne 0x1001330e
cmp dword [ebp + 0x18], 0
je 0x1001330e
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
imul ecx, ecx, 0x3e8
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
cdq
mov esi, 0x3e8
idiv esi
add ecx, eax
mov dword [ebp - 8], ecx
jne 0x100132eb
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
call fcn.1000a140
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
jmp 0x10013383
cmp dword [ebp + 0x18], 0
je 0x1001333b
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x1001333b
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
jle 0x1001333b
mov eax, dword [ebp + 0x18]
cmp dword [eax + 4], 0x3e8
jge 0x1001333b
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 4], 0x3e8
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10013380
lea ecx, [ebp - 0x18]
call fcn.1000a140
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013420
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.1000ba20
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
push eax
call fcn.100100c0
add esp, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x18]
call fcn.10017310
cmp eax, 0x40
jne 0x10013488
push 0x2746
mov ecx, dword [ebp + 0x18]
call fcn.1000eaf0
jmp 0x100134a4
mov ecx, dword [ebp + 0x18]
call fcn.10017310
cmp eax, 0x4d2
jne 0x100134a4
push 0x274d
mov ecx, dword [ebp + 0x18]
call fcn.1000eaf0
cmp dword [ebp - 0xc], 0
je 0x100134af
or eax, 0xffffffff
jmp 0x100134c7
lea ecx, [ebp - 0x18]
call fcn.1000a140
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10017840
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10017881
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
call fcn.10009e60
push eax
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ee40
push 0x10023b18
lea ecx, [ebp - 0x10]
push ecx
call fcn.10009a80
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x100182c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x10019f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x10019f88
cmp dword [ebp + 0x10], 0
je 0x10019f88
cmp dword [ebp + 0x18], 0
jne 0x10019f8f
xor eax, eax
jmp 0x1001a0a3
push 0x100
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001a0b0
add esp, 0xc
test eax, eax
jne 0x10019fc4
xor eax, eax
jmp 0x1001a0a3
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x10019feb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0xc]
jge 0x1001a086
mov eax, dword [ebp - 8]
add eax, 1
and eax, 0x800000ff
jns 0x1001a00b
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
add edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1001a02a
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
push ecx
call fcn.1001a170
add esp, 8
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
add edx, ecx
and edx, 0x800000ff
jns 0x1001a070
dec edx
or edx, 0xffffff00
inc edx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx]
xor eax, edx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x14]
mov byte [ecx], al
jmp 0x10019fe2
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x1001b090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x108]
push edx
push str._s_s
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1001e270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10022411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1000daf0
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x1001e288
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10022411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1000daf0
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x1001e2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10022411
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1000daf0
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret