joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412ab0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0xd0]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x412ad6
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov al, 1
pop esi
pop ecx
ret
push ebx
lea eax, [esp + 0xc]
push eax
push 4
push esi
push 0x412330
push 0
mov dword [esi + 0x28], 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esi + 0x34]
test ecx, ecx
push edi
setne bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x413380
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x10], 0
call sub.WS2_32.dll_ioctlsocket
mov cl, byte [esp + 0x10]
push 0
push 1
lea edx, [esp + 0x14]
push edx
push esi
mov byte [esp + 0x1c], cl
call sub.WS2_32.dll_send
dec eax
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret 8

Function at 0x4133c0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push ebp
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_ioctlsocket
mov ecx, dword [esp + 0x24]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
xor esi, esi
add edi, edx
cmp edi, esi
mov dword [esp + 0x18], esi
jl 0x413459
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [esi + edx]
push eax
push ebp
call sub.WS2_32.dll_recv
test eax, eax
je 0x413459
cmp eax, 0xffffffff
jne 0x413446
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x413459
mov eax, dword [esp + 0x18]
lea ecx, [edi - 1]
cmp eax, ecx
je 0x41344c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41344c
add esi, eax
cmp esi, ebx
je 0x413463
mov eax, dword [esp + 0x18]
inc eax
cmp eax, edi
mov dword [esp + 0x18], eax
jle 0x413404
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10

Function at 0x4134b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, ecx
call fcn.004478ea
add esp, 4
cmp eax, 0x7f
jl 0x4134cb
mov eax, 0x7f
xor ecx, ecx
mov cx, word [esi + 2]
xor cx, word [esi]
lea esi, [eax + 1]
xor ecx, 0xa0f6
test esi, esi
jle 0x413500
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, eax
lea esp, [esp]
mov di, word [edx + eax]
xor di, cx
mov word [eax], di
add eax, 2
dec esi
jne 0x4134f0
pop edi
pop esi
ret 8
Function at 0x413510
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
mov ax, word [ecx + 2]
xor ax, word [ecx]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ecx, edi
mov esi, 0x7f
xor eax, 0xa0f6
sub edx, edi
mov bx, word [edx + ecx]
xor bx, ax
mov word [ecx], bx
add ecx, 2
dec esi
jne 0x413532
mov word [edi + 0xfe], 0
pop edi
pop esi
pop ebx
ret 8

Function at 0x413bc0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x10], 0
call sub.WS2_32.dll_ioctlsocket
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp ax, 1
mov word [esp + 0xc], ax
jae 0x413bf8
mov ax, 0x7b
mov word [esp + 0xc], ax
movzx ecx, ax
xor edx, edx
mov eax, 0x6a0f0
div ecx
push 0
push 4
xor edx, 0xa0f6
mov word [esp + 0x16], dx
lea edx, [esp + 0x14]
push edx
push esi
call sub.WS2_32.dll_send
sub eax, 4
neg eax
sbb eax, eax
inc eax
pop esi
pop ecx
ret 4

Function at 0x413de0
Capabilities:
Connect socket
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x220
mov eax, dword [0x461d34]
push ebx
mov ebx, dword [esp + 0x228]
test ebx, ebx
push edi
mov dword [esp + 0x224], eax
mov edi, ecx
je 0x413f26
cmp ebx, 0xffffffff
je 0x413f26
xor eax, eax
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push eax
push 1
push 2
mov dword [esp + 0x2c], eax
mov word [esp + 0x20], 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x413f0b
mov ecx, dword [esp + 0x234]
push ecx
call sub.WS2_32.dll_htons
push 0x10
lea edx, [esp + 0x18]
push edx
push esi
mov word [esp + 0x22], ax
mov dword [esp + 0x24], ebx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x413f05
push 4
lea eax, [esp + 0x14]
push eax
push 1
push 6
push esi
mov dword [esp + 0x24], 1
call sub.WS2_32.dll_setsockopt
push 0x4e20
push esi
mov ecx, edi
call fcn.00413b50
test eax, eax
je 0x413f05
lea ecx, [esp + 0x24]
push ecx
call fcn.0042da30
add esp, 4
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x128]
call fcn.00413b00
push 0
push 0x104
lea eax, [esp + 0x12c]
push eax
push esi
call sub.WS2_32.dll_send
push 0x4e20
push 1
lea ecx, [esp + 0x17]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x1f], 0
call fcn.004133c0
test eax, eax
je 0x413f05
mov al, byte [esp + 0xf]
test al, al
je 0x413f05
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x21c]
call fcn.00447d46
add esp, 0x220
ret 8
push esi
call sub.WS2_32.dll_closesocket
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x21c]
call fcn.00447d46
add esp, 0x220
ret 8
mov ecx, dword [esp + 0x224]
pop edi
or eax, 0xffffffff
pop ebx
call fcn.00447d46
add esp, 0x220
ret 8
Function at 0x414238
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x461d34]
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x420], 0xffffffff
je 0x41425e
mov eax, dword [esi + 0x420]
push eax
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x420], 0xffffffff
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x420], eax
jne 0x414279
push 0
push eax
jmp 0x4142d0
xor ecx, ecx
mov cx, word [esi + 0xc0]
mov word [esp + 4], 2
push ecx
call sub.WS2_32.dll_htons
push 0
mov word [esp + 0xa], ax
call sub.WS2_32.dll_htonl
push 0x10
lea edx, [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x420]
push edx
push eax
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x4142c7
mov al, 1
pop esi
mov ecx, dword [esp + 0x10]
call fcn.00447d46
add esp, 0x14
ret
mov ecx, dword [esi + 0xc0]
push 0
push ecx
mov ecx, esi
push 0
call fcn.00413f40
mov ecx, dword [esp + 0x14]
xor al, al
pop esi
call fcn.00447d46
add esp, 0x14
ret

Function at 0x414490
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0xc
mov edi, ecx
call fcn.0044707c
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esi], edi
add esp, 4
add edi, 0x444
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x4142f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop edi
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x414830
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, ecx
lea ebx, [edi + 0xe8]
xor eax, eax
mov ecx, ebx
cmp dword [ecx], 0xffffffff
je 0x414855
inc eax
add ecx, 8
cmp eax, 0x64
jl 0x414845
jmp 0x41485a
cmp eax, 0xffffffff
jne 0x414870
push 0x1f4
call esi
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x414841
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov ecx, dword [esp + 0x10]
mov dword [edi + eax*8 + 0xe8], ecx
mov dword [edi + eax*8 + 0xec], 0xffffffff
mov eax, dword [edi + 0x40c]
test eax, eax
jne 0x4148ea
lea esi, [edi + 0x408]
lea edx, [esi + 0xc]
push edx
push 4
push esi
push 0x414530
push 0
mov dword [esi + 8], 0
mov dword [esi], edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x414903
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4148e0
push 0
push 0
push 0
push 0
call dword [0x462c10]
test eax, eax
mov dword [esi + 0x10], eax
setne al
test al, al
je 0x414903
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [edi + 0x418]
test edi, edi
je 0x4148fb
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov al, 1
pop ebx
ret 4
push 0x64
mov ecx, esi
call fcn.0042a7e0
pop edi
pop esi
xor al, al
pop ebx
ret 4
Function at 0x417410
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
push edi
lea edi, [eax + edx]
cmp eax, edi
jae 0x417458
push ebp
mov edi, edi
movzx edx, byte [eax]
mov ebx, ecx
shr ebx, 0x18
xor ebx, edx
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x4771c0]
mov ebx, dword [esi]
shl ecx, 8
add ebx, edx
xor ecx, ebp
inc eax
cmp eax, edi
mov dword [esi], ebx
jb 0x417430
pop ebp
mov eax, dword [esi]
mov edi, eax
mov ebx, 0xfd
xor edx, edx
div ebx
shr edi, 8
and edi, 3
mov eax, ecx
add edi, edx
mov dword [esi], edi
pop edi
pop esi
pop ebx
ret

Function at 0x4190c0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea ecx, [esp]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 4], 0
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
shl eax, 7
add esp, 0x24
ret
Function at 0x4191f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
call fcn.00419150
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], eax
shl eax, 5
mov dword [esi + 4], eax
mov eax, dword [ecx]
test al, 0x1f
je 0x41921b
xor al, al
pop esi
add esp, 0x28
ret 8
push ebx
push ebp
lea ebp, [eax + 0x1f]
shr ebp, 5
mov eax, ebp
push edi
shl eax, 5
lea ebx, [ebp*4]
push ebx
mov dword [ecx], eax
call fcn.00447077
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
je 0x4192c0
xor eax, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x18]
imul edx, ebp
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
push 1
push 0x2000
mov edi, eax
imul edi, ecx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [esp + 0x40], eax
mov ecx, esi
jne 0x4192cc
call fcn.00419150
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x28
ret 8
call fcn.004190c0
mov ecx, eax
cmp dword [esi + 0x14], edi
mov dword [esp + 0x10], ecx
mov ebx, ecx
jge 0x419318
jmp 0x4192e4
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
add ecx, eax
cmp ecx, edi
jl 0x4192f1
mov ebx, edi
sub ebx, eax
mov edx, dword [esp + 0x40]
push 4
push 0x1000
push ebx
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x419318
mov ecx, dword [esi + 0x14]
add ecx, ebx
mov eax, ecx
cmp eax, edi
mov dword [esi + 0x14], ecx
jl 0x4192e0
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x14]
xor ecx, ecx
xor eax, eax
cmp edx, edi
jg 0x419346
mov edx, dword [esp + 0x40]
mov edi, dword [esi]
add edx, ecx
mov dword [edi + eax*4], edx
mov edi, dword [esi + 4]
inc eax
add ecx, edi
cmp eax, ebp
je 0x419346
mov edx, edi
mov edi, dword [esi + 0x14]
add edx, ecx
cmp edx, edi
jle 0x419326
mov ecx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov edx, dword [ecx]
shl eax, 5
cmp edx, eax
jbe 0x419358
mov dword [ecx], eax
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x28
ret 8

