joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c980
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x75a440]
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.004102f0
add esp, 8
test eax, eax
je 0x41c9c4
mov byte [0x77c3e4], 1
push str.__newupdate
mov ecx, dword [ebp + 8]
push ecx
call fcn.004102f0
add esp, 8
test eax, eax
je 0x41ca27
push 0x77c628
lea ecx, [ebp - 0x28]
call fcn.004055b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.00412040
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406ed0
nop
push 0
push 0
call fcn.0041a880
add esp, 8
movzx eax, al
test eax, eax
jne 0x41ca23
mov eax, 3
jmp 0x41ca9d
xor eax, eax
jmp 0x41ca9d
call fcn.0041b8a0
test eax, eax
jne 0x41ca83
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
mov dword [0x77c3e0], ecx
cmp dword [0x77c3e0], 6
jb 0x41ca66
push 0x77d210
call fcn.004248c0
add esp, 4
call fcn.0041a090
nop
jmp 0x41ca81
push 0x10
push 0x73ef28
push 0x73ef58
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 5
jmp 0x41ca9d
jmp 0x41ca9b
push 0x77d2a0
call fcn.004248c0
add esp, 4
call fcn.00417e40
call fcn.0041a090
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.0046c358
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x23
push 0x77c428
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5c
push 0x77c428
call fcn.00412530
add esp, 8
push str.VKSaver
push 0x100
push 0x77c428
call fcn.00473947
add esp, 0xc
push 0
push 0x77c428
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x77c428
push 0x100
push 0x77c628
call fcn.00478702
add esp, 0xc
push 0x73eeac
push 0x100
push 0x77c628
call fcn.00473947
add esp, 0xc
push 0x77c628
push 0x100
push 0x77c828
call fcn.00478702
add esp, 0xc
push 0x77c628
push 0x100
push 0x77ca28
call fcn.00478702
add esp, 0xc
push 0x73eeb0
push 0x100
push 0x77c628
call fcn.00473947
add esp, 0xc
push str.VKSaver.exe
push 0x100
push 0x77c828
call fcn.00473947
add esp, 0xc
push str.config.dat
push 0x100
push 0x77ca28
call fcn.00473947
add esp, 0xc
pop ebp
ret
Function at 0x41cd90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041cc10
movzx eax, al
test eax, eax
je 0x41cdb9
mov eax, 1
jmp 0x41cf9a
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x77c3d8], eax
call fcn.0041c790
test eax, eax
je 0x41cde2
mov eax, 4
jmp 0x41cf9a
call fcn.0041c5b0
movzx edx, al
test edx, edx
je 0x41ce13
push 0x25
push 0x73f040
push 0x73f078
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x41ce11
mov eax, 2
jmp 0x41cf9a
jmp 0x41cde2
mov eax, dword [ebp + 8]
mov dword [0x77c3d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x77c3d4], eax
call fcn.0041bb80
nop
lea ecx, [ebp - 0x434]
push ecx
call fcn.0041a790
add esp, 4
push eax
mov ecx, 0x75a00c
call fcn.00407440
lea ecx, [ebp - 0x434]
call fcn.00406eb0
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
push edx
call fcn.0041c6d0
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.0041c820
add esp, 4
mov dword [ebp - 0x44c], eax
lea edx, [ebp - 0x404]
push edx
call fcn.0041cac0
add esp, 4
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x438]
push eax
call fcn.004196d0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41cedd
mov edx, dword [ebp - 0x444]
push edx
call fcn.00419e40
add esp, 4
movzx eax, al
test eax, eax
jne 0x41cf4a
mov ecx, 0x75c360
call fcn.00404b20
push eax
push 0x73f150
lea ecx, [ebp - 0x41c]
push ecx
call fcn.004149d0
add esp, 0xc
push 0x30
push 0x73f310
lea ecx, [ebp - 0x41c]
call fcn.0040b5b0
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.00417fb0
add esp, 8
mov dword [ebp - 0x448], 5
lea ecx, [ebp - 0x41c]
call fcn.00406ed0
mov eax, dword [ebp - 0x448]
jmp 0x41cf9a
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.0041cb20
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.0041c980
add esp, 8
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x41cf92
mov eax, dword [ebp - 0x440]
jmp 0x41cf9a
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f5f0
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 0x740970
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [0x77d150], 1
lea ecx, [ebp - 8]
push ecx
push 0
push 0x75c2c8
push 0x4082d0
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, 0x77d3c0
call fcn.004216c0
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 [0x75a078]
mulsd xmm0, qword [0x740ca0]
cvttsd2si edx, xmm0
push edx
movsd xmm0, qword [0x75a070]
mulsd xmm0, qword [0x740da0]
cvttsd2si eax, xmm0
push eax
movsd xmm0, qword [0x75a078]
mulsd xmm0, qword [0x740cc0]
cvttsd2si ecx, xmm0
push ecx
movsd xmm0, qword [0x75a070]
mulsd xmm0, qword [0x740c00]
mulsd xmm0, qword [0x740c10]
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 0x41f870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov byte [0x77c3c0], 0
mov byte [0x77c3c1], 0
mov ecx, 0x75c2c8
call fcn.0040f790
push 0x77cd28
mov eax, dword [0x75c2c0]
push eax
call fcn.00417d80
add esp, 8
call fcn.00417e40
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x41ad90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x77d151], 0
mov byte [0x77c3c2], 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 0x41fa20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x77c3d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.00417600
movzx ecx, al
test ecx, ecx
je 0x41fa69
push 0
mov edx, dword [0x77c3dc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x77c3dc]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
nop
jmp 0x41fa86
mov ecx, dword [str.VKSaverInstallerMtx]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x77c3d8], eax
mov eax, 0x77d570
jmp 0x41fa88
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x424550
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.0040a990
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040aa30
nop
jmp 0x424588
lea ecx, [ebp - 4]
call fcn.004079a0
nop
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.004076e0
movzx ecx, al
test ecx, ecx
jne 0x4245b7
lea ecx, [ebp - 4]
call fcn.00407940
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 0x42457f
mov esp, ebp
pop ebp
ret
Function at 0x42dd00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42dd8c
push esi
call fcn.00438b80
add esp, 4
test al, al
jne 0x42dd8c
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42dd23
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0043ebb0
add esp, 0xc
test eax, eax
je 0x42dd57
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0043ebb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42dd59
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 0x42dd85
mov al, byte [esi]
push eax
call fcn.004375d0
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 0x42dd67
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x432d20
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, 0x75a0d0
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, 0x75a0d0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x434
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x432ebd
cmp byte [ecx + 0x3c], 0
je 0x432ebd
cmp dword [ebp + 0x8d8], 0
je 0x432ebd
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x432da2
test byte [eax + 4], 0x10
je 0x432da2
add eax, 0x78
jmp 0x432da8
lea eax, [ebp + 0x8dc]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x4a4], edi
jbe 0x432e86
xor ebx, ebx
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x432e76
push dword [esi]
push dword [edx + 8]
call fcn.00437710
add esp, 8
test eax, eax
je 0x432e72
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x432e00
test eax, eax
je 0x432e14
jmp 0x432e72
test eax, eax
je 0x432e72
push eax
push dword [ecx + 0x64]
call fcn.00437710
add esp, 8
test eax, eax
je 0x432e72
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x432e2e
cmp eax, 0xffffffff
je 0x432e3b
jmp 0x432e72
cmp eax, 0xffffffff
je 0x432e72
cmp dword [ecx + 0x43c], eax
jne 0x432e72
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x432e76
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.00437710
add esp, 8
test eax, eax
je 0x432e72
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x20]
call fcn.00432950
add esp, 8
test al, al
jne 0x432e92
mov edx, dword [esp + 0x14]
inc edi
add ebx, 0x60
cmp edi, dword [ebp + 0x4a4]
jb 0x432dc0
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 0x432eb3
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 0x438cc0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x438cfe
mov eax, dword [esi + 0x70]
cmp byte [eax + 0xe8], 0
jne 0x438cef
push 0
call fcn.00438cc0
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 0x438d13
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x43f2a0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0042e110
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.004858e1
push dword [esp + 0x40]
mov edi, eax
call fcn.004858e1
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 0x43f335
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0042e110
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.0042e1c0
add esp, 0x20
test edx, edx
ja 0x43f359
jb 0x43f327
cmp eax, 0x3e8
ja 0x43f359
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x43f2f0
test edi, edi
je 0x43f342
push edi
call fcn.00471e7c
add esp, 4
test esi, esi
je 0x43f34f
push esi
call fcn.00471e7c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x43f366
push edi
call fcn.00471e7c
add esp, 4
test esi, esi
je 0x43f373
push esi
call fcn.00471e7c
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x43f4c0
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 [0x75a440]
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 0x43f69e
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 0x43f68c
push 0x10
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x43f68c
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 0x43f68c
cmp dword [esp + 0xc], 0x10
jl 0x43f68c
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x43f68c
push 0
push 1
push 2
call edi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x43f68c
push 0x10
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43f68c
push 1
push esi
call fcn.004616c0
add esp, 8
test eax, eax
js 0x43f68c
push 0
push 0x3e8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push 1
push eax
mov dword [esp + 0x28], 0x300
call fcn.0043e250
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 0x43f68c
lea eax, [esp + 0x1c]
push eax
call fcn.0042e110
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 0x43f68c
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 0x43f68c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x43f660
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.0046c358
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.0046c358
add esp, 0x54
ret

Function at 0x43fb30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.00478425
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x43fb56
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x43fba0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x43fc4b
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.004330a0
add esp, 0xc
cmp eax, 4
jne 0x43fc06
cmp byte [0x77d6f8], 0
jne 0x43fc12
push 2
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x43fc4d
mov eax, dword [esp + 0x1c]
jmp 0x43fc2f
imul eax, dword [0x77d6f4], 0x41c64e6d
add eax, 0x3039
mov dword [0x77d6f4], eax
rol eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x43fc43
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x43fc33
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x43fbc0
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43fc60
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0x8c
mov eax, dword [0x75a440]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, edx
push ebx
and eax, 0xfffffffe
lea ebx, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x9c]
cmp eax, 0x100
jae 0x43fdc9
test dl, 1
je 0x43fdc9
push esi
dec edx
mov esi, ebx
push edi
mov edi, edx
mov dword [esp + 0xa8], edx
shr edi, 1
mov ecx, 0x2b
je 0x43fd73
nop word [eax + eax]
push 4
lea eax, [esp + 0x14]
mov ebx, 4
push eax
push dword [esp + 0x1c]
cmp edi, ebx
cmovb ebx, edi
call fcn.004330a0
add esp, 0xc
cmp eax, 4
jne 0x43fd19
cmp byte [0x77d6f8], 0
jne 0x43fd29
push 2
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
mov ecx, eax
test eax, eax
jne 0x43fdb0
mov eax, dword [esp + 0x10]
jmp 0x43fd46
imul eax, dword [0x77d6f4], 0x41c64e6d
add eax, 0x3039
mov dword [0x77d6f4], eax
rol eax, 0x10
xor ecx, ecx
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x43fd60
nop word [eax + eax]
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x43fd50
mov dword [esp + 0x10], eax
test edi, edi
jne 0x43fcd0
mov edx, dword [esp + 0xa8]
lea ebx, [esp + 0x18]
mov eax, ecx
test eax, eax
jne 0x43fdb0
test edx, edx
je 0x43fdaa
nop dword [eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [eax + 0x744e00]
mov byte [ebp], al
movzx eax, byte [ecx + 0x744e00]
mov byte [ebp + 1], al
add ebp, 2
sub edx, 2
jne 0x43fd80
mov byte [ebp], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0046c358
add esp, 0x8c
ret
mov ecx, dword [esp + 0x90]
mov eax, 0x2b
pop ebp
pop ebx
xor ecx, esp
call fcn.0046c358
add esp, 0x8c
ret

Function at 0x43fdf0
Capabilities:
Generate random numbers via winapi

Disassembly:
push dword [esp + 8]
push 0
push dword [esp + 0xc]
call fcn.0046f6f0
add esp, 0xc
push 2
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb eax, eax
and eax, 2
ret
Function at 0x4438b0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x75a088]
mov edi, eax
add esp, 8
test edi, edi
je 0x443907
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x44391f
cmp esi, ebx
je 0x44391f
cmp esi, 0x8000
ja 0x44391f
cmp esi, ebx
jb 0x443918
push esi
push edi
call dword [0x75a088]
mov edi, eax
add esp, 8
test edi, edi
jne 0x4438d0
push ebp
call dword [0x75a084]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x75a084]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push 0
mov byte [esp + 0x12], cl
lea ecx, [esp + 0x10]
push 3
mov eax, dword [esi + 0xc]
push ecx
mov byte [esp + 0x18], 0xff
mov byte [esp + 0x19], bl
push dword [eax + 0x120]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x444dac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00434ec0
add esp, 0xc
push dword [esp + 0x14]
push ebx
push str.SENT
push esi
call fcn.00444980
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x444f00
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov eax, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x134]
mov dword [esp + 8], eax
jne 0x445053
push esi
lea ecx, [ebp + 0x1cb4]
push edi
lea edi, [ebp + 0x1eb4]
mov eax, ecx
mov dword [edi], ecx
cmp ecx, edi
jae 0x444f3d
lea eax, [ecx + 1]
mov byte [ecx], 0xff
mov dword [edi], eax
cmp eax, edi
jae 0x444f51
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444f51
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
movzx eax, ax
mov dword [esp + 0x18], eax
movzx eax, word [ebp + 0x1caa]
push eax
call esi
mov edx, dword [esp + 0x18]
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
mov byte [eax], dh
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
shr ecx, 8
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x444fbb
mov byte [eax], 0xf0
mov eax, dword [edi]
inc eax
mov dword [ebp + 0x1eb8], eax
lea esi, [ebp + 0x1cb4]
sub eax, esi
mov dword [edi], esi
sub eax, 2
push eax
lea eax, [ebp + 0x1cb6]
push eax
push 0x3e
push ebx
call fcn.00444a80
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 3
push esi
push dword [eax + 0x120]
call edi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x445013
call esi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00434ec0
add esp, 0xc
push 4
lea eax, [ebp + 0x1cb7]
push eax
push ebx
call fcn.00444dd0
add esp, 0xc
lea eax, [ebp + 0x1cbb]
push 0
push 2
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x120]
call edi
test eax, eax
jns 0x445051
call esi
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00434ec0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret