joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b8b0
Capabilities:
Create service
Delete service
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4bd0c8]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x41b8d7
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
push 2
push ecx
push ecx
mov word [eax], cx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x41b9ee
cmp dword [edi + 0x14], 8
jb 0x41b8ff
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 3
push 1
push 0x10030
push str.EasyAntiCheat_EOSSys
push str.EasyAntiCheat_EOSSys
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x41b9a7
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41b9d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x41b9d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x10]
push str.StartService_EasyAntiCheat_EOSSys_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409400
lea ecx, [esp + 0xc]
call fcn.004036b0
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x10]
push str.CreateService_failed_with__i.
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409400
lea ecx, [esp + 0xc]
call fcn.004036b0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x10]
push str.OpenSCManager_failed_with__i.
push ecx
call fcn.0041d420
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409400
lea ecx, [esp + 0xc]
call fcn.004036b0
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret 8
Function at 0x41fc40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4bd0c8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41fc69
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [esp + 8]
push eax
push 0xf003f
push ecx
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fcc5
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareEasyAntiCheat_EOS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41fcca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegDeleteKeyW_failed_with__i
lea ecx, [esp + 0x14]
push ecx
jmp 0x41fcf0
cmp eax, 2
jne 0x41fcdf
mov eax, 3
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegOpenKeyEx_failed_with__i
lea eax, [esp + 0x14]
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409400
lea ecx, [esp + 0xc]
call fcn.004036b0
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret

Function at 0x4219f0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4bd0c8]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x421a17
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
test edi, edi
jne 0x421a49
push 0x12
push 0x4b4adc
mov ecx, esi
call fcn.00403bf0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x421aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
je 0x421aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.DeleteService_failed_with__i
push eax
call fcn.0041d420
add esp, 0xc
mov ecx, esi
push eax
call fcn.00409400
lea ecx, [esp + 0x10]
call fcn.004036b0
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44]
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
Function at 0x421f30
Capabilities:
Create directory
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov byte [ebp - 1], dl
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x421f4b
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
lea ebx, [esi + 0x10]
mov word [eax], cx
lea eax, [ebp - 8]
push eax
push ecx
push 0x8000
push 0x49be40
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x421fbe
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421f80
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403bf0
push 1
push 0x4b2214
mov ecx, esi
call fcn.00409ee0
push 0x11
push str.EasyAntiCheat_EOS
mov ecx, esi
call fcn.00409ee0
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebx], 0
je 0x422075
cmp byte [ebp - 1], 0
je 0x422037
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x421fd7
mov eax, dword [esi]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x421fed
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x421ffe
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x422037
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x422037
cmp dword [esi + 0x14], 8
jb 0x422020
mov esi, dword [esi]
xor eax, eax
mov dword [ebx], 0
mov word [esi], ax
cmp dword [ebx], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5c
mov ecx, esi
call fcn.0040deb0
sub edi, 0
je 0x422064
sub edi, 1
jne 0x422072
push 0x15
push str.EasyAntiCheat_EOS.sys
mov ecx, esi
call fcn.00409ee0
cmp dword [ebx], edi
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x15
push str.EasyAntiCheat_EOS.exe
mov ecx, esi
call fcn.00409ee0
cmp dword [ebx], 0
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bdb0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x42bde6
mov al, byte [esi]
push eax
call fcn.00439780
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 0x42bdc8
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x435320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x43536f
push esi
push 1
push edi
call fcn.004281e0
mov esi, dword [edi + 0x608]
add esp, 8
mov ecx, esi
push dword [edi + 0x59c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [0x49b388]
call esi
push 0
push edi
mov esi, eax
call fcn.004281e0
add esp, 0x1c
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x4353a5
push dword [edi + 0x598]
lea eax, [eax + eax*2]
push 1
add eax, 0x49eac8
push 2
push eax
call fcn.00476e00
push dword [edi + 0x598]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00476e00
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ecx + eax*4 + 0x420]
push edi
mov edi, dword [ebp + 0x10]
push eax
push ecx
mov dword [ebp - 0x108], ecx
call fcn.00435c00
add esp, 8
push 0
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x4357ea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x4357ac
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00422bc0
push eax
mov eax, dword [ebp - 0x108]
push str.Send_failure:__s
push dword [eax]
call fcn.004353b0
mov eax, dword [ebp - 0x108]
add esp, 0x18
mov eax, dword [eax]
mov dword [eax + 0xd34], edi
mov eax, esi
mov dword [ebx], 0x37
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e348
mov esp, ebp
pop ebp
ret
Function at 0x435c00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ecx + 0x44]
mov eax, dword [ebx + 0x540]
shl edi, 4
add edi, ebx
mov esi, dword [edi + 4]
sub esi, dword [edi + 8]
test byte [eax + 0x40], 3
je 0x435cd4
cmp dword [ebx + ecx*4 + 0x430], 0x435640
jne 0x435cd4
cmp dword [edi], 0
je 0x435c49
test esi, esi
je 0x435cd4
mov eax, dword [ebx + ecx*4 + 0x420]
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
call fcn.00447ba0
add esp, 0x14
cmp eax, 0xffffffff
je 0x435cd4
test al, 1
je 0x435cd4
mov ecx, dword [edi]
test ecx, ecx
jne 0x435cad
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
mov dword [edi + 4], eax
mov esi, dword [fcn.00477710]
mov ecx, esi
push eax
call dword [0x49b388]
call esi
mov esi, dword [edi + 4]
mov ecx, eax
add esp, 4
mov dword [edi], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
test ecx, ecx
je 0x435ccd
mov eax, dword [edi + 8]
push 0
push esi
add eax, ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x435cd4
add dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436660
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4bed40]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x4366b1
push 3
push 2
push eax
push 6
call fcn.00437d30
add esp, 0x10
test al, al
je 0x4366a5
mov dword [0x4bed40], 2
mov esp, ebp
pop ebp
ret
mov dword [0x4bed40], 1
jmp 0x4366b6
cmp eax, 2
je 0x4366f6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4366dd
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x4366f6
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret
Function at 0x436960
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2f8], 3
jne 0x436b8a
cmp byte [esi + 0x501], 0
push ebx
push edi
jne 0x436b7f
cmp byte [esi + 0x518], 0
jne 0x436b7f
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x208]
mov ebx, dword [esi]
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], pe_nt_image_headers32
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x436a03
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422bc0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.004353b0
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x184]
mov dword [ebp - 0x20c], pe_nt_image_headers32
push 0
push eax
call fcn.00470240
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x436a77
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422bc0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.004353b0
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x3a0]
push eax
lea edi, [esi + 0x372]
push edi
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push eax
call fcn.00435ce0
add esp, 0x10
test al, al
jne 0x436ae0
call fcn.00478864
mov esi, dword [eax]
call fcn.00478864
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422bc0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004353b0
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x2c4], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x2d4], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x2e4], xmm0
mov dword [esi + 0x2ec], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x2f0], ax
lea eax, [esi + 0x3d4]
push eax
lea eax, [esi + 0x3a4]
push eax
push dword [ebp - 0x20c]
lea eax, [ebp - 0x184]
push eax
call fcn.00435ce0
add esp, 0x10
test al, al
jne 0x436b7f
call fcn.00478864
mov esi, dword [eax]
call fcn.00478864
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422bc0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.004353b0
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
push esi
call fcn.00436580
add esp, 4
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046e348
mov esp, ebp
pop ebp
ret
Function at 0x437650
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 4
cmp byte [esi + 0xb0f], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x4376ad
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00435490
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
push dword [esi + 0xaac]
mov dword [ebp - 0x10], 1
call fcn.00437900
push dword [esi + 0xab0]
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
call fcn.00437900
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x43771d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00435490
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046e348
mov esp, ebp
pop ebp
ret

Function at 0x437730
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 4
mov dword [ebp - 0x108], 1
mov esi, dword [eax]
lea eax, [ebp - 0x108]
push eax
push 1
push 6
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x437794
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00422bc0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00435490
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046e348
mov esp, ebp
pop ebp
ret
Function at 0x437b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x437bab
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x49ef4c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 8]
mov ebx, eax
push 0x49ef5c
push edi
call fcn.0047f034
add esp, 8
test eax, eax
je 0x437bfc
test ebx, ebx
je 0x437bec
push 8
push 0
push edi
mov ecx, ebx
call dword [0x49b388]
call ebx
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x437c2b
push str.AddDllDirectory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437c2b
push 0x800
push 0
push edi
mov ecx, ebx
call dword [0x49b388]
call ebx
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x437d16
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c47
sub ecx, esi
mov esi, dword [fcn.00477710]
sar ecx, 1
lea eax, [ecx + edx]
mov ecx, esi
lea eax, [eax*2 + 2]
push eax
call dword [0x49b388]
call esi
mov esi, eax
add esp, 4
test esi, esi
je 0x437cf7
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x437cf7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c91
sub ecx, edx
sar ecx, 1
mov dword [esi + ecx*2], 0x5c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437cb0
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, edi
add ecx, esi
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x437cc5
test ebx, ebx
je 0x437cec
push 8
push 0
push esi
mov ecx, ebx
call dword [0x49b388]
call ebx
mov ebx, eax
jmp 0x437cf9
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
jmp 0x437cf9
xor ebx, ebx
push esi
mov esi, dword [fcn.00477070]
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437ea0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x437ef9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x437ee6
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x437ee0
shr eax, 8
cmp al, 2
je 0x437ef9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret
call fcn.0044f6e0
test eax, eax
jne 0x437f5b
push str.iphlpapi.dll
call fcn.00437b90
add esp, 4
mov dword [0x4bed48], eax
test eax, eax
je 0x437f35
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x4bed44]
test eax, eax
cmovne ecx, eax
mov dword [0x4bed44], ecx
push 3
push 2
push 0
push 6
call fcn.00437d30
add esp, 0x10
test al, al
setne byte [0x4c0830]
push 0x4c0838
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e348
mov esp, ebp
pop ebp
ret

Function at 0x43a390
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x14]
push esi
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call fcn.00470240
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push dword [ebp + 0x18]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43a45e
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43a440
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43a440
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x43a440
cmp esi, dword [ebp - 0xc]
jb 0x43a440
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43a44e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x43a45e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43d910
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d870

Function at 0x43fc00
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x548], 2
jne 0x43fc18
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043fbc0
mov al, 1
pop ebp
ret
Function at 0x43fdb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43fddb
cmp dword [esi + 0x80], 0
je 0x43fddb
push 2
push 3
push esi
call fcn.00439da0
push dword [ebp + 0xc]
call fcn.0043f740
add esp, 0x10
jmp 0x43fdea
push dword [ebp + 0xc]
call fcn.0043f740
add esp, 4
test esi, esi
je 0x43fdfe
cmp dword [esi + 0x80], 0
je 0x43fdfe
push 3
push esi
call fcn.00439df0
add esp, 8
pop esi
pop ebp
ret
Function at 0x44af80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0043f360
mov esi, dword [ebp + 0xc]
add esp, 4
mov edi, dword [ebp + 8]
movups xmm0, xmmword [eax]
push 1
push esi
push edi
movups xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x44affb
nop
lea eax, [ebp - 0x20]
push eax
call fcn.0043f360
movups xmm0, xmmword [ebp - 0x10]
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.0043f410
add esp, 0x20
test edx, edx
ja 0x44b003
jb 0x44afe5
cmp eax, 0x3e8
ja 0x44b003
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x44afb0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret