joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73b310
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x1c], 0
jne 0x73b34d
mov ecx, dword [esi + 0x7c]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
push ebx
mov dword [esi + 0x7c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret 8
cmp dword [esp + 0x20], 0
push edi
mov edi, dword [esi + 0x7c]
je 0x73b3d1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x20
push 0x20
push 0
lea eax, [esi + 0x38]
push eax
call dword [0x8a3524]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x78]
push 4
add edx, 4
push edx
push 0x700b
push 0xffff
push edi
call dword [sym.imp.WSOCK32.dll_setsockopt]
jmp 0x73b3db
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
or edi, 0xffffffff
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.0073b280
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

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

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x44]
push edi
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x73e628
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ecx
ret 8
mov eax, dword [esi + 0x70]
xor edx, edx
mov edi, dword [esp + 0x14]
test eax, eax
setle dl
push ebx
mov ebx, dword [esp + 0x14]
push ebp
sub edx, 1
and eax, edx
xor edx, edx
test eax, eax
setne dl
mov ebp, edx
test ebp, ebp
jne 0x73e678
push edx
push edi
push ebx
push ecx
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x73e69b
cmp eax, edi
jl 0x73e674
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
add ebx, eax
sub edi, eax
push edi
push ebx
mov ecx, esi
call fcn.0073e480
test ebp, ebp
jne 0x73e6b1
test eax, eax
je 0x73e6b1
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x73e678
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
pop edi
pop esi
pop ecx
ret 8
Function at 0x73f240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x78ebf7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi], vtable.OsNet::TCPLISTEN.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0x34]
movzx ecx, word [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], 1
lea eax, [esi + 0x24]
mov dword [eax + 4], ebx
mov dword [eax], eax
not eax
mov dword [esp + 0x20], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x20], 1
jbe 0x73f34f
mov dword [esp + 0x2c], eax
jmp 0x73f2d0
push ebx
push 0x5f1
push str..W32OsTcp.cpp
push 0x80
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
cmp eax, ebx
mov byte [esp + 0x20], 2
je 0x73f300
push esi
mov ecx, eax
call fcn.0073e1a0
jmp 0x73f302
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x20], 1
mov ecx, eax
jne 0x73f310
lea ecx, [esi + 0x24]
mov ebp, dword [ecx]
cmp ebp, ebx
je 0x73f337
mov edi, dword [ecx + 4]
cmp edi, ebx
jg 0x73f321
not edi
jmp 0x73f328
mov edx, ecx
sub edx, dword [ebp + 4]
add edi, edx
mov dword [edi], ebp
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
sub dword [esp + 0x2c], 1
mov edx, dword [esi + 0x24]
mov dword [ecx], edx
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov dword [edx + 4], eax
mov dword [esi + 0x24], ecx
jne 0x73f2d0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x73fa60
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
mov esi, ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0073c470
mov dword [esi], vtable.OsNet::TCPCONN.0
xor ecx, ecx
mov dword [esi + 0x70], ecx
push 4
lea eax, [esi + 0x6c]
mov dword [eax], eax
lea edx, [esp + 0x1c]
push edx
not eax
push 8
mov dword [esi + 0x68], ecx
mov dword [esi + 0x70], eax
mov eax, dword [esi + 4]
push 0xffff
push eax
mov dword [esi + 0x74], ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x20], 1
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
mov eax, esi
pop esi
ret 0x14
Function at 0x73fc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78ec58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0073fa60
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x14], 0
mov dword [esi], vtable.OsNet::SLTCPCONN.0
je 0x73fcdf
mov eax, dword [esp + 0x34]
test eax, eax
je 0x73fcdf
push eax
push ecx
mov ecx, esi
call fcn.0073e600
mov ecx, esi
call fcn.00739760
test eax, eax
push 1
jne 0x73fd08
mov ecx, esi
call fcn.0073f680
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
mov ecx, dword [esi + 0x60]
push esi
call fcn.0073f570
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c

Function at 0x741ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78ed68
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0073fa60
mov edx, dword [esp + 0x20]
push 0
push esi
mov dword [esi], vtable.OsNet::IOTCPCONN.0
mov dword [esi + 0x630], 1
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x741b43
push eax
mov ecx, esi
call fcn.0073f680
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x741b5c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x741b5c
push eax
push ecx
mov ecx, esi
call fcn.0073e600
mov ecx, esi
call fcn.00739760
test eax, eax
je 0x741b79
mov ecx, dword [esi + 0x60]
push 1
push esi
call fcn.0073f570
mov ecx, esi
call fcn.00739eb0
mov ecx, esi
call fcn.0073fc30
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x20
Function at 0x741dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78ed98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0073fd40
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x6c]
push 0
push esi
push edx
push eax
mov dword [esp + 0x24], 0
mov dword [esi], vtable.OsNet::IOFILECONN.0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
mov ecx, esi
jne 0x741e72
call fcn.00739720
mov ecx, dword [esi + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, esi
mov dword [esi + 0x6c], 0xffffffff
call fcn.0073f680
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18
call fcn.0073a050
mov ecx, esi
call fcn.00739760
test eax, eax
je 0x741e8f
mov ecx, dword [esi + 0x60]
push 3
push esi
call fcn.0073f570
jmp 0x741e96
mov ecx, esi
call fcn.0073fdc0
mov ecx, esi
call fcn.0073fdc0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x741ed0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x78edc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0073fd40
push 0
push 0
push 0
push 0
mov dword [esp + 0x24], 0
mov dword [esi], vtable.OsNet::SLFILECONN.0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x8c], eax
je 0x741fa9
lea edx, [esp + 0x2c]
push edx
push 0
push esi
push 0x73c660
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x88], eax
je 0x741fa9
mov ecx, esi
call fcn.00739760
test eax, eax
je 0x741f8d
mov ecx, dword [esi + 0x60]
push 3
push esi
call fcn.0073f570
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
mov ecx, esi
call fcn.0073fdc0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
mov ecx, esi
call fcn.00739720
push 0
mov ecx, esi
call fcn.0073f680
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x742570
Capabilities:
Get socket status

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov eax, ebx
imul eax, eax, 0x3e8
push esi
xor edx, edx
push edi
mov edi, ecx
mov ecx, dword [esp + 0x24]
shr ecx, 6
add ecx, 1
div ecx
mov esi, dword [edi + 0x108]
lea ecx, [edi + 0x20c]
lea edx, [edi + 0x108]
lea ebp, [edi + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [ebp]
mov dword [esp + 0x24], edx
neg edx
sbb edx, edx
and edx, ebp
mov ebp, dword [esp + 0x24]
cmp ebp, esi
ja 0x7425e3
mov ebp, esi
mov esi, dword [esp + 0x20]
cmp ebp, esi
jbe 0x7425f9
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
cmp ebp, esi
jbe 0x7425f9
mov esi, ebp
neg ebx
sbb ebx, ebx
lea ebp, [esp + 0x14]
and ebx, ebp
push ebx
push eax
push ecx
push edx
add esi, 1
push esi
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
jne 0x742622
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
test eax, eax
je 0x742676
xor ebp, ebp
lea ebx, [ebp + 2]
lea esi, [edi + 4]
mov edi, edi
cmp dword [esi], 0
jbe 0x742662
add dword [esi], 0xffffffff
mov eax, dword [esi]
add eax, ebx
mov edx, dword [edi + eax*4]
push 0x8a3508
push edx
lea ecx, [edi + 0x310]
call fcn.00742130
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax]
push ebp
push edx
call eax
cmp dword [esi], 0
ja 0x742635
add ebx, 0x41
add ebp, 1
add esi, 0x104
cmp ebx, 0xc5
jb 0x742630
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 8

Function at 0x743630
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
cmp dword [ecx + 0xc], 0
je 0x74363c
jmp dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ecx + 0x618], 0
je 0x74364a
jmp fcn.007434a0
jmp dword [sym.imp.KERNEL32.dll_Sleep]

Function at 0x743680
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x8a352c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
xor edi, edi
cmp eax, edi
je 0x7436a8
push eax
mov dword [0x8a3520], edi
mov dword [0x8a351c], edi
call esi
mov dword [0x8a352c], edi
mov eax, dword [0x8a3530]
cmp eax, edi
je 0x7436c6
push eax
mov dword [0x8a3528], edi
mov dword [0x8a3524], edi
call esi
mov dword [0x8a3530], edi
call dword [sym.imp.WSOCK32.dll_WSACleanup]
cmp dword [0x8a3534], edi
jne 0x743745
mov eax, dword [0x8a36d8]
push ebx
add eax, 0x620
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x8a36d8]
mov esi, dword [eax + 0x630]
add eax, 0x628
cmp esi, edi
jle 0x74372d
mov ecx, dword [esi + 0x14]
push edi
push ecx
call ebx
mov ecx, esi
call fcn.0073e040
push edi
push 0xffffffffffffffff
push 0x7987b8
push esi
call sub.Storm.dll_Ordinal_403
mov ecx, dword [0x8a36d8]
call fcn.00743650
jmp 0x7436f0
mov eax, dword [0x8a36d8]
mov edx, dword [eax + 0x620]
add eax, 0x620
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop ebx
pop edi
pop esi
ret
Function at 0x744520
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x24], eax
je 0x744565
mov ecx, esi
call fcn.007395a0
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x7437b0
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x74456c
mov ecx, esi
call fcn.00743650
xor eax, eax
pop esi
pop ecx
ret 4
mov dword [esi + 0x20], eax
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x745490
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
push esi
push edi
mov dword [esp + 0xc], 0
jbe 0x745549
lea ebx, [ebx]
mov ecx, ebx
call fcn.007395a0
cmp dword [ebx + 0x618], 0
mov eax, 0x7444f0
jne 0x7454ca
mov eax, 0x744ed0
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
push eax
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov edx, eax
add esp, 0x18
test edx, edx
mov dword [esp + 0x10], edx
je 0x745555
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 8]
add edi, 1
cmp edi, dword [esi]
jbe 0x745524
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x745508
push edi
mov ecx, esi
call fcn.0040e3b0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x745518
sub ecx, edx
add ecx, edi
mov edi, ecx
push edi
mov ecx, esi
call fcn.0040e410
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ecx, [ecx + eax*4]
add eax, 1
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
add eax, 1
mov dword [ecx], edx
cmp eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
jb 0x7454b0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, ebx
call fcn.00743650
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x746200
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov esi, ecx
call edi
test eax, eax
mov dword [esi + 0x54c], eax
je 0x74625f
push 0
push 0
push 0
push 0
call edi
test eax, eax
mov dword [esi + 0x554], eax
je 0x74625f
mov ecx, esi
call fcn.007395a0
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x745570
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x746267
mov ecx, esi
call fcn.00743650
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
mov dword [esi + 0x548], eax
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x7462f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x618], 0
jne 0x74630b
call fcn.00745490
test eax, eax
jne 0x74630b
pop esi
pop ecx
ret 4
test byte [esp + 0xc], 2
push edi
mov edi, dword [sym.imp.MSVCR80.dll__beginthreadex]
je 0x746349
mov ecx, esi
call fcn.007395a0
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x7452b0
push 0
push 0
call edi
add esp, 0x18
test eax, eax
je 0x74637f
push 0xffffffffffffffff
push eax
mov dword [esi + 0x514], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x746386
mov ecx, esi
call fcn.007395a0
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x745ea0
push 0
push 0
call edi
add esp, 0x18
test eax, eax
jne 0x74638e
mov ecx, esi
call fcn.00743650
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x7469d7
Capabilities:
Hash data with crc32

Disassembly:
cmp dword [0x8a3718], 0
push esi
mov esi, ecx
je 0x746ac0
mov ecx, dword [0x8a3714]
call fcn.00748950
test eax, eax
je 0x746ac0
mov ecx, dword [eax + 0x14]
test ecx, ecx
push ebx
mov ebx, dword [eax + 0x1818]
je 0x746abf
cmp dword [0x84e3fc], 0
je 0x746abf
cmp dword [eax + 0x10], 0
je 0x746abf
mov eax, dword [ecx + 0xc]
mov edx, eax
xor edx, esi
shr eax, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x7fb388]
push edi
mov edx, eax
mov edi, edx
shr edx, 8
mov eax, esi
shr eax, 8
xor edi, eax
and edi, 0xff
xor edx, dword [edi*4 + 0x7fb388]
shr eax, 8
mov edi, edx
xor edi, eax
shr edx, 8
shr eax, 8
and edi, 0xff
xor edx, dword [edi*4 + 0x7fb388]
or bl, 0x80
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x7fb388]
mov eax, dword [ecx + 0x4524]
mov dword [ecx + 0xc], edx
movzx edx, al
add eax, 1
mov dword [ecx + 0x4524], eax
lea eax, [ecx + edx*4]
lea eax, [edx + eax + 0x4020]
mov dword [eax], esi
mov byte [eax + 4], bl
mov eax, dword [ecx + 0x4520]
lea edx, [eax + 0x101]
cmp dword [ecx + 0x4524], edx
pop edi
jne 0x746abf
add eax, 1
mov dword [ecx + 0x4520], eax
pop ebx
pop esi
ret
Function at 0x747630
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x8a371c
call fcn.00737bd0
mov eax, dword [0x8a3718]
mov ecx, eax
add eax, 1
test ecx, ecx
mov dword [0x8a3718], eax
jne 0x74765c
call sub.KERNEL32.dll_TlsAlloc
mov dword [0x8a3714], eax
mov ecx, dword [0x8a3714]
call fcn.00748950
test eax, eax
je 0x7476a9
mov esi, dword [eax]
test esi, esi
je 0x74769a
mov edx, dword [eax + 4]
test edx, edx
jg 0x74767c
not edx
jmp 0x747683
mov ecx, eax
sub ecx, dword [esi + 4]
add edx, ecx
mov dword [edx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
push 0
push 0xffffffffffffffff
push 0x7987b8
push eax
call sub.Storm.dll_Ordinal_403
push 8
push 0xe5
push str..W32OsCall.cpp
push 0x189c
call sub.Storm.dll_Ordinal_401
test eax, eax
je 0x7476d4
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, eax
jmp 0x7476d6
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea edx, [esi + 0xc]
push edx
mov dword [esi + 8], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [esi + 8]
push eax
push ebp
push str._s___u_
lea ecx, [esi + 0x181c]
push 0x80
push ecx
call sub.Storm.dll_Ordinal_578
mov ecx, dword [0x8a3714]
add esp, 0x14
mov edx, esi
call fcn.00748980
mov edx, dword [esi]
test edx, edx
je 0x74775c
mov ecx, dword [esi + 4]
test ecx, ecx
jg 0x74773e
not ecx
jmp 0x747745
mov eax, esi
sub eax, dword [edx + 4]
add ecx, eax
mov dword [ecx], edx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [0x84e404]
mov dword [esi], eax
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [eax + 4], esi
mov edx, dword [0x8a3720]
push edx
mov dword [0x84e404], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret
Function at 0x747ac0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [0x8a3760]
mov edx, dword [0x8a3764]
mov ecx, eax
sub esp, 0x18
or ecx, edx
jne 0x747ba6
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
cmp esi, 0x7fffffff
je 0x747aff
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.00747ab0
mov ebp, edx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
sub esi, 0x7fffffff
neg esi
sbb esi, esi
and esi, 0xfffffe3e
add esi, 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp eax, 0x7fffffff
je 0x747b4a
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call fcn.00747ab0
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
sub esi, ebx
push eax
sbb edi, ebp
push edi
push esi
call fcn.00736550
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sbb esi, dword [esp + 0x24]
push esi
push ecx
push edx
push eax
call fcn.00770e70
pop edi
pop esi
pop ebp
mov dword [0x8a3760], eax
mov dword [0x8a3764], edx
pop ebx
add esp, 0x18
ret

Function at 0x748830
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov esi, edx
mov edi, ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push edi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
add esp, 0x54
ret