joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458386
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x46c004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 8], eax
lea eax, [edi + 0xc]
push eax
mov dword [ebp - 0x18], edi
mov dword [edi], vtable.GraceObject.0
call esi
mov dword [ebp - 4], 0
lea eax, [edi + 0x30]
mov byte [edi + 0x28], 1
push eax
mov dword [edi + 0x2c], 0
call esi
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x48], eax
mov byte [ebp - 4], 1
mov eax, dword [0x46d978]
mov dword [ebp - 0x10], edi
mov ebx, dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [ebx + 0x18], 1
jne 0x4240f3
mov dword [ebx + 0x18], 1
mov eax, dword [ebx + 0x18]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.00426600
lea esi, [ebx + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x2c], eax
test ecx, ecx
jne 0x42412d
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
push ebx
call esi
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi + 0x24], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4583c2
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x46c004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [0x46d978]
mov dword [edi], vtable.GraceObject.0
push edi
mov ecx, dword [eax]
call fcn.00424d10
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0xc]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test byte [ebp + 8], 1
je 0x4241d5
push 0x4c
push edi
call fcn.0043e2b6
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4242f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458439
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
call fcn.00424480
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], 0
call fcn.004245d0
mov byte [ebp - 4], 1
lea esi, [edi + 0x94]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426530
mov dword [esi], eax
push 0
push closesocket
push 0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x18], 0
mov dword [edi + 0x64], 0x7d0
jle 0x4243ed
push 0x14
call fcn.0043e283
mov esi, eax
xorps xmm0, xmm0
lea eax, [esi + 0xc]
mov dword [ebp - 0x18], esi
push eax
push 0
push esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 0x423120
push 0
push 0
mov dword [eax], 0
mov dword [esi + 8], 0
mov dword [esi], vtable.GraceObjectThread.0
mov dword [esi + 0x10], edi
mov dword [ebp - 0x14], esi
mov byte [esi + 4], 1
call fcn.0044480f
add esp, 0x1c
mov dword [esi + 8], eax
lea eax, [ebp - 0x14]
lea ecx, [edi + 0x84]
push eax
call fcn.00425df0
sub dword [ebp + 8], 1
jne 0x424387
push 0x14
call fcn.0043e283
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x18], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov byte [esi + 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi], vtable.GraceDelayThread.0
mov dword [esi + 0x10], edi
mov dword [edi + 0xa0], esi
mov eax, dword [esi + 8]
test eax, eax
je 0x424438
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0xc]
mov byte [esi + 4], 1
push eax
push 0
push esi
push 0x423120
push 0
push 0
call fcn.0044480f
mov dword [esi + 8], eax
add esp, 0x18
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret 4
Function at 0x429c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0xc], esi
lea eax, [edi + 0x194]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x1b4]
cmp eax, 2
je 0x429ccf
cmp eax, 3
je 0x429ccf
xor bl, bl
jmp 0x429d1e
lea esi, [edi + 0x1ec]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x1e8]
lea eax, [ecx + 1]
mov dword [edi + 0x1e8], eax
test ecx, ecx
jne 0x429cfd
push dword [edi + 0x204]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x1e0]
call fcn.00426600
mov esi, dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x429d5a
mov eax, dword [esi + 8]
test eax, eax
je 0x429d39
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0xc]
mov byte [esi + 4], 1
push ecx
push 0
push esi
push 0x423120
push 0
push 0
call fcn.0044480f
add esp, 0x18
mov dword [esi + 8], eax
jmp 0x429d66
test esi, esi
je 0x429d66
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret 4
Function at 0x42b360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458bee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x46c004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [ebx + 0x18]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0043e283
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x42b3e9
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
push edi
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 2
call fcn.0042c1f0
mov dword [ebx + 0x2c], 0
mov edi, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
cmp esi, edi
je 0x42b473
mov ebx, dword [esi]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x42b436
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0xc]
mov byte [ebx + 4], 1
push eax
push 0
push ebx
push 0x423120
push 0
push 0
call fcn.0044480f
add esi, 4
mov dword [ebx + 8], eax
add esp, 0x18
cmp esi, edi
jne 0x42b420
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c810
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x46c004]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
push 6
xor eax, eax
xorps xmm0, xmm0
push 1
push 2
mov esi, ecx
mov word [esp + 0x18], ax
movq qword [esp + 0x1a], xmm0
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [0x46d978]
push eax
push 0x4e20
push 0x1f6
push dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [ecx]
call fcn.00424dd0
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xc]
add ecx, 0x64
mov ebx, eax
call fcn.00422f30
test al, al
je 0x42c8eb
mov ecx, dword [esi + 0x20]
movzx eax, word [ecx + 0x164]
push eax
lea eax, [ecx + 0x64]
push eax
push str.Connecting_to__s:_d
push 0x80
push ecx
call fcn.00422930
add esp, 0x14
lea eax, [esp + 0xc]
push 0x10
push eax
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x42c8ca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.00422ee0
mov edi, eax
test edi, edi
jne 0x42c8f0
mov ecx, esi
call fcn.0042c960
test al, al
je 0x42c8e4
mov ecx, esi
call fcn.0042cba0
mov edi, eax
test edi, edi
je 0x42c906
jmp 0x42c8f0
mov edi, 8
jmp 0x42c8f0
mov edi, 4
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x42c906
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x10], 0xffffffff
mov ecx, dword [0x46d978]
push ebx
mov ecx, dword [ecx]
call fcn.00424f90
mov eax, dword [0x46d978]
push 0
push 0
push 0x1f5
push dword [esi + 0x20]
mov dword [esi + 0x1c], edi
mov ecx, dword [eax]
call fcn.00424dd0
mov ecx, dword [0x46d978]
push esi
push 0
push eax
mov ecx, dword [ecx]
call fcn.00424ea0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x42c960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d86
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x490], ecx
mov eax, dword [0x46d978]
mov byte [ebp - 0x489], 0
mov edi, dword [eax + 4]
lea esi, [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x20]
inc ebx
mov dword [edi + 0x20], ebx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x490]
lea ecx, [ebp - 0x488]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x47524347
mov dword [eax + 0x14], ebx
mov ebx, eax
mov ax, word [ebx + 0x18]
mov word [ebp - 0x14], ax
call fcn.00423140
xor edx, edx
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x488], edx
lea edi, [edx + 0xa]
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x484]
xor edx, 0xd202ef8d
mov dword [ebp - 0x488], edx
sub edi, 1
jne 0x42ca00
push 0xe
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edx
push eax
mov ecx, ebx
call fcn.0042cf50
test al, al
je case.default.0x42ca4b
mov eax, dword [ebx + 0x18]
dec eax
cmp eax, 3
ja case.default.0x42ca4b
jmp dword [eax*4 + 0x42cb8c]
movzx esi, word [ebx + 0x4c]
mov eax, esi
add eax, 0x26
push eax
mov dword [ebp - 0x494], eax
call fcn.00444c5f
mov edi, eax
add esp, 4
test edi, edi
je case.default.0x42ca4b
mov word [edi + 4], si
lea ecx, [edi + 0x26]
test si, si
je 0x42ca92
cmp dword [ebx + 0x50], 0x10
lea eax, [ebx + 0x3c]
jb 0x42ca87
mov eax, dword [eax]
push esi
push eax
push ecx
call fcn.00456380
add esp, 0xc
push ecx
mov ecx, dword [0x46d978]
lea esi, [edi + 0x16]
push esi
call fcn.00427890
lea eax, [edi + 6]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0042c690
mov edx, 0x22
lea ecx, [edi + 4]
call fcn.00422940
push dword [ebp - 0x494]
mov ecx, ebx
mov dword [edi], eax
push edi
call fcn.0042cf50
push edi
mov byte [ebp - 0x489], al
call fcn.00444a30
add esp, 4
mov al, byte [ebp - 0x489]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
lea edx, [ebx + 0x54]
lea ecx, [ebp - 0x78]
call fcn.00429610
push ecx
mov ecx, dword [0x46d978]
lea eax, [ebp - 0x58]
push eax
call fcn.00427890
lea eax, [ebp - 0x68]
push eax
push ecx
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0042c690
mov edx, 0x30
lea ecx, [ebp - 0x78]
call fcn.00422940
mov dword [ebp - 0x7c], eax
mov ecx, ebx
push 0x34
lea eax, [ebp - 0x7c]
push eax
call fcn.0042cf50
jmp 0x42cae1
mov edx, dword [ebx + 0x20]
lea ecx, [ebp - 0x44]
mov ax, word [edx + 0x50]
add edx, 0x54
mov word [ebp - 0x24], ax
call fcn.00429610
lea edx, [ebx + 0x68]
lea ecx, [ebp - 0x34]
call fcn.00429610
mov edx, 0x22
lea ecx, [ebp - 0x44]
call fcn.00422940
mov dword [ebp - 0x48], eax
mov ecx, ebx
push 0x26
lea eax, [ebp - 0x48]
push eax
call fcn.0042cf50
jmp 0x42cae1
Function at 0x42cba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ecx
lea eax, [ebp - 0x30]
mov ebx, ecx
push eax
call fcn.0042cfa0
test al, al
je 0x42ccac
lea ecx, [ebp - 0x448]
call fcn.00423140
xor edx, edx
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x448], edx
lea edi, [edx + 0x26]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x444]
xor edx, 0xd202ef8d
mov dword [ebp - 0x448], edx
sub edi, 1
jne 0x42cbe3
cmp dword [ebp - 0x30], edx
jne 0x42cc96
cmp word [ebp - 0x2c], di
je case.default.0x42cc29
mov eax, dword [ebx + 0x18]
movups xmm0, xmmword [ebp - 0x26]
dec eax
movups xmmword [ebp - 0x40], xmm0
cmp eax, 3
ja case.default.0x42cc29
jmp dword [eax*4 + 0x42ccc4]
lea eax, [ebp - 0x16]
push eax
push dword [ebp - 0x2a]
lea ecx, [ebp - 0x40]
push ecx
push dword [ebx + 0x14]
mov ecx, dword [ebx + 0x20]
push dword [ebx + 0x10]
call fcn.00428850
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x64]
mov ecx, dword [ebx + 0x20]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.00428960
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov byte [ebp - 1], 1
xor esi, esi
cmp esi, edi
jae 0x42cf8f
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x42cf84
add esi, eax
jmp 0x42cf62
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42cfa0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], 1
xor esi, esi
cmp esi, 0x2a
jae 0x42cfe1
push 0
mov eax, 0x2a
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x42cfd6
add esi, eax
jmp 0x42cfb2
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42cff0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458de7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
push 4
mov dword [ebp - 0x1c], ebx
call fcn.00424060
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x50]
push eax
mov dword [ebx], vtable.GraceWireGeneric.0
call edi
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 1
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x25c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x260], eax
lea eax, [ebx + 0x270]
push eax
mov dword [ebx + 0x26c], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 1
push 1
push 0
call esi
mov dword [ebx + 0x288], eax
lea eax, [ebx + 0x290]
mov byte [ebp - 4], 2
push eax
mov dword [ebx + 0x28c], 0
call edi
push 0
push 1
push 1
push 0
call esi
mov dword [ebx + 0x2a8], eax
lea esi, [ebx + 0x2d8]
mov byte [ebp - 4], 3
push esi
mov dword [ebp - 0x20], esi
call edi
add esi, 0x18
mov byte [ebp - 4], 4
push 8
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0043e283
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x42d10e
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
push 4
mov dword [eax], esi
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [ebp + 0x14]
mov word [ebx + 0x268], 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x68], 3
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x2ac], 0
mov dword [ebx + 0x2b0], 0
mov byte [ebx + 0x2c0], 1
mov dword [ebx + 0x2b4], 0
mov dword [ebx + 0x2b8], 0
mov dword [ebx + 0x2d4], 0
mov dword [ebx + 0x304], 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42d1b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458e3a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x46c004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx], vtable.GraceWireGeneric.0
call fcn.0042eb50
lea edi, [ebx + 0x2d8]
lea ecx, [edi + 0x18]
call fcn.00423ca0
push dword [edi + 0x18]
call fcn.0043e2e7
add esp, 4
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call edi
lea eax, [ebx + 0x290]
mov dword [ebp - 4], 1
push eax
call edi
push dword [ebx + 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebx + 0x270]
mov dword [ebp - 4], 2
push eax
call edi
push dword [ebx + 0x288]
call esi
lea eax, [ebx + 0x50]
mov dword [ebp - 4], 3
push eax
call edi
mov dword [ebp - 4], 4
mov eax, dword [0x46d978]
mov dword [ebx], vtable.GraceObject.0
push ebx
mov ecx, dword [eax]
call fcn.00424d10
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 5
push eax
call edi
push dword [ebx + 0x48]
call esi
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 6
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d2a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
mov ebx, ecx
push eax
push 0x8004667e
push dword [ebx + 0x25c]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebx + 0x68], 3
jne 0x42d2f7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov ecx, dword [0x46d978]
push 0
push eax
push 0x67
mov ecx, dword [ecx]
push ebx
call fcn.00424dd0
mov dword [ebx + 0x2b0], eax
lea eax, [ebx + 0x2c4]
mov dword [ebx + 0x2b8], 0xe
lea esi, [ebx + 0x270]
mov dword [ebx + 0x2bc], eax
push esi
mov dword [ebx + 0x2b4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x26c]
lea eax, [ecx + 1]
mov dword [ebx + 0x26c], eax
test ecx, ecx
jne 0x42d343
push dword [ebx + 0x288]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, dword [0x46d978]
push 0
push eax
push 0x65
mov ecx, dword [ecx]
push ebx
call fcn.00424dd0
mov dword [ebx + 0x2ac], eax
mov eax, dword [0x46d978]
mov ebx, dword [ebx + 4]
mov dword [ebp - 8], ebx
mov edi, dword [eax + 4]
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x18]
call fcn.00423dc0
inc dword [esi + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 4]
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x18]
call fcn.00423dc0
inc dword [esi + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043de43
mov esp, ebp
pop ebp
ret
Function at 0x42d400
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458e68
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebx + 0x70], eax
sub eax, 1
jne 0x42d556
push 0xffffffffffffffff
push eax
push edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x30], al
call fcn.004291f0
mov dword [ebp - 4], 0
xor esi, esi
nop word [eax + eax]
movzx eax, byte [edi + esi]
push eax
push str._02X
lea eax, [ebp - 0x18]
push 3
push eax
call fcn.00401790
add esp, 0x10
cmp byte [ebp - 0x18], 0
jne 0x42d492
xor eax, eax
jmp 0x42d4a1
lea eax, [ebp - 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d498
sub eax, edx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042cd70
inc esi
cmp esi, 0x10
jb 0x42d470
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0x67452301
mov dword [ebp - 0xa0], 0xefcdab89
mov dword [ebp - 0x9c], 0x98badcfe
mov dword [ebp - 0x98], 0x10325476
call fcn.0042f560
lea ecx, [ebp - 0xac]
call fcn.0042f620
movups xmm0, xmmword [ebp - 0x54]
lea eax, [ebx + 0x168]
push eax
lea eax, [ebp - 0x40]
push 0x10
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0043b2dc
add esp, 0xc
lea eax, [ebx + 0x74]
push eax
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.0043985c
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x42d556
inc eax
push eax
push dword [ebp - 0x30]
call fcn.00429310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043de43
mov esp, ebp
pop ebp
ret 0xc