joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ccb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x69e3c0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041cb30
movzx eax, al
test eax, eax
je 0x41ccd9
mov eax, 1
jmp 0x41ceba
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x6c0088], eax
call fcn.0041c6b0
test eax, eax
je 0x41cd02
mov eax, 4
jmp 0x41ceba
call fcn.0041c4d0
movzx edx, al
test edx, edx
je 0x41cd33
push 0x25
push 0x682798
push 0x6827d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x41cd31
mov eax, 2
jmp 0x41ceba
jmp 0x41cd02
mov eax, dword [ebp + 8]
mov dword [0x6c0080], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x6c0084], eax
call fcn.0041baa0
nop
lea ecx, [ebp - 0x434]
push ecx
call fcn.0041a6b0
add esp, 4
push eax
mov ecx, 0x69ffdc
call fcn.00407650
lea ecx, [ebp - 0x434]
call fcn.004070c0
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
push edx
call fcn.0041c5f0
add esp, 4
mov dword [ebp - 0x438], eax
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x404]
push ecx
call fcn.0041c740
add esp, 4
mov dword [ebp - 0x44c], eax
lea edx, [ebp - 0x404]
push edx
call fcn.0041c9e0
add esp, 4
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x438]
push eax
call fcn.00419600
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41cdfd
mov edx, dword [ebp - 0x444]
push edx
call fcn.00419d70
add esp, 4
movzx eax, al
test eax, eax
jne 0x41ce6a
mov ecx, 0x6a0010
call fcn.00404bb0
push eax
push 0x6828a8
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00414920
add esp, 0xc
push 0x30
push 0x682a68
lea ecx, [ebp - 0x41c]
call fcn.0040b6e0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.00417f20
add esp, 8
mov dword [ebp - 0x448], 5
lea ecx, [ebp - 0x41c]
call fcn.004070e0
mov eax, dword [ebp - 0x448]
jmp 0x41ceba
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.0041ca40
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x450]
push edx
call fcn.0041c8a0
add esp, 8
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x41ceb2
mov eax, dword [ebp - 0x440]
jmp 0x41ceba
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c7ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41fcd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov byte [0x6c0070], 0
mov byte [0x6c0071], 0
mov ecx, 0x69ff48
call fcn.0040f670
push 0x6c09d8
mov eax, dword [0x69ff40]
push eax
call fcn.00417cf0
add esp, 8
call fcn.00417db0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x41acb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x6c0e05], 0
mov byte [0x6c0072], 0
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
nop
mov esp, ebp
pop ebp
ret

Function at 0x41fd80
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x684760
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [0x6c0e04], 1
lea ecx, [ebp - 8]
push ecx
push 0
push 0x69ff48
push 0x408530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov ecx, 0x6c1070
call fcn.00421bc0
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
movsd xmm0, qword [0x69e048]
mulsd xmm0, qword [0x684a90]
cvttsd2si edx, xmm0
push edx
movsd xmm0, qword [0x69e040]
mulsd xmm0, qword [0x684b90]
cvttsd2si eax, xmm0
push eax
movsd xmm0, qword [0x69e048]
mulsd xmm0, qword [0x684ab0]
cvttsd2si ecx, xmm0
push ecx
movsd xmm0, qword [0x69e040]
mulsd xmm0, qword [0x6849f0]
mulsd xmm0, qword [0x684a00]
cvttsd2si edx, xmm0
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41fec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x6c0088]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.00417570
movzx ecx, al
test ecx, ecx
je 0x41ff09
push 0
mov edx, dword [0x6c008c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x6c008c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
nop
jmp 0x41ff26
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x6c0088], eax
mov eax, 0x6c1220
jmp 0x41ff28
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4249b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x80
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040ab50
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040abf0
nop
jmp 0x4249e8
lea ecx, [ebp - 4]
call fcn.00407bf0
nop
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.004079d0
movzx ecx, al
test ecx, ecx
je 0x424a17
lea ecx, [ebp - 4]
call fcn.00407b90
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x4249df
mov esp, ebp
pop ebp
ret
Function at 0x42e160
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42e1ec
push esi
call fcn.00438ff0
add esp, 4
test al, al
jne 0x42e1ec
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42e183
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0043f030
add esp, 0xc
test eax, eax
je 0x42e1b7
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0043f030
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42e1b9
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x42e1e5
mov al, byte [esi]
push eax
call fcn.00437a40
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x42e1c7
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4329c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov eax, 0x180
mov edx, 0x140
push esi
push edi
cmp dword [ebp], 0x69e0a0
mov ecx, dword [ebp + 8]
cmovne eax, edx
mov dword [esp + 0x20], ecx
add eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4329f8
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x8d8]
test esi, esi
je 0x432bac
push dword [ecx + 8]
mov edi, dword [esi + 0x14]
call dword [0x69e05c]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x432a51
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c9], 0
je 0x432a5e
push dword [eax + 0x64]
call dword [0x69e05c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x432a66
mov edi, dword [esp + 0x30]
push edi
call dword [0x69e054]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1ca], 0
je 0x432a7e
mov ecx, dword [eax + 0x43c]
mov dword [esp + 0x14], ecx
jmp 0x432a86
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x432a9c
test byte [eax + 4], 0x10
je 0x432a9c
lea edx, [eax + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x432aa6
lea eax, [ebx + 0x8dc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4a4]
mov ecx, 1
cmp eax, ecx
jbe 0x432af3
mov eax, dword [ebx + 0x8d8]
add eax, 0x74
nop
cmp dword [eax - 8], 0
mov edx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
je 0x432aed
mov edi, dword [eax]
lea esi, [eax - 0x14]
cmp edi, edx
cmovge esi, dword [esp + 0x1c]
inc ecx
add eax, 0x60
cmp edi, edx
cmovge edi, edx
cmp ecx, dword [ebx + 0x4a4]
jb 0x432ac0
mov eax, dword [ebx + 0x4a4]
cmp ecx, eax
jne 0x432b02
push esi
call fcn.004333d0
add esp, 4
jmp 0x432b0e
lea esi, [ecx + ecx*2]
shl esi, 5
add esi, dword [ebx + 0x8d8]
mov eax, dword [esp + 0x34]
push dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
call dword [0x69e054]
push dword [esi + 4]
call dword [0x69e054]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
lea ebp, [esi + 0x20]
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x1e0]
mov eax, dword [eax]
mov dword [esi + 8], eax
call fcn.00432200
add esp, 0x10
test al, al
jne 0x432ba1
push ebp
call fcn.00432480
push edi
mov dword [esi + 0xc], 0
call dword [0x69e054]
push ebx
call dword [0x69e054]
add esp, 0xc
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x432bac
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x433180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, 0x180
mov eax, dword [ecx]
cmp eax, 0x69e0a0
mov edx, dword [ecx + 8]
push esi
mov esi, 0x140
mov dword [esp + 0x10], edx
cmovne ebx, esi
mov byte [esp + 0xf], 1
add ebx, dword [ecx + 0xc]
mov esi, 0x3cc
cmp eax, 0x69e0a0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x434
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x43331d
cmp byte [ecx + 0x3c], 0
je 0x43331d
cmp dword [ebp + 0x8d8], 0
je 0x43331d
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x433202
test byte [eax + 4], 0x10
je 0x433202
add eax, 0x78
jmp 0x433208
lea eax, [ebp + 0x8dc]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x4a4], edi
jbe 0x4332e6
xor ebx, ebx
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x4332d6
push dword [esi]
push dword [edx + 8]
call fcn.00437b80
add esp, 8
test eax, eax
je 0x4332d2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x433260
test eax, eax
je 0x433274
jmp 0x4332d2
test eax, eax
je 0x4332d2
push eax
push dword [ecx + 0x64]
call fcn.00437b80
add esp, 8
test eax, eax
je 0x4332d2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x43328e
cmp eax, 0xffffffff
je 0x43329b
jmp 0x4332d2
cmp eax, 0xffffffff
je 0x4332d2
cmp dword [ecx + 0x43c], eax
jne 0x4332d2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x4332d6
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.00437b80
add esp, 8
test eax, eax
je 0x4332d2
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x20]
call fcn.00432db0
add esp, 8
test al, al
jne 0x4332f2
mov edx, dword [esp + 0x14]
inc edi
add ebx, 0x60
cmp edi, dword [ebp + 0x4a4]
jb 0x433220
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x433313
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
Function at 0x435280
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0x6cf], 0
je 0x43531d
cmp dword [esi + 0x1a4], 0
je 0x4352d7
push esi
call fcn.0042b2e0
push 1
push esi
mov byte [esp + 0x14], al
call fcn.0042b420
push dword [esi + 0x154]
mov eax, dword [esi + 0x1a4]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call eax
push dword [esp + 0x28]
push esi
call fcn.0042b420
add esp, 0x28
pop esi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x4352ec
sub eax, 1
je 0x4352ec
sub eax, 1
jne 0x43531d
push dword [esi + 0x150]
lea eax, [ecx*2 + 0x68730c]
push 1
add eax, ecx
push 2
push eax
call fcn.00472d99
push dword [esi + 0x150]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00472d99
add esp, 0x20
pop esi
ret

Function at 0x436f80
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x6874ec
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x436f9a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x687508
push esi
call fcn.0047ca70
add esp, 8
test eax, eax
je 0x436fe2
test ebp, ebp
je 0x436fd3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x437008
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437008
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4370bf
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437025
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x69e050]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4370b5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4370b5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437057
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437070
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x437080
test ebp, ebp
je 0x4370ac
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x69e054]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x69e054]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x439130
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43916e
mov eax, dword [esi + 0x70]
cmp byte [eax + 0xe8], 0
jne 0x43915f
push 0
call fcn.00439130
add esp, 4
test al, al
mov eax, dword [esi + 0x70]
setne cl
inc cl
mov byte [eax + 0xe8], cl
mov eax, dword [esi + 0x70]
pop esi
cmp byte [eax + 0xe8], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x439183
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x43f720
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0042e570
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.00483653
push dword [esp + 0x40]
mov edi, eax
call fcn.00483653
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x43f7b5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0042e570
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0042e620
add esp, 0x20
test edx, edx
ja 0x43f7d9
jb 0x43f7a7
cmp eax, 0x3e8
ja 0x43f7d9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x43f770
test edi, edi
je 0x43f7c2
push edi
call fcn.00471df4
add esp, 4
test esi, esi
je 0x43f7cf
push esi
call fcn.00471df4
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x43f7e6
push edi
call fcn.00471df4
add esp, 4
test esi, esi
je 0x43f7f3
push esi
call fcn.00471df4
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x43f940
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x54
mov eax, dword [0x69e3c0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [esp + 0x68]
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 1
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43fb1e
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [esp + 0x38], xmm0
mov word [esp + 0x30], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x30], eax
xor eax, eax
push 4
mov word [esp + 0x32], ax
lea eax, [esp + 0x14]
push eax
push 4
push 0xffff
push esi
mov dword [ebx + 4], 0xffffffff
mov dword [ebx], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x43fb0c
push 0x10
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x43fb0c
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x43fb0c
cmp dword [esp + 0xc], 0x10
jl 0x43fb0c
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x43fb0c
push 0
push 1
push 2
call edi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x43fb0c
push 0x10
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43fb0c
push 1
push esi
call fcn.00461b70
add esp, 8
test eax, eax
js 0x43fb0c
push 0
push 0x3e8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push 1
push eax
mov dword [esp + 0x28], 0x300
call fcn.0043e6d0
add esp, 0x10
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x43fb0c
lea eax, [esp + 0x1c]
push eax
call fcn.0042e570
add esp, 4
movups xmm0, xmmword [eax]
push 0
push 0x10
lea eax, [esp + 0x44]
push eax
push dword [ebx]
movups xmmword [esp + 0x4c], xmm0
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0x10
lea eax, [esp + 0x54]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0x10
jne 0x43fb0c
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x4c]
lea edi, [eax - 4]
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x43fb0c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x43fae0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046c7ae
add esp, 0x54
ret
push esi
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
call esi
push dword [ebx]
call esi
push dword [ebx + 4]
call esi
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c7ae
add esp, 0x54
ret
Function at 0x43fb70
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x43fcff
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43fcea
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43fbcc
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43fbc0
sub eax, edx
inc eax
jmp 0x43fbce
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x43fbdf
lea ebp, [ecx + 0xe]
jmp 0x43fbeb
cmp ecx, 0x17
jne 0x43fc8c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x43fc8c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43fc8c
cmp ecx, ebp
jb 0x43fc8c
add eax, 0x20
add eax, ebp
push eax
call dword [0x69e050]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43fcdb
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.0046d7a0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x43fc78
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0046d7a0
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x43fc88
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43fbb2
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x43fcac
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x43fce6
test edi, edi
je 0x43fccb
mov esi, dword [edi + 0x1c]
push edi
call dword [0x69e054]
add esp, 4
mov edi, esi
test esi, esi
jne 0x43fcb4
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x43fc9b
test edi, edi
jne 0x43fcf6
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x43ffb0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.0047e4c5
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x43ffd6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret