joyce8/EMBER2024-capa huggingface dataset:
Function at 0x599700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.0048c56c]
push 0
lea ecx, [esp + 0x20]
call fcn.005cf8b0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.005990a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005cf7de
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005cbfbf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005cbfbf
push 1
push 0
push 0
mov ecx, esi
call fcn.005cbf67
push 1
push 0
push 1
mov ecx, esi
call fcn.005cbf67
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005cf922
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x599880
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005cf8b0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.005990a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005cf7de
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.0048c56c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x599944
cmp dword [esp + 0x40], 1
jne 0x599942
cmp ecx, eax
jge 0x599944
mov eax, ecx
cmp eax, 0xc8
jge 0x599950
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00599700
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.0048c568]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005cf922
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x59cc20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x59cc53
push esi
call fcn.0059fd10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x59cc4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x59ccd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x59ccc2
mov eax, dword [esi + 8]
test eax, eax
je 0x59cc77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x59ccbe
cmp eax, 2
je 0x59ccc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x59cc6a
cmp eax, 3
je 0x59cc9d
cmp eax, 1
jne 0x59cc6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x59cc6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x59cc6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0059cd00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x59cce8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0059cd00
add esp, 4
pop esi
ret
Function at 0x5aded0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005ada80
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005adb00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005adb00
lea ecx, [esi + 0xc]
call fcn.005c8d70
lea ecx, [esi + 0x10]
call fcn.005c8d70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005af090
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005af090
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005af090
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005c8de5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005c8de5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b287e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000f810
push 0x10004a00
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [reloc.WINMM.dll_midiOutReset]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov dword [ebp - 0x88], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
test eax, eax
mov esi, 0x10000
je 0x4b28d1
lea esi, reloc.WINMM.dll_midiOutReset
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov ebx, dword [reloc.WINMM.dll_midiOutReset]
push 0x1c
lea edx, [ebp - 0x84]
push edx
push esi
push edi
call dword [0x1000c00c]
test eax, eax
je 0x4b2913
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x84]
cmp eax, esi
jae 0x4b2933
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004b52ed
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x74], reloc.WINMM.dll_midiOutReset
jne 0x4b2a0e
mov eax, dword [ebp - 0x70]
cmp al, 1
je 0x4b2a0e
test eax, 0x100
jne 0x4b2a0e
mov dword [ebp - 4], 0
push 0
push 0x40
lea edx, [ebp - 0x64]
push edx
push esi
push edi
call ebx
test eax, eax
jne 0x4b2982
mov dword [ebp - 4], accept
mov esi, dword [ebp - 0x78]
add esi, dword [ebp - 0x84]
jmp 0x4b28f1
mov eax, 0x5a4d
cmp word [ebp - 0x64], ax
jne 0x4b296d
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x78]
ja 0x4b296d
cmp eax, 0x40
jb 0x4b296d
push 0
push 0xf8
mov ecx, dword [ebp - 0x68]
push ecx
add eax, esi
push eax
push edi
call ebx
test eax, eax
jne 0x4b29c4
mov dword [ebp - 4], accept
mov esi, dword [ebp - 0x78]
add esi, dword [ebp - 0x84]
jmp 0x4b28f1
mov edx, dword [ebp - 0x68]
cmp dword [edx], reloc.WINMM.dll_midiOutReset
je 0x4b29e4
mov dword [ebp - 4], accept
mov esi, dword [ebp - 0x78]
add esi, dword [ebp - 0x84]
jmp 0x4b28f1
mov dword [ebp - 4], accept
mov eax, esi
jmp 0x4b2915
mov esi, dword [ebp - 0x78]
add esi, dword [ebp - 0x84]
jmp 0x4b28f1
Function at 0x4b374e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000f7f0
push 0x10004a00
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [reloc.WINMM.dll_midiOutReset]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [0x1000c038]
mov dword [ebp - 4], 0
mov edx, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], dx
jne 0x4b37f0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], reloc.WINMM.dll_midiOutReset
jne 0x4b37f0
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x4b37f0
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x4b37f0
mov dword [ebp - 4], accept
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], accept
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3a5e
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, reloc.WINMM.dll_midiOutReset
cmp esi, 0x7ff80000
ja 0x4b3a7a
mov ebx, 0x10000
cmp esi, 0x80000000
jae 0x4b3a8d
lea edi, reloc.WINMM.dll_midiOutReset
mov dword [ebp - 4], edi
jmp 0x4b3a97
mov dword [ebp - 4], reloc.WINMM.dll_midiOutReset
mov edi, dword [ebp - 4]
mov eax, dword [reloc.WINMM.dll_midiOutReset]
mov edx, dword [reloc.WINMM.dll_midiOutReset]
test eax, eax
jne 0x4b3ab1
test edx, edx
je 0x4b3ac4
mov eax, edx
mov dword [reloc.WINMM.dll_midiOutReset], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b3ac4
cmp ecx, ebx
jb 0x4b3ac4
cmp ecx, edi
jbe 0x4b3bc8
mov eax, edx
mov dword [reloc.WINMM.dll_midiOutReset], eax
test edx, edx
je 0x4b3af2
test eax, eax
je 0x4b3ae6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b3ae6
cmp ecx, ebx
jb 0x4b3ae6
cmp ecx, edi
jbe 0x4b3bc3
mov eax, dword [eax + 4]
test eax, eax
jne 0x4b3ad3
mov dword [reloc.WINMM.dll_midiOutReset], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x4b3b32
push esi
lea eax, reloc.WINMM.dll_midiOutReset
call fcn.004b38ee
add esp, 4
test eax, eax
jne 0x4b3b87
push ebx
lea eax, reloc.WINMM.dll_midiOutReset
call fcn.004b39ae
add esp, 4
test eax, eax
jne 0x4b3b87
mov edi, dword [ebp - 4]
cmp esi, 0x40000000
jae 0x4b3b60
push esi
lea eax, reloc.WINMM.dll_midiOutReset
call fcn.004b39ae
add esp, 4
test eax, eax
jne 0x4b3b87
mov ecx, dword [ebp - 4]
push ecx
lea eax, reloc.WINMM.dll_midiOutReset
call fcn.004b38ee
add esp, 4
test eax, eax
jne 0x4b3b87
mov edi, dword [ebp - 4]
push ebx
mov eax, esi
call fcn.004b39ae
add esp, 4
test eax, eax
jne 0x4b3b8a
push edi
mov eax, esi
call fcn.004b38ee
add esp, 4
test eax, eax
jne 0x4b3b8a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
xor edx, edx
mov dword [eax], reloc.WINMM.dll_midiOutReset
mov dword [eax + 8], edx
mov ecx, dword [reloc.WINMM.dll_midiOutReset]
mov dword [eax + 4], ecx
mov dword [reloc.WINMM.dll_midiOutReset], eax
mov dword [reloc.WINMM.dll_midiOutReset], eax
lea ecx, reloc.WINMM.dll_midiOutReset
mov esi, 0x38b
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
dec esi
jne 0x4b3bb3
mov dword [eax + 8], edx
jmp 0x4b3bc8
mov dword [reloc.WINMM.dll_midiOutReset], eax
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x4b3b7e
cmp esi, edi
ja 0x4b3b7e
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.004ba85e
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3c2e
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov eax, dword [reloc.WINMM.dll_midiOutReset]
push ebx
mov ebx, 0x10012b48
test eax, eax
je 0x4b3c99
push esi
push edi
cmp dword [eax], reloc.WINMM.dll_midiOutReset
jne 0x4b3c8e
lea edi, reloc.WINMM.dll_midiOutReset
xor edx, edx
lea esi, [eax + 0x88]
mov ecx, dword [esi]
test ecx, ecx
je 0x4b3c63
cmp ecx, eax
jb 0x4b3c8e
cmp ecx, edi
jae 0x4b3c8e
inc edx
add esi, 0x48
cmp edx, 0x38d
jb 0x4b3c55
mov ecx, dword [eax + 4]
push 0x8000
push 0
push eax
mov dword [ebx], ecx
call dword [0x1000c048]
mov dword [reloc.WINMM.dll_midiOutReset], 0
jmp 0x4b3c91
lea ebx, [eax + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x4b3c3f
pop edi
pop esi
pop ebx
ret
Function at 0x7be932
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esp + 0xf]
jmp 0x7be97d
mov cx, word [esp + 0x1a]
xchg byte [esp + 0x24], bl
mov ax, word [esp + 0x1e]
bsr bx, cx
mov ax, 0x4abf
xchg edi, ecx
jmp 0x7bea18
mov ch, byte [esp + 0x1d]
cpuid
neg ecx
push esp
lea ebx, [edi + ebp]
lea edx, [edx + ebx]
jmp 0x7be95d
lea esi, [edi*4]
pop dx
inc ebx
bswap edx
bswap ebp
ror ch, 5
jmp 0x7bea00
lea ebx, reloc.WINMM.dll_midiOutReset
push esp
mov ebp, esi
rdtsc
jmp 0x7be98e
neg ebp
xchg dword [esp + 8], edi
not bx
mov bp, word [esp + 0xe]
pop word [esp + 3]
not si
jmp 0x7be9a8
bsr cx, cx
xchg edi, esi
pop bp
lea esp, [esp + 9]
add esp, 9
mov bp, word [esp + 0xe]
jmp 0x7be9bf
sub bl, ah
mov byte [esp], ah
neg ebx
mov ax, sp
mov ebp, eax
mov dword [esp + 0xb], ecx
jmp 0x7bea51
push word [esp + 0x15]
mov dx, 0x6d99
cmc
xchg word [esp + 0x25], ax
cpuid
xchg dh, al
jmp 0x7be9ea
mov edi, eax
btc ecx, ebx
bsr bx, cx
cld
lea esi, [edx + edx]
xchg esi, eax
jmp 0x7bf2a6
add esp, 0x11
xchg word [esp], di
mov ch, byte [esp + 3]
bswap edi
lea eax, [ecx - 0xa3]
pop edx
jmp 0x7bea2d
lea eax, [edx + ebx]
xchg word [esp + 0x10], bx
pop ax
xchg ah, bl
mov word [esp + 0xa], di
pop dword [esp + 3]
jmp 0x7beace
rdtsc
not ah
xchg di, ax
inc cx
shr eax, 0xb
mov dl, dh
jmp 0x7bea7d
xchg edx, ebx
push dword [esp]
push edx
call fcn.007beab4
ror bh, 3
mov bh, byte [esp + 0x12]
mov ebx, 0x5c314d28
push word [esp]
mov dl, dh
jmp 0x7bec5e
mov ebx, 0xb4854932
pop word [esp + 9]
push word [esp]
pop ebx
bsr ax, bp
not edi
jmp 0x7beaa5
bsf bx, ax
pop edi
neg eax
sub esp, 2
xchg edx, eax
push word [esp + 5]
jmp 0x7bec2e
xchg word [esp + 0x16], dx
rdtsc
not ebx
xchg dh, al
mov bl, bh
xchg word [esp + 6], dx
jmp 0x7beb4d
mov ecx, 0x1e6bcb02
bsf dx, ax
mov dh, byte [esp + 0x12]
rdtsc
xchg dword [esp + 0x11], esi
cmc
jmp 0x7beb6b
pop word [esp + 6]
mov ebx, ebp
mov ebp, 0x59d5e95c
pop ecx
call fcn.007bebe7
mov dl, 0x6c
xchg dword [esp + 1], ebx
mov edi, dword [esp + 0xa]
ror ah, 1
mov word [esp + 5], di
setg dh
jmp 0x7bec9a
inc di
push dword [esp + 4]
not dh
mov bp, word [esp + 3]
rdtsc
xchg si, ax
jmp 0x7beb88
mov ebx, dword [esp + 4]
neg bh
bsr dx, cx
call fcn.007bec75
retf
pop word [esp + 0xe]
cld
push esp
mov al, ah
lea ecx, [esi - 0x45]
mov word [esp + 0x14], bx
jmp 0x7beb33
mov ah, byte [esp]
mov di, sp
sub esp, 0x14
shr esi, 0x19
mov ch, byte [esp + 3]
xchg ecx, edi
jmp 0x7becb3

Function at 0x7beab4
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop eax
pop bx
setns dh
jmp 0x7beb16
mov di, 0x7881
lea ebx, [eax*4]
mov edi, dword [esp + 0xd]
bswap esi
mov dword [esp + 0xa], esi
cpuid
jmp 0x7bead9
lea esi, [ebp*4]
xchg dword [esp + 7], ebx
mov bh, byte [esp + 1]
mov si, word [esp + 0xd]
jmp 0x7beaf1
Function at 0x7bef8c
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x7bf020
push dword [esp + 5]
inc dl
neg cx
mov byte [esp + 3], ah
add esp, 6
jmp 0x7bf06f
push esp
xchg ch, dl
mov cl, ch
mov ebx, 0xb63e595e
cld
mov ch, byte [esp + 2]
jmp 0x7befed
mov dh, byte [esp + 9]
cmc
mov si, word [esp + 0xa]
mov bp, 0xe29d
xchg word [esp + 7], dx
pop word [esp]
jmp 0x7bf005
ror dh, 7
mov ah, byte [esp]
rcl dx, cl
setg ch
btc eax, edi
stc
jmp 0x7bf0ab
xchg word [esp], di
pop bx
mov dx, 0x5b7d
inc eax
rcl bx, cl
mov bx, dx
jmp 0x7bf039
lea esi, [eax*4]
cpuid
rcr edi, 0x13
pop edi
pop edx
mov di, 0xd15b
jmp 0x7bf052
pushal
rcl dx, cl
popal
stc
lea ecx, [ebp*4]
mov byte [esp], bh
jmp 0x7bf19a
xchg dh, al
mov di, 0xbd9f
push esp
not ebp
xchg edx, ebp
pop esi
jmp 0x7bf10d
mov cl, 0x62
rdtsc
mov dword [esp], ecx
push esp
lea esp, [esp + 9]
bsr dx, cx
jmp 0x7bf0e5
xchg dx, bp
xchg ebx, edx
call fcn.007bf169
add byte [0xe40ffc95], 0x3c
mov dh, 0x24
inc ebx
mov esi, 0xff4e275c
je 0x7bf14c
push dword [esp + 2]
bsf bp, ax
btc eax, ebx
add ah, byte [esi + 0xf]
mov esp, 0xd8bb0fe8
add esp, 1
mov si, 0x7ed7
pop si
jmp 0x7bf0fb
rdtsc
push edx
mov dword [esp], ebp
xchg ecx, eax
neg bx
bswap ecx
jmp 0x7bf125
mov dh, byte [esp]
add esp, 0
mov edx, 0x92f89622
bsr si, bp
mov cl, 0x2a
add bx, 0xca0e
jmp 0x7bf144
Function at 0x7bf89a
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.007be322
push dword [esp]
mov word [esp], dx
pop dword [esp]
mov byte [esp], ah
jmp 0x7bf903
push dword [esp]
lea esp, [esp + 3]
pushal
push dword [esp + 0x14]
mov word [esp + 0x25], di
mov byte [esp + 0x19], dh
jmp 0x7bf9f4
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x7be31d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x7bf988
lea esp, [esp + 0x1f]
pop word [esp + 3]
mov word [esp + 2], di
mov dword [esp + 0x40], edi
lea esp, [esp + 0x40]
jmp 0x7bf9b7
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x100129b
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10010d8
call fcn.010014f0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10012d6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012d6
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10012ee
cmp eax, 0x20b
je 0x10012db
mov dword [ebp - 0x1c], edi
jmp 0x1001302
cmp dword [ecx + 0x84], 0xe
jbe 0x10012d6
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10012fc
cmp dword [ecx + 0x74], 0xe
jbe 0x10012d6
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100204c], 0xffffffff
or dword [0x1002050], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002048]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002044]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002054], eax
call fcn.010014e6
cmp dword [0x1002030], edi
jne 0x100135d
push fcn.010014e6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010014cf
push 0x1001088
push 0x1001084
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002040]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100203c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1001080
push 0x100107c
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010011e9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x10013d4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001409
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100152b
ret
Function at 0x401170
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4054f4
push 0x405490
push 0
mov dword [0x405558], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
jne 0x4011aa
ret
call sub.instDll.DLL_installDriver
cmp eax, 0x62
je 0x40121c
cmp eax, 0xa
jne 0x4011c1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 1
jne 0x40121c
push ebx
push esi
push edi
xor esi, esi
push section..text
push 0x2710
push esi
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, eax
call sub.instDll.DLL_TestUsb
cmp eax, 1
je 0x401210
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call sub.instDll.DLL_TestUsb
cmp eax, 2
je 0x401210
cmp esi, 0x14
jge 0x401210
push 0x3e8
call edi
inc esi
call sub.instDll.DLL_TestUsb
cmp eax, 1
jne 0x4011ef
push ebx
push 0
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
pop ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402021
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4050e0
cmp edx, dword [eax]
je 0x402043
add eax, 8
inc ecx
cmp eax, 0x405170
jl 0x402034
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4050e0]
jne 0x402171
mov eax, dword [0x405564]
cmp eax, 1
je 0x40214b
test eax, eax
jne 0x402074
cmp dword [0x405034], 1
je 0x40214b
cmp edx, 0xfc
je 0x402171
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4020ab
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004025d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402740
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4020ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402740
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4043e0
push edi
call fcn.004033d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004025d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004025e0
lea eax, [ebp - 0xa0]
push 0x4043c0
push eax
call fcn.004025e0
push dword [esi + 0x4050e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004025e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040333e
add esp, 0x2c
pop edi
jmp 0x402171
lea eax, [ebp + 8]
lea esi, [esi + 0x4050e4]
push 0
push eax
push dword [esi]
call fcn.00402740
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401b80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1ac
xor eax, eax
push ebp
mov dword [esp + 5], eax
push esi
push edi
mov dword [esp + 0x11], eax
mov ecx, 0x63
lea edi, [esp + 0x2a]
mov byte [esp + 0x15], al
mov word [esp + 0x28], ax
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x1a], ecx
push edx
mov dword [esp + 0x22], ecx
push 0x101
mov dword [esp + 0x2a], ecx
mov byte [esp + 0x14], 0
stosw word es:[edi], ax
mov word [esp + 0x20], 0
mov word [esp + 0x2e], cx
call sub.WS2_32.dll_WSAStartup
mov esi, dword [esp + 0x1bc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xa
jle 0x401c21
push 8
lea eax, [esp + 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0xc]
push str.http:__
push ecx
call edi
test eax, eax
je 0x401c1e
lea edx, [esp + 0xc]
push str.http:_
push edx
call edi
test eax, eax
jne 0x401c21
add esi, 7
push 0
push 1
push 2
call sub.WS2_32.dll_socket
push esi
mov ebp, eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x401c3c
xor esi, esi
jmp 0x401c80
mov word [esp + 0x18], 2
lea edi, [esp + 0x1c]
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
shr ecx, 2
mov esi, dword [eax]
push 0x50
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.WS2_32.dll_htons
mov word [esp + 0x1a], ax
lea eax, [esp + 0x18]
push 0x10
push eax
push ebp
call sub.WS2_32.dll_connect
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push ebp
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x1ac
ret