joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490ba0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x490c43
test eax, eax
jbe 0x490c43
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x490c43
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [fcn.005246c4]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x490bee
xor esi, esi
jmp 0x490bf4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x490c1f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00443550
add esi, eax
push esi
mov ebx, esi
call fcn.00443550
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x490c00
pop ebp
test edi, edi
pop edi
jne 0x490c43
test ebx, ebx
je 0x490c43
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ed490
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x490da5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x490ebd
push eax
call dword [fcn.005246b8]
test eax, eax
je 0x490ebd
mov eax, dword [esi + 0x3c]
push eax
call fcn.005121cf
mov esi, eax
test esi, esi
je 0x490ebd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.005246c4]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x490ebd
mov ecx, esi
call fcn.00490d30
cmp edi, eax
jge 0x490ebd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x490e43
mov dword [esp + 0x34], 1
jmp 0x490e9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x490ebd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [0x5245a4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0048f540
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4954c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [fcn.005243d0]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x495526
mov ebx, dword [fcn.00524394]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x495526
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x495507
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4959f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x495a28
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push 0x5d6660
call dword [fcn.00524730]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4966f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x496739
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x496bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520c50
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.00496760
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004967e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004967e0
lea ecx, [esi + 0xc]
call fcn.0051072f
lea ecx, [esi + 0x10]
call fcn.0051072f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00497d70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00497d70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00497d70
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005107a4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005107a4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x498410
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [fcn.005242dc]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00498210
pop edi
add esp, 0x104
ret 4

Function at 0x4991e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
call fcn.00498bf0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x499225
xor eax, eax
jmp 0x49922a
mov eax, dword [eax + 8]
add eax, ecx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00499820
mov esi, dword [esp + 0x48]
mov dl, byte [esp + 0x28]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x5a1588]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00498970
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4992a8
mov al, byte [ecx - 1]
cmp al, bl
je 0x49929e
cmp al, 0xff
je 0x49929e
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.0051050e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x49ec30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5210d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0049ef40
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x625f3c
call fcn.004eef2a
mov ecx, dword [0x5a1588]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00498970
mov esi, 0x5a15f0
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x49ecd7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49ecce
cmp al, 0xff
je 0x49ecce
dec al
mov byte [ecx], al
jmp 0x49ecd7
push ecx
call fcn.0051050e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0050bfa0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x49ed1d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49ed14
cmp al, 0xff
je 0x49ed14
dec al
mov byte [ecx], al
jmp 0x49ed1d
push ecx
call fcn.0051050e
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004eefb1
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4a8b1d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x521528
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x4a8b33
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.004afed0
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004b0240
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.004a8ba0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x5a2708
call fcn.004b00d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4ad9f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4ada3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4ada3c
mov ebp, dword [0x5245bc]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4ada26
push eax
call ebp
test ax, ax
jl 0x4ada34
inc esi
add edi, 4
cmp esi, 6
jb 0x4ada18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004ad6f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4b18e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4b1940
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4b1940
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4b1940
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4b1940
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4b1950
push 0
push 0
call dword [fcn.0052438c]
push eax
call dword [fcn.005243dc]
pop ecx
ret
Function at 0x4b87e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4b8813
push esi
call fcn.004bd470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4b880c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4b8899
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b8882
mov eax, dword [esi + 8]
test eax, eax
je 0x4b8837
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4b887e
cmp eax, 2
je 0x4b8882
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b882a
cmp eax, 3
je 0x4b885d
cmp eax, 1
jne 0x4b882a
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 0x4b882a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4b882a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004b88d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4b88b9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004b88d0
add esp, 4
pop esi
ret
Function at 0x506600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x523530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004fb773
mov eax, dword [0x5bc698]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004fb6a5
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00507100
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x5066a7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50669e
cmp al, 0xff
je 0x50669e
dec al
mov byte [ecx], al
jmp 0x5066a7
push ecx
call fcn.0051050e
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5066d8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5066cf
cmp al, 0xff
je 0x5066cf
dec al
mov byte [ecx], al
jmp 0x5066d8
push ecx
call fcn.0051050e
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x512b72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x512baa
push dword [esi + 0x1c]
call dword [0x524524]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00510bff
push eax
push dword [esi + 0x1c]
call dword [0x524534]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00510bd7
jmp 0x512bb6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x514267
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5142a9
call fcn.0051a227
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [0x52431c]
cmp eax, edi
je 0x5142a9
push eax
push esi
call dword [0x524320]
cmp eax, edi
jne 0x5142a0
xor eax, eax
jmp 0x5142b1
push eax
call dword [0x524324]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005142b7
pop edi
pop esi
pop ebx
ret 4

Function at 0x51a757
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [fcn.005242f8]
cmp dword [esp + 0x10], 0
jne 0x51a785
push dword [esi]
call dword [0x52421c]
test eax, eax
je 0x51a7a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051a6bd
jmp 0x51a7a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51a7a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051a6bd
test edi, edi
mov eax, edi
jne 0x51a78d
pop edi
push ebx
call dword [fcn.005242fc]
pop esi
pop ebx
ret 8
Function at 0x81c577
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.0081c131
not eax
mov eax, dword [esp]
lea eax, [edx*4]
pop ax
lea eax, [esp + edi]
jmp 0x81c5a7
setnp al
lea esp, [esp + 1]
lea eax, [ebp*4]
mov al, byte [esp]
jmp 0x81c560
cmp dword [esp + 4], 0
jne 0x81c3d4
je 0x81c5e4
call fcn.0081c59c
lea eax, [ebx + edi]
mov al, ah
lea esp, [esp + 1]
mov eax, dword [esp + 0x20]
lea esp, [esp + 0x24]
jmp 0x81c58a
pushal
jmp 0x81c12c

Function at 0x83e0f7
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.0083e2dc
call fcn.0083e101

Function at 0x841a47
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0x8405c3
jmp 0x841a7a
add dword [esp + 8], 1
pushal
xchg ah, bl
mov cx, 0xfeeb
jmp 0x841ba5
push word [esp + 0x21]
pop word [esp + 1]
lea esp, [esp + 2]
jmp 0x841a90
jne 0x8419ee
pushal
jmp 0x8405be
pop eax
jmp 0x841aba
lea esp, [esp + 0x30]
cmp dword [esp + 4], 0
jmp 0x841a6e
sub eax, 0xc78d2150
jmp 0x841b3d
call 0x841b2a
arpl ax, dx
imul esp, dword [edi + eax*8 + 0x38dd41d7], 0x9c156792
add edi, eax
enter 0xffffffffffffd84a, 0xffffffffffffffbf
dec edx
cli
imul ebp, ebx, 0xffffff95
dec ebp
invalid
call 0x841b4f
dec ebx
inc ebp
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bh, bh
nop
xchg edx, eax
xor dword [edx - 0x39], esi
jmp 0x841b0e
mov ebx, 0xad822a30
call fcn.00841bb5
xchg edx, eax
pop ss
xchg edx, esp
adc dword [esi + 0x791e8808], ebp
mov byte [eax], bh
cmpsb byte [esi], byte es:[edi]
and eax, 0x932fdcb5
aam 0x47
rdtsc
rdtsc
lea edx, [eax - 0x61]
rdtsc
xchg dh, al
xchg bp, dx
jmp 0x841b87

Function at 0x915622
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ebp
jmp 0x91564e
bsr bx, cx
stc
mov edx, 0x3f3a05d2
rcl si, cl
lea esp, [esp]
jmp 0x9156b8
setl ch
mov cl, ch
inc eax
rdtsc
xchg bp, ax
lea ebx, [ebp + 0x3d1022b7]
jmp 0x915625
lea esp, [esp]
cmc
add esp, 0
mov si, 0x8f45
rcr ah, 1
cpuid
jmp 0x9156cc
lea esp, [esp]
mov dl, 0x8c
bswap ebp
ror eax, 0x19
bsf dx, si
xchg byte [esp], al
jmp 0x91568b
cpuid
mov bp, dx
xchg byte [esp], cl
add esp, 0
mov eax, 0xbfdde1fc
rdtsc
jmp 0x9156a1
xchg dh, al
cpuid
mov bp, 0x5d5f
push edx
pop eax
mov di, word [esp]
jmp 0x9156e0
mov ax, dx
not eax
push edx
xchg byte [esp], cl
btc ecx, ebx
bsf di, si
jmp 0x915736
cpuid
mov dx, 0xd34f
mov bl, 0xc8
lea esp, [esp + 4]
call fcn.0091571b

Function at 0x915d64
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 5], sp
push dword [esp + 4]
lea edx, [edx + edi]
btr esi, esp
mov eax, ecx
btr ecx, esp
jmp 0x915db1
setge ch
mov dword [esp + 9], ecx
jmp 0x915d3c
mov ebx, dword [esp + 7]
bsr di, cx
btr ebp, edx
not dh
setl ah
push word [esp + 0x11]
jmp 0x915d8b
Function at 0x9160d6
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dx, 0x4703
push dword [esp + 4]
mov di, sp
cpuid
jmp 0x916234
rdtsc
cpuid
call 0x9160d6
jg 0x91613d
mov eax, 0x4893591
and al, 0x66
mov ebp, edi
add esp, 4
jmp 0x91613c
mov dh, byte [esp]
lea esp, [esp]
bsf di, si
mov ecx, eax
stc
mov byte [esp], ch
jmp 0x9160cc
mov eax, dword [esp]
cpuid
not ch
rdtsc
lea ebx, [edi*4]
jmp 0x9161da
bswap ebx
neg edi
bsf si, ax
bsf dx, si
add esp, 0
add esp, 0
jmp 0x916109
xchg bx, ax
xchg ebx, eax
not ah
lea ecx, [edx + ebx]
stc
bswap ecx
lea edi, [eax + edx]
jmp 0x916121
mov bl, 0x28
lea eax, [edx + ebx]
neg ch
mov al, 0x56
xchg si, bp
rdtsc
jmp 0x9161b3
lea edi, [ecx + 0xab]
setp bh
xchg dx, ax
ror ch, 5
mov cl, 0xda
rdtsc
jmp 0x91614c
xchg ch, dl
inc ebx
setl ch
not ah
setnp bh
xchg bp, cx
jmp 0x916166
rdtsc
rdtsc
setle dh
neg esi
setnp ch
sub dx, 0x4fe8
jmp 0x916180
cpuid
pushal
lea edi, [ecx*4]
rdtsc
push word [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x916219
mov si, bx
mov ax, 0x676d
mov si, di
add bx, 0xd95e
mov bp, word [esp]
mov dh, byte [esp]
jmp 0x9161a0
pop bp
mov esi, ecx
xchg byte [esp + 0xc], cl
xchg esi, edi
call fcn.009161f2
aas
mov edi, 0x76b94a2f
adc cl, byte [ebp + 0x61766f1c]
mov cx, dx
mov ecx, dword [esp + 1]
rdtsc
pop edx
pop ecx
not bh
jmp 0x9160f7

Function at 0x9161f2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 0xd]
add esp, 0x10
jmp 0x916200
bsr di, bp
mov eax, dword [esp + 0x16]
mov bp, 0xb1fd
pop dword [esp + 1]
jmp 0x916396
mov edx, 0xd9c42f40
bsf bp, ax
not dh
mov bp, dx
lea esp, [esp + 0x25]
not ebx
jmp 0x916282
shl di, cl
mov ebx, ecx
xchg bh, cl
mov dl, dh
btr edi, edx
mov esi, dword [esp + 0xf]
jmp 0x916246
lea esi, [ecx + 0xfb]
lea esp, [esp + 2]
mov bl, bh
mov byte [esp + 7], ch
lea esp, [esp + 2]
xchg byte [esp + 2], bl
jmp 0x9162c9
mov byte [esp + 0xa], bh
cmc
pushal
shr edx, 7
push word [esp + 0x27]
mov edi, ebp
jmp 0x916270
push word [esp + 4]
mov bh, byte [esp + 2]
rdtsc
xchg si, di
xchg bh, cl
jmp 0x916369
setae ch
mov dl, 0xfc
push dword [esp]
rdtsc
xchg byte [esp], al
rdtsc
jmp 0x9162b3
not bx
inc cl
inc dl
push edx
xor ax, 0x157c
cmc
jmp 0x9162a1
mov ebx, esi
neg ch
call fcn.00916319
jmp dword [esi - 0x79]
xchg word [esp], si
mov word [esp + 5], sp
call 0x916351
cdq
call fcn.0091637a
cld
jp 0x916341
invalid
neg cx
sub esp, 0x1a
mov eax, ecx
pop bx
xchg edi, ecx
add esp, 0xc
jmp 0x916339
mov byte [esp + 0x11], ah
mov word [esp + 5], sp
cmc
lea edi, [ebp - 0xaf]
push word [esp]
lea esp, [esp + 0xb]
jmp 0x9162e1

Function at 0x9169ed
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov eax, dword fs:[0x30]
jmp 0x9169c0
push dword [esp + 8]
lea esp, [esp + 2]
mov dword [esp + 0x98], edi
lea esp, [esp + 0x98]
jmp 0x9169d6
Function at 0x40d8c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d2fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00461b60
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d942
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f90d
mov eax, dword [eax]
push 0x4b51f0
push eax
call fcn.00451d94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461deb
test bl, bl
je 0x40d942
push 0x4b51f0
lea ecx, [esp + 0xc]
call fcn.0046217b
push 0x4b8d64
lea ecx, [esp + 0xc]
call fcn.0046217b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40d97e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461deb
jmp 0x40da49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40da02
lea edx, [esp + 0x7c]
push 0x4b8d60
push edx
call fcn.00451d94
add esp, 8
test eax, eax
je 0x40da02
lea eax, [esp + 0x7c]
push 0x4b8d5c
push eax
call fcn.00451d94
add esp, 8
test eax, eax
je 0x40da02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d992
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00461deb
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40e240
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40e2a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc