joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c510
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x639440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0046f640
add esp, 0xc
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 0x11
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0x61dc34
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x63b360
call fcn.00414aa0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.0040b520
push eax
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.00406e90
nop
cmp dword [ebp - 0x24], 0
je 0x41c588
mov al, 1
jmp 0x41c594
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c2a8
mov esp, ebp
pop ebp
ret

Function at 0x41c630
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x639440]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.0046f640
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41c6c3
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x41c6ac
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x238], ecx
jmp 0x41c6c3
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41c693
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c2a8
mov esp, ebp
pop ebp
ret
Function at 0x41c780
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
push 1
call fcn.00478649
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 8], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x61dc3c
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
nop
cmp dword [ebp - 8], 0
je 0x41c7e7
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov eax, 4
imul ecx, eax, 0
mov dword [ecx + 0x63b304], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0xffff
mov ecx, 4
shl ecx, 0
mov dword [ecx + 0x63b304], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0x1f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x15
and edx, 0xf
imul ecx, edx, 0x64
add eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
shr ecx, 0x19
imul edx, ecx, 0x2710
add eax, edx
mov ecx, 4
shl ecx, 1
mov dword [ecx + 0x63b304], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
and eax, 0xffff
mov ecx, 4
imul edx, ecx, 3
mov dword [edx + 0x63b304], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x19
add ecx, 0x7d0
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
shr eax, 0x15
and eax, 0xf
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0x1f
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
push edx
push 0x61dc40
push 0x65bc28
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov esp, ebp
pop ebp
ret
Function at 0x41c8e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x639440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.__vk2kill
mov eax, dword [ebp + 8]
push eax
call fcn.00410270
add esp, 8
test eax, eax
je 0x41c924
mov byte [0x65b3e4], 1
push str.__newupdate
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410270
add esp, 8
test eax, eax
je 0x41c987
push 0x65b628
lea ecx, [ebp - 0x28]
call fcn.00405570
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.00411fc0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406e90
nop
push 0
push 0
call fcn.0041a7e0
add esp, 8
movzx eax, al
test eax, eax
jne 0x41c983
mov eax, 3
jmp 0x41c9fd
xor eax, eax
jmp 0x41c9fd
call fcn.0041b800
test eax, eax
jne 0x41c9e3
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
mov dword [0x65b3e0], ecx
cmp dword [0x65b3e0], 6
jb 0x41c9c6
push 0x65c210
call fcn.00424810
add esp, 4
call fcn.00419ff0
nop
jmp 0x41c9e1
push 0x10
push 0x61dd28
push 0x61dd58
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 5
jmp 0x41c9fd
jmp 0x41c9fb
push 0x65c2a0
call fcn.00424810
add esp, 4
call fcn.00417db0
call fcn.00419ff0
nop
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c2a8
mov esp, ebp
pop ebp
ret

Function at 0x41ca80
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x23
push 0x65b428
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5c
push 0x65b428
call fcn.004124b0
add esp, 8
push 0x61dc9c
push 0x100
push 0x65b428
call fcn.00473897
add esp, 0xc
push 0
push 0x65b428
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x65b428
push 0x100
push 0x65b628
call fcn.00478654
add esp, 0xc
push 0x61dcac
push 0x100
push 0x65b628
call fcn.00473897
add esp, 0xc
push 0x65b628
push 0x100
push 0x65b828
call fcn.00478654
add esp, 0xc
push 0x65b628
push 0x100
push 0x65ba28
call fcn.00478654
add esp, 0xc
push 0x61dcb0
push 0x100
push 0x65b628
call fcn.00473897
add esp, 0xc
push str.VKSaver.exe
push 0x100
push 0x65b828
call fcn.00473897
add esp, 0xc
push str.config.dat
push 0x100
push 0x65ba28
call fcn.00473897
add esp, 0xc
pop ebp
ret
Function at 0x41ccf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x639440]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041cb70
movzx eax, al
test eax, eax
je 0x41cd19
mov eax, 1
jmp 0x41cefa
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x65b3d8], eax
call fcn.0041c6f0
test eax, eax
je 0x41cd42
mov eax, 4
jmp 0x41cefa
call fcn.0041c510
movzx edx, al
test edx, edx
je 0x41cd73
push 0x25
push 0x61de40
push 0x61de78
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x41cd71
mov eax, 2
jmp 0x41cefa
jmp 0x41cd42
mov eax, dword [ebp + 8]
mov dword [0x65b3d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x65b3d4], eax
call fcn.0041bae0
nop
lea ecx, [ebp - 0x434]
push ecx
call fcn.0041a6f0
add esp, 4
push eax
mov ecx, 0x63900c
call fcn.00407400
lea ecx, [ebp - 0x434]
call fcn.00406e70
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
push edx
call fcn.0041c630
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.0041c780
add esp, 4
mov dword [ebp - 0x44c], eax
lea edx, [ebp - 0x404]
push edx
call fcn.0041ca20
add esp, 4
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x438]
push eax
call fcn.00419640
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41ce3d
mov edx, dword [ebp - 0x444]
push edx
call fcn.00419db0
add esp, 4
movzx eax, al
test eax, eax
jne 0x41ceaa
mov ecx, 0x63b360
call fcn.00404ae0
push eax
push 0x61df50
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00414950
add esp, 0xc
push 0x30
push 0x61e110
lea ecx, [ebp - 0x41c]
call fcn.0040b520
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.00406e90
mov eax, dword [ebp - 0x448]
jmp 0x41cefa
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.0041ca80
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.0041c8e0
add esp, 8
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x41cef2
mov eax, dword [ebp - 0x440]
jmp 0x41cefa
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c2a8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f550
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 0x61f770
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [0x65c154], 1
lea ecx, [ebp - 8]
push ecx
push 0
push 0x63b2c8
push 0x408290
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, 0x65c3c0
call fcn.00421610
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 [0x639078]
mulsd xmm0, qword [0x61faa0]
cvttsd2si edx, xmm0
push edx
movsd xmm0, qword [0x639070]
mulsd xmm0, qword [0x61fba0]
cvttsd2si eax, xmm0
push eax
movsd xmm0, qword [0x639078]
mulsd xmm0, qword [0x61fac0]
cvttsd2si ecx, xmm0
push ecx
movsd xmm0, qword [0x639070]
mulsd xmm0, qword [0x61fa00]
mulsd xmm0, qword [0x61fa10]
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 0x41f7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov byte [0x65b3c0], 0
mov byte [0x65b3c1], 0
mov ecx, 0x63b2c8
call fcn.0040f710
push 0x65bd28
mov eax, dword [0x63b2c0]
push eax
call fcn.00417cf0
add esp, 8
call fcn.00417db0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x41acf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x65c155], 0
mov byte [0x65b3c2], 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 0x41f980
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x65b3d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.00417570
movzx ecx, al
test ecx, ecx
je 0x41f9c9
push 0
mov edx, dword [0x65b3dc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x65b3dc]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
nop
jmp 0x41f9e6
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x65b3d8], eax
mov eax, 0x65c570
jmp 0x41f9e8
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4324b0
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], 0x6390d0
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 0x4324e8
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x8d8]
test esi, esi
je 0x43269c
push dword [ecx + 8]
mov edi, dword [esi + 0x14]
call dword [0x63908c]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x432541
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c9], 0
je 0x43254e
push dword [eax + 0x64]
call dword [0x63908c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x432556
mov edi, dword [esp + 0x30]
push edi
call dword [0x639084]
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 0x43256e
mov ecx, dword [eax + 0x43c]
mov dword [esp + 0x14], ecx
jmp 0x432576
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x43258c
test byte [eax + 4], 0x10
je 0x43258c
lea edx, [eax + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x432596
lea eax, [ebx + 0x8dc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4a4]
mov ecx, 1
cmp eax, ecx
jbe 0x4325e3
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 0x4325dd
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 0x4325b0
mov eax, dword [ebx + 0x4a4]
cmp ecx, eax
jne 0x4325f2
push esi
call fcn.00432ec0
add esp, 4
jmp 0x4325fe
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 [0x639084]
push dword [esi + 4]
call dword [0x639084]
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.00431cf0
add esp, 0x10
test al, al
jne 0x432691
push ebp
call fcn.00431f70
push edi
mov dword [esi + 0xc], 0
call dword [0x639084]
push ebx
call dword [0x639084]
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 0x43269c
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x432c70
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, 0x6390d0
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, 0x6390d0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x434
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x432e0d
cmp byte [ecx + 0x3c], 0
je 0x432e0d
cmp dword [ebp + 0x8d8], 0
je 0x432e0d
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x432cf2
test byte [eax + 4], 0x10
je 0x432cf2
add eax, 0x78
jmp 0x432cf8
lea eax, [ebp + 0x8dc]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x4a4], edi
jbe 0x432dd6
xor ebx, ebx
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x432dc6
push dword [esi]
push dword [edx + 8]
call fcn.00437660
add esp, 8
test eax, eax
je 0x432dc2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x432d50
test eax, eax
je 0x432d64
jmp 0x432dc2
test eax, eax
je 0x432dc2
push eax
push dword [ecx + 0x64]
call fcn.00437660
add esp, 8
test eax, eax
je 0x432dc2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x432d7e
cmp eax, 0xffffffff
je 0x432d8b
jmp 0x432dc2
cmp eax, 0xffffffff
je 0x432dc2
cmp dword [ecx + 0x43c], eax
jne 0x432dc2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x432dc6
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.00437660
add esp, 8
test eax, eax
je 0x432dc2
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x20]
call fcn.004328a0
add esp, 8
test al, al
jne 0x432de2
mov edx, dword [esp + 0x14]
inc edi
add ebx, 0x60
cmp edi, dword [ebp + 0x4a4]
jb 0x432d10
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 0x432e03
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 0x436a60
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x6224fc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x436a7a
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 0x622518
push esi
call fcn.0047ecf0
add esp, 8
test eax, eax
je 0x436ac2
test ebp, ebp
je 0x436ab3
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 0x436ae8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436ae8
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 0x436b9f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436b05
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x639080]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436b95
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x436b95
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436b37
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 0x436b50
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 0x436b60
test ebp, ebp
je 0x436b8c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x639084]
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 [0x639084]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x43f410
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 [0x639440]
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 0x43f5ee
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 0x43f5dc
push 0x10
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x43f5dc
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 0x43f5dc
cmp dword [esp + 0xc], 0x10
jl 0x43f5dc
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x43f5dc
push 0
push 1
push 2
call edi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x43f5dc
push 0x10
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43f5dc
push 1
push esi
call fcn.00461600
add esp, 8
test eax, eax
js 0x43f5dc
push 0
push 0x3e8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push 1
push eax
mov dword [esp + 0x28], 0x300
call fcn.0043e1a0
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 0x43f5dc
lea eax, [esp + 0x1c]
push eax
call fcn.0042e060
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 0x43f5dc
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 0x43f5dc
add ecx, 4
add edx, 4
sub edi, 4
jae 0x43f5b0
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.0046c2a8
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.0046c2a8
add esp, 0x54
ret