joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ffc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78d831
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 dword [esp + 0x14], 2
call fcn.006ff490
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x6ffcbb
push 0
push 0xfffffffffffffffe
push 0x829be4
push eax
call sub.Storm.dll_Ordinal_403
mov eax, dword [esi + 0x48]
test eax, eax
je 0x6ffcd1
push 0
push 0xfffffffffffffffe
push 0x829be4
push eax
call sub.Storm.dll_Ordinal_403
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.006ffa40
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x7000d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x78d871
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
xor eax, eax
mov dword [esi], 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x18], 2
call fcn.006ff420
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x7193a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x34]
test eax, eax
mov edx, dword [ecx + 0x30]
je 0x7193cd
add edx, 0x20
lea ecx, [ecx]
sub eax, 1
cmp dword [edx - 0x1c], 0
jne 0x71954b
cmp dword [edx], 0
jne 0x71954b
add edx, 0x3c
test eax, eax
jne 0x7193b0
mov edx, dword [ecx + 0x3c]
test edx, edx
mov eax, dword [ecx + 0x38]
je 0x719407
add eax, 0x20
lea ebx, [ebx]
sub edx, 1
cmp dword [eax - 0x1c], 0
jne 0x71954b
cmp dword [eax], 0
jne 0x71954b
cmp dword [eax + 0x1c], 0
jne 0x71954b
add eax, 0x54
test edx, edx
jne 0x7193e0
mov edx, dword [ecx + 0x44]
test edx, edx
mov eax, dword [ecx + 0x40]
push ebx
mov bl, 0x3f
je 0x719455
add eax, 0x24
jmp 0x719420
sub edx, 1
cmp dword [eax - 0x1c], 0
jne 0x719551
cmp dword [eax], 0
jne 0x719551
cmp dword [eax + 0x1c], 0
jne 0x719551
test byte [eax + 0x8d], bl
jne 0x719551
add eax, 0xc4
test edx, edx
jne 0x719420
mov edx, dword [ecx + 0x4c]
test edx, edx
mov eax, dword [ecx + 0x48]
je 0x719497
add eax, 0x24
sub edx, 1
cmp dword [eax - 0x1c], 0
jne 0x719551
cmp dword [eax], 0
jne 0x719551
cmp dword [eax + 0x1c], 0
jne 0x719551
test byte [eax + 0x8d], bl
jne 0x719551
add eax, 0xc8
test edx, edx
jne 0x719462
cmp dword [ecx + 0x54], 0
jne 0x719551
cmp dword [ecx + 0x5c], 0
jne 0x719551
cmp dword [ecx + 0x64], 0
jne 0x719551
cmp dword [ecx + 0x6c], 0
jne 0x719551
cmp dword [ecx + 0x74], 0
jne 0x719551
mov edx, dword [ecx + 0x7c]
test edx, edx
mov eax, dword [ecx + 0x78]
je 0x719503
add eax, 0x80
jmp 0x7194e0
sub edx, 1
cmp dword [eax - 0x78], 0
jne 0x719551
cmp dword [eax], 0
jne 0x719551
cmp dword [eax + 0x1c], 0
jne 0x719551
cmp dword [eax + 0x44], 0
jne 0x719551
add eax, 0xdc
test edx, edx
jne 0x7194e0
mov eax, dword [ecx + 0x8c]
test eax, eax
mov edx, dword [ecx + 0x88]
je 0x719525
add edx, 4
sub eax, 1
cmp dword [edx], 0
jne 0x719551
add edx, 0x20
test eax, eax
jne 0x719516
mov eax, dword [ecx + 0x94]
test eax, eax
mov edx, dword [ecx + 0x90]
je 0x719547
lea ecx, [edx + 4]
sub eax, 1
cmp dword [ecx], 0
jne 0x719551
add ecx, 0x1c
test eax, eax
jne 0x719538
xor eax, eax
pop ebx
ret
mov eax, 1
ret
mov eax, 1
pop ebx
ret
Function at 0x71afe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x78e2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
xor eax, eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], eax
call fcn.0071acb0
mov dx, word [0x7f8a9c]
mov al, byte [0x7f8a9e]
xor bl, bl
cmp byte [esp + 0xa8], bl
mov word [esp + 0x1c], dx
mov byte [esp + 0x1e], al
jbe 0x71b137
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x14], ecx
jmp 0x71b084
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x20]
push eax
push 0x50
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x40]
push edx
call sub.Storm.dll_Ordinal_504
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
call fcn.0071ad20
mov esi, eax
test esi, esi
je 0x71b11b
mov eax, dword [esi + 0x18]
mov edx, dword [edi]
lea ecx, [eax + eax*2]
mov al, byte [edx + ecx*4 + 8]
cmp al, 0xff
lea edi, [edx + ecx*4]
je 0x71b118
mov ecx, dword [esp + 0x14]
movzx eax, al
imul eax, eax, 0x8c
push ecx
lea ebp, [eax + ebp + 0x3c]
call sub.Storm.dll_Ordinal_506
push ebp
mov dword [esp + 0x24], eax
call sub.Storm.dll_Ordinal_506
mov ecx, dword [esp + 0x20]
cmp ecx, eax
mov ecx, dword [esi + 0x18]
jb 0x71b107
shl ecx, 4
add ecx, dword [esp + 0x2c]
call fcn.004c09d0
mov byte [eax], bl
jmp 0x71b11b
shl ecx, 4
add ecx, dword [esp + 0x2c]
call fcn.004c09d0
mov dl, byte [edi + 8]
mov byte [eax], dl
mov byte [edi + 8], bl
add dword [esp + 0x14], 0x8c
mov edi, dword [esp + 0x18]
add bl, 1
cmp bl, byte [esp + 0xa8]
jb 0x71b080
mov eax, dword [edi + 4]
test eax, eax
jbe 0x71b1b2
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov esi, dword [ecx]
mov edx, dword [ebx + eax + 8]
mov edi, dword [ebx + eax + 4]
mov eax, dword [esi + ebp]
add esi, ebp
test eax, eax
mov dword [esp + 0x20], edx
je 0x71b174
push 0
push 0xffffffffffffffff
push str.delete__
push eax
call sub.Storm.dll_Ordinal_403
test edi, edi
jne 0x71b17c
mov dword [esi], edi
jmp 0x71b18d
push 0
push 0xfffffffffffffffe
push 0x8286d4
push edi
call sub.Storm.dll_Ordinal_401
mov dword [esi], eax
test edi, edi
mov dword [esi + 4], edi
je 0x71b1a5
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add ebx, 0x10
add ebp, 0xc
sub dword [esp + 0x14], 1
jne 0x71b146
lea ecx, [esp + 0x24]
call fcn.0071a650
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00735f58
add esp, 0x88
ret 0xc
Function at 0x72d920
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
push edi
mov esi, ecx
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
mov dword [esi + ebx*4 + 0x24], eax
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72d97c
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], eax
jne 0x72d97c
push 0
push edi
call ebp
sub eax, dword [esi + ebx*4 + 0x24]
pop edi
mov dword [esi + ebx*4 + 0x64], eax
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x72dad0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, ebp
shr eax, cl
push edi
cmp eax, 1
mov edx, eax
ja 0x72daed
mov edx, 1
mov eax, dword [esi + 0x14]
shr eax, cl
cmp eax, 1
ja 0x72dafc
mov eax, 1
mov ebx, dword [esp + 0x14]
imul eax, edx
push 0
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
push 0
mov dword [esi + ebp*4 + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72db84
cmp dword [esp + 0x20], edi
jne 0x72db84
mov eax, dword [esi + 0x10]
test eax, eax
je 0x72db67
imul eax, edi
shr eax, 3
cmp eax, 1
mov edi, eax
ja 0x72db49
mov edi, 1
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x24]
push edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72db84
cmp dword [esp + 0x20], edi
jne 0x72db84
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
sub eax, dword [esi + ebp*4 + 0x24]
pop edi
mov dword [esi + ebp*4 + 0x64], eax
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x72df10
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov ebx, ecx
lea esi, [ebx + 0x24]
cmp esi, esi
push edi
mov dword [esp + 0xc], 1
je 0x72df31
push 0x40
push esi
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea edi, [ebx + 0x64]
cmp edi, edi
je 0x72df44
push 0x40
push edi
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push 0
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x72df80
push 0
lea eax, [esp + 0x1c]
push eax
push 0x49c
add ebx, 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72df80
cmp dword [esp + 0x18], 0x49c
je 0x72df84
xor ebx, ebx
jmp 0x72df88
mov ebx, dword [esp + 0x10]
cmp esi, esi
pop ebp
je 0x72df99
push 0x40
push esi
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp edi, edi
je 0x72dfa9
push 0x40
push edi
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4
Function at 0x72e5b0
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
push edi
mov edi, dword [esp + 0x11c]
jne 0x72e5e8
push 0xf7200085
call sub.Storm.dll_Ordinal_465
xor eax, eax
jmp 0x72e6cd
cmp dword [esi + 0x5d4], ebx
push ebp
mov ebp, dword [esp + 0x124]
mov dword [esi + 0xc], ebp
je 0x72e600
call fcn.0072e2f0
push 0x104
push edi
lea eax, [esp + 0x1c]
push eax
call sub.Storm.dll_Ordinal_501
mov dl, 0x2e
lea ecx, [esp + 0x14]
call sub.Storm.dll_Ordinal_570
test eax, eax
je 0x72e621
mov byte [eax], bl
push 0x104
push 0x7a76f0
lea ecx, [esp + 0x1c]
push ecx
call sub.Storm.dll_Ordinal_503
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x72e6ca
push 0
lea eax, [esp + 0x14]
push eax
push 0x49c
lea ecx, [esi + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x72e6b8
cmp dword [esp + 0x10], 0x49c
jne 0x72e6b8
mov eax, ebp
sub eax, 0
je 0x72e694
sub eax, 1
jne 0x72e69e
push edi
mov ecx, esi
call fcn.0072e480
jmp 0x72e69c
push edi
mov ecx, esi
call fcn.0072e040
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x72e6b4
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
jmp 0x72e6cc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00735f58
add esp, 0x10c
ret 8
Function at 0x735f58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x84dea4]
jne 0x735f62
repz ret
jmp fcn.007368ea

Function at 0x737470
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov esi, 0x89ec88
mov dword [esp + 0x10], 0x89ac88
mov edi, dword [esp + 0x10]
xor eax, eax
cmp ebp, 1
sete al
mov ebx, 0x200000
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi], ebx
mov dword [esi], eax
add esi, 4
add edi, 4
add ebx, 0x200000
sub dword [esp + 0x14], 1
jne 0x7374a3
mov eax, dword [esp + 0x10]
add eax, 0x2000
mov dword [ebp*4 + 0x89ac80], 0x7ff
mov dword [ebp*4 + 0x89ac78], 0x3ff
mov dword [ebp*4 + 0x89ac70], 0x400
add ebp, 1
cmp eax, 0x89ec88
mov dword [esp + 0x10], eax
jl 0x737486
xor eax, eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 1
cmp eax, dword [esp + 0x30]
pop edi
sbb ecx, ecx
pop esi
and ecx, 0xf9f
add ecx, eax
pop ebp
mov dword [0x84dee0], ecx
pop ebx
add esp, 0x30
jmp 0x74f830
cmp dword [0x8a3c00], 0
jne 0x74f85e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x8a3c04], eax
je 0x74f85e
push str.TryEnterCriticalSection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8a3c00], eax
ret

Function at 0x737ac0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push edx
push ecx
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov ecx, dword [esp + 0x20]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, edx
add esp, 0x1c
ret 8
Function at 0x739320
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
push 0
push 1
push 2
mov edi, ecx
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x7393b9
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x18], 1
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0xffff
push esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
xor eax, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.WSOCK32.dll_htons]
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
mov word [esp + 0x1e], ax
mov word [esp + 0x1c], 2
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x7393cd
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00735f58
add esp, 0x1c
ret
push 0xfa
push esi
call dword [sym.imp.WSOCK32.dll_listen]
test eax, eax
jne 0x7393b2
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00735f58
add esp, 0x1c
ret

Function at 0x7393f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
push 0
push 0
push 0xffffffffffffffff
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
xor eax, eax
test esi, esi
je 0x739450
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x739449
mov eax, 1
lea ecx, [eax + eax]
mov dword [edi], ecx
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret

Function at 0x7394d0
Capabilities:
Initialize winsock library
Link many functions at runtime

Disassembly:
push 0x8a3538
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x739594
mov ax, word [0x8a3538]
cmp al, 1
jb 0x739594
jne 0x739501
cmp ah, 1
jb 0x739594
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.mswsock.dll
call edi
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8a3530], eax
je 0x73953e
push str.AcceptEx
push eax
call esi
mov dword [0x8a3528], eax
mov eax, dword [0x8a3530]
push str.GetAcceptExSockaddrs
push eax
call esi
mov dword [0x8a3524], eax
cmp byte [0x8a3538], 2
jb 0x73958a
push str.ws2_32.dll
call edi
test eax, eax
mov dword [0x8a352c], eax
je 0x73958a
push str.WSASend
push eax
call esi
mov ecx, dword [0x8a352c]
push str.WSARecv
push ecx
mov dword [0x8a3520], eax
call esi
mov edx, dword [0x8a352c]
push str.WSAIoctl
push edx
mov dword [0x8a351c], eax
call esi
mov dword [0x8a3518], eax
pop edi
mov eax, 1
pop esi
ret 4
xor eax, eax
ret 4
Function at 0x739bbc
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x5e0
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x5dc], eax
cmp dword [esp + 0x5e8], 0
push esi
mov esi, ecx
jne 0x739c1b
lea eax, [esp + 0xc]
push eax
call fcn.00739930
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push 0
push 0x5b4
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
test eax, eax
jle 0x739c1b
cmp eax, 0xffffffff
je 0x739c1b
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.007397e0
mov ecx, dword [esp + 0x5e0]
pop esi
xor ecx, esp
call fcn.00735f58
add esp, 0x5e0
ret 8

Function at 0x739eb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push edi
call edx
xor ecx, ecx
lea eax, [esi + 0x634]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov edi, dword [0x8a351c]
cmp edi, ecx
mov edx, dword [esi + 0x74]
je 0x739f32
push ebx
push ecx
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov ebx, 0x5b4
sub ebx, edx
lea edx, [edx + esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x28], edx
push 1
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], ebx
call edi
cmp eax, 0xffffffff
pop ebx
jne 0x739f2c
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x739f5c
pop edi
pop esi
add esp, 0x10
ret
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, 0x5b4
sub ecx, edx
push ecx
lea edx, [edx + esi + 0x78]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x739f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x739f2c
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
pop edi
mov ecx, esi
pop esi
add esp, 0x10
jmp eax

Function at 0x739fc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x74]
mov eax, 0x5b4
sub eax, ecx
cmp eax, 0x5b4
jb 0x739fd9
mov eax, 0x5b4
push 0
push eax
lea eax, [ecx + esi + 0x78]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x73a00a
test eax, eax
mov edx, dword [esi]
mov ecx, esi
jne 0x739ffe
mov eax, dword [edx + 0x24]
pop esi
jmp eax
push 1
push eax
mov eax, dword [edx + 0x20]
push 0
call eax
pop esi
ret
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x73a008
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
pop esi
jmp eax
Function at 0x73a470
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x24
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov ebp, edx
push edi
mov edi, dword [esp + 0x38]
mov dl, 0x3a
mov esi, ecx
call sub.Storm.dll_Ordinal_571
mov ebx, eax
test ebx, ebx
je 0x73a4c2
sub eax, esi
add eax, 1
cmp eax, 0x20
jbe 0x73a4a6
mov eax, 0x20
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
call sub.Storm.dll_Ordinal_501
add ebx, 1
push ebx
lea esi, [esp + 0x14]
call sub.Storm.dll_Ordinal_575
movzx ebp, ax
push ebp
mov word [edi], 2
call dword [sym.imp.WSOCK32.dll_htons]
push esi
mov word [edi + 2], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov ecx, dword [esp + 0x30]
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00735f58
add esp, 0x24
ret 4

Function at 0x73b280
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
cmp dword [eax + 0x1c], 0
je 0x73b2e8
cmp dword [esi + 0x7c], 0xffffffff
jne 0x73b2fe
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x7c], eax
je 0x73b2fe
lea ecx, [esi + 8]
push ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [esi + 0x78]
push 0x20
push 0x20
push 0
lea ecx, [esi + 0x38]
push ecx
push eax
mov eax, dword [edx + 4]
push eax
call dword [0x8a3528]
test eax, eax
jne 0x73b2fe
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 0x7c]
cmp eax, 0xffffffff
je 0x73b2fe
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi + 0x7c], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ecx
ret