Function at 0x41b4b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x461d34]
push edi
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 4], 0x455f88
mov ecx, 0x10
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
call fcn.0041b2d0
mov edx, dword [esp + 0x70]
push edx
lea ecx, [esp + 8]
call fcn.0041b390
mov ecx, dword [esp + 0x60]
mov al, 1
pop edi
call fcn.00447d46
add esp, 0x60
ret
Function at 0x41eeb0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov eax, dword [esp + 8]
push 0
push eax
push 0
mov ecx, 0x460398
call fcn.0041ec90
push 0
lea ecx, [esp + 0xc]
push str.z2_R2PC_Server
push ecx
call fcn.00426d20
add esp, 0xc
mov byte [esp], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, dword [esp + 8]
mov ecx, dword [esp]
push edx
push ecx
push eax
call fcn.0041ea40
add esp, 0xc
mov ecx, 0x460398
call fcn.0041ee10
xor eax, eax
pop ecx
ret 0x10

Function at 0x41f680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x410
mov eax, dword [0x461d34]
push esi
push edi
mov dword [esp + 0x414], eax
mov esi, ecx
call dword [0x460270]
mov eax, dword [esp + 0x41c]
push 2
push 0
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
call dword [0x462c6c]
mov edi, eax
test edi, edi
jne 0x41f6d4
call fcn.0041f250
mov esi, eax
jmp 0x41f795
mov ecx, dword [esp + 0x424]
mov edx, dword [esp + 0x420]
push ecx
push edx
push edi
call dword [0x462c24]
mov esi, eax
test esi, esi
jne 0x41f6fd
call fcn.0041f250
mov esi, eax
jmp 0x41f78e
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x41f713
call fcn.0041f250
jmp 0x41f78b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + esi + 2]
cmp eax, 0x400
jbe 0x41f741
push eax
lea ecx, [esp + 0x18]
call fcn.00420c90
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41f749
mov esi, 0x8007000e
jmp 0x41f78d
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
call dword [0x460270]
mov ecx, dword [esp + 0x14]
push esi
push ecx
push esi
push ebx
push 0
push eax
call dword [0x462c78]
test eax, eax
jne 0x41f76b
call fcn.0041f250
jmp 0x41f78b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x42c]
mov word [edx + esi*2], 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0041f7e0
mov esi, eax
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
cmp eax, edx
je 0x41f7aa
lea ecx, [esp + 0x10]
call fcn.0041f7d0
mov ecx, dword [esp + 0x414]
pop edi
mov eax, esi
pop esi
call fcn.00447d46
add esp, 0x410
ret 0x10

Function at 0x421700
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x4687fc], 5
jb 0x42175e
mov eax, dword [0x477130]
test eax, eax
jne 0x42175e
push 0x477138
push 4
push 0x47712c
push 0x421470
push eax
mov dword [0x477134], eax
push eax
mov dword [0x47712c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x477130], eax
mov eax, dword [0x477130]
test eax, eax
je 0x421752
mov eax, dword [0x477130]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
ret
push 0x64
mov ecx, 0x47712c
call fcn.0042a7e0
xor al, al
ret
Function at 0x4236f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42378d
mov eax, dword [esi + 0x2c]
or eax, 1
mov dword [esi + 0x2c], eax
test byte [esi + 0x2c], 4
je 0x423717
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
xor edi, edi
mov edx, dword [esi + 0x10]
push 0x64
push edx
call ebx
test eax, eax
je 0x42373e
mov eax, dword [esi + 0x2c]
or eax, 1
inc edi
cmp edi, 0x50
mov dword [esi + 0x2c], eax
jl 0x423721
jmp 0x42374f
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
test eax, eax
pop edi
pop ebx
je 0x423772
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.00423670
mov dword [esi + 0x164], 0
mov dword [esi + 0x38c], 0xa
mov eax, 1
pop esi
ret

Function at 0x4245d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x423ff0
push 0
and eax, 0xfffffffe
push 0
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
pop esi
pop ecx
ret
Function at 0x425040
Capabilities:
Check for time delay via gettickcount
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x844
mov eax, dword [ebp + 8]
push ebx
push esi
add eax, 0x1c
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x38]
push eax
call fcn.00448e84
xor esi, esi
xor eax, eax
mov dword [esp + 0x54], esi
mov ecx, 0xff
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x18], 0x100
call fcn.004265d0
mov edi, dword [esp + 0x18]
lea edi, [edi + edi + 3]
shr edi, 2
add esp, 0xc
cmp edi, esi
jne 0x4250d8
call fcn.00448e91
mov dword [esp + esi*4 + 0x50], eax
inc esi
cmp esi, 0x100
jb 0x4250c1
mov edi, 0x100
mov eax, dword [0x477148]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x450], eax
call esi
cmp eax, dword [0x477148]
jne 0x4250fc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
mov ebx, eax
mov dword [esp + 0x454], ebx
mov esi, 2
lea esp, [esp]
call fcn.00448e91
mov ecx, eax
lea eax, [ebx + 1]
imul eax, dword [0x477148]
add ecx, esi
add eax, ecx
add eax, ebx
mov ecx, eax
mov eax, esi
cdq
idiv edi
imul ecx, dword [esp + edx*4 + 0x50]
mov dword [esp + esi*4 + 0x450], ecx
inc esi
cmp esi, 0x100
jb 0x425110
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x18]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x450]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425f00
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
push edi
lea edi, [ecx + eax]
cmp ecx, edi
jae 0x425f3e
push ebx
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
xor ebx, ebx
mov bl, byte [ecx]
mov edx, eax
shr edx, 0x18
shl eax, 8
xor edx, ebx
and edx, 0xff
xor eax, dword [edx*4 + 0x4771c0]
inc ecx
cmp ecx, edi
mov dword [esi], eax
jb 0x425f16
pop esi
pop ebx
pop edi
ret
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
pop edi
ret
Function at 0x425f50
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x425f64
add eax, eax
xor eax, 0x4c11db7
jmp 0x425f66
shl eax, 1
test eax, eax
jns 0x425f73
add eax, eax
xor eax, 0x4c11db7
jmp 0x425f75
shl eax, 1
test eax, eax
jns 0x425f82
add eax, eax
xor eax, 0x4c11db7
jmp 0x425f84
shl eax, 1
test eax, eax
jns 0x425f91
add eax, eax
xor eax, 0x4c11db7
jmp 0x425f93
shl eax, 1
test eax, eax
jns 0x425fa0
add eax, eax
xor eax, 0x4c11db7
jmp 0x425fa2
shl eax, 1
test eax, eax
jns 0x425faf
add eax, eax
xor eax, 0x4c11db7
jmp 0x425fb1
shl eax, 1
test eax, eax
jns 0x425fbe
add eax, eax
xor eax, 0x4c11db7
jmp 0x425fc0
shl eax, 1
test eax, eax
jns 0x425fcd
add eax, eax
xor eax, 0x4c11db7
jmp 0x425fcf
shl eax, 1
mov dword [ecx*4 + 0x4771c0], eax
inc ecx
cmp ecx, 0x100
jl 0x425f52
ret

Function at 0x425ff0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 8]
mov dword [eax], 1
cmp dword [edi], 0
je 0x42604e
mov al, byte [esp + 0x10]
test al, al
je 0x42604e
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor esi, esi
test ebp, ebp
jbe 0x426037
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xc8
call ebx
cmp dword [edi], 0
je 0x426036
add esi, 0xc8
cmp esi, ebp
jb 0x426020
pop ebx
mov eax, dword [edi]
test eax, eax
pop esi
pop ebp
je 0x42604e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi], 0
pop edi
ret

Function at 0x426050
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
je 0x42608b
mov eax, dword [esi]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x426077
mov ecx, dword [esi]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [esi], 0
je 0x42608b
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
pop esi
ret

Function at 0x426090
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x461d34]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
mov ecx, dword [esp + 0x198]
mov dword [ecx], eax
mov ecx, dword [esp + 0x190]
test eax, eax
sete al
call fcn.00447d46
add esp, 0x194
ret