joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b869c
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffcc
mov dword [esp + 4], edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x30]
dec eax
shl eax, 0x10
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x30]
cdq
idiv ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
dec eax
shl eax, 0x10
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0x1c]
cdq
idiv ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x28], eax
dec ecx
test ecx, ecx
jl 0x4b886d
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xc]
shr eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x460]
mov edx, dword [esp + 8]
mov edx, dword [eax + edx*4]
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
dec eax
cmp eax, dword [esp + 8]
jle 0x4b8725
inc dword [esp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 0x460]
mov ecx, dword [esp + 8]
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
and eax, 0xffff
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
not eax
and eax, 0xffff
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x30]
dec eax
test eax, eax
jl 0x4b885b
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 8]
shr eax, 0x10
mov ebx, dword [esp + 8]
and ebx, 0xffff
mov esi, dword [esp + 0x1c]
imul esi, ebx
shr esi, 0x10
mov edi, dword [esp + 0x1c]
sub edi, esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
imul edi, ebx
shr edi, 0x10
mov ebx, dword [esp + 0x18]
sub ebx, edi
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov bl, byte [edx + eax*4]
imul ebx, dword [esp + 0x20]
movzx ebp, byte [edx + eax*4 + 4]
imul ebp, esi
add ebx, ebp
movzx ebp, byte [ecx + eax*4]
imul ebp, dword [esp + 0x24]
add ebx, ebp
movzx ebp, byte [ecx + eax*4 + 4]
imul ebp, edi
add ebx, ebp
shr ebx, 0x10
mov ebp, dword [esp + 0x28]
mov byte [ebp], bl
xor ebx, ebx
mov bl, byte [edx + eax*4 + 1]
imul ebx, dword [esp + 0x20]
movzx ebp, byte [edx + eax*4 + 5]
imul ebp, esi
add ebx, ebp
movzx ebp, byte [ecx + eax*4 + 1]
imul ebp, dword [esp + 0x24]
add ebx, ebp
movzx ebp, byte [ecx + eax*4 + 5]
imul ebp, edi
add ebx, ebp
shr ebx, 0x10
mov ebp, dword [esp + 0x28]
mov byte [ebp + 1], bl
xor ebx, ebx
mov bl, byte [edx + eax*4 + 2]
imul ebx, dword [esp + 0x20]
movzx ebp, byte [edx + eax*4 + 6]
imul ebp, esi
add ebx, ebp
movzx esi, byte [ecx + eax*4 + 2]
imul esi, dword [esp + 0x24]
add ebx, esi
movzx eax, byte [ecx + eax*4 + 6]
imul eax, edi
add ebx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x28]
mov byte [eax + 2], bl
mov eax, dword [esp + 0x14]
add dword [esp + 8], eax
add dword [esp + 0x28], 4
dec dword [esp + 0x30]
jne 0x4b876e
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], eax
dec dword [esp + 0x2c]
jne 0x4b86f9
add esp, 0x34
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b8a94
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x4b8bbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040537c
mov dword [ebx + 0x28], eax
push 0
lea eax, [ebx + 8]
push eax
call dword [0x7b7cd4]
mov dl, byte [ebx + 0x4e70]
mov ecx, edx
mov eax, dword [ebx + 0x34]
shr eax, cl
mov ecx, edx
mov edx, dword [ebx + 0x38]
shr edx, cl
cmp byte [ebx + 0x4e70], 4
jne 0x4b8af0
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
cmp dword [ebx + 0x3c], 1
jne 0x4b8b4c
push 8
mov ecx, edx
mov edx, dword [ebx + 4]
xchg edx, eax
call fcn.004b74d8
mov eax, dword [0x7b5b64]
mov dx, word [eax]
mov word [ebp - 0xc], dx
mov dl, byte [eax + 2]
mov byte [ebp - 0xa], dl
mov eax, dword [0x7b5f80]
mov dx, word [eax]
mov word [ebp - 9], dx
mov dl, byte [eax + 2]
mov byte [ebp - 7], dl
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, 0xff
xor edx, edx
mov eax, dword [ebx + 4]
call fcn.004b7a48
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x20], 4
jmp 0x4b8b67
push 0x18
mov ecx, edx
mov edx, dword [ebx + 4]
xchg edx, eax
call fcn.004b74d8
mov dword [ebx + 0x1c], 3
mov dword [ebx + 0x20], 2
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x30]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x34]
neg eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x18], eax
xor eax, eax
mov al, byte [ebx + 0x4e70]
movzx eax, byte [eax + 0x7ad710]
push eax
lea eax, [ebx + 8]
push eax
call dword [0x7b7cd4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8bc4
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x4e93a8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4e93cd
cmp dword [esp + 4], 5
jb 0x4e93cd
mov al, 1
jmp 0x4e93cf
xor eax, eax
add esp, 0x94
ret
Function at 0x51d180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51d3e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x51d1e3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0051cc48
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f8fc
cmp al, 1
jne 0x51d1e3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0051cf60
test al, al
je 0x51d36f
cmp dword [ebp - 8], 0
jge 0x51d201
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0051cc48
mov eax, dword [ebp - 0x210]
call fcn.0040517c
cmp ebx, eax
jge 0x51d24b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0051cc48
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x7b61b8]
and eax, 0xff
bt dword [edx], eax
jae 0x51d24b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x51d25f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0051d15c
cmp ebx, dword [ebp - 8]
je 0x51d361
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x51d28b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x7af1a8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x51d34e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x7af1a8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0048a000
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004041a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x7af1a8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0048a000
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d355
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x51d3c2
cmp dword [ebp - 8], 0
jge 0x51d37a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0051cc48
mov eax, dword [ebp - 0x218]
call fcn.0040517c
cmp eax, dword [ebp - 8]
jg 0x51d3b4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0051cc48
mov eax, dword [ebp - 0x21c]
call fcn.0040517c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0051d15c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d3e7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404ee0
ret
Function at 0x52c74b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7afd62
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x52c7a3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x7afd83
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x52c799
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x52c7a7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x558bc6
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
push esp
push 0x558c20
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x558bbb
call sub.kernel32.dll_GetLastError_1
mov dword [esp], eax
mov bl, 1
jmp 0x558c14
mov eax, edi
call fcn.00402868
mov esi, eax
push esi
push edi
push 0
push 0x558c20
call sub.version.dll_GetFileVersionInfoA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0x558c30
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
shr edx, 0x10
mov ax, word [eax + 8]
and ax, 0xffff
cmp dx, 4
jb 0x558c05
cmp ax, 0x46
ja 0x558c09
xor ebx, ebx
jmp 0x558c0b
mov bl, 1
mov edx, edi
mov eax, esi
call fcn.00402888
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x55b05c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
cmp bl, 7
jne 0x55b088
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x55b08d
mov edi, ebx
and edi, 0x7f
mov eax, esi
call fcn.0048a000
test eax, eax
je 0x55b0a5
mov edx, edi
mov eax, dword [esi + 0x180]
call fcn.0043686c
mov byte [esi + 0x298], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x563420
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
mov edx, dword [eax + 0x228]
mov dl, byte [edx + 0x20]
cmp dl, 7
jne 0x563465
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
xor eax, eax
mov al, byte [esp]
sub eax, 0x30
add eax, 2
mov dword [ebx], eax
cmp dword [ebx], 8
jne 0x56347b
mov dword [ebx], 1
jmp 0x56347b
cmp dl, 6
jne 0x563472
mov dword [ebx], 1
jmp 0x56347b
xor eax, eax
mov al, dl
add eax, 2
mov dword [ebx], eax
mov eax, dword [ebx]
dec eax
cmp eax, 1
jge 0x56348b
mov dword [esi], 7
jmp 0x56348d
mov dword [esi], eax
pop edx
pop esi
pop ebx
ret
Function at 0x56a934
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 0x56a985
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x56a96c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x56a95c
jmp 0x56a985
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 0x56a96d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x584f78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
push esi
push edi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x200]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
movzx eax, si
mov byte [ebp + eax - 0x200], 0x81
movzx esi, bx
mov byte [ebp + esi - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push esi
push pe_nt_image_headers32
push edi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x589454
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], cl
mov esi, edx
mov ebx, eax
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58946e
or byte [esp], 2
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.00589384
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.005acce4
mov ax, word [esi]
call fcn.005dca90
test al, al
je 0x5894a5
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
jne 0x5894a5
mov word [esi], 0
pop edx
pop esi
pop ebx
ret

Function at 0x58d0d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, dword [0x7b51c4]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
cmp byte [esp + 0x90], 0
je 0x58d11b
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.00459d80
mov edx, dword [esi + 0xb0]
call fcn.00459cdc
jmp 0x58d138
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.00459d80
xor edx, edx
call fcn.00459cdc
cmp byte [esp + 0x14], 0
je 0x58d162
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.00459d80
mov edx, dword [esi + 0xac]
call fcn.00459cdc
jmp 0x58d17f
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.00459d80
xor edx, edx
call fcn.00459cdc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x596380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x596411
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x5963be
mov eax, ebx
call fcn.00404ebc
lea eax, [ebp - 0x100]
push eax
push 0
push 0x596420
lea eax, [ebp - 0x200]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x204]
lea eax, [ebp - 0x100]
call fcn.0040b3a4
mov edx, dword [ebp - 0x204]
mov eax, ebx
call fcn.00404f10
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x596418
lea eax, [ebp - 0x204]
call fcn.00404ebc
ret
Function at 0x5973fc
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
mov al, byte [esi + 0x20e]
mov byte [esp], al
xor edx, edx
mov eax, esi
call fcn.00477544
push 0
push 0
push 0x432
mov eax, esi
call fcn.0048a000
push eax
call sub.user32.dll_SendMessageA
test eax, eax
setne bl
mov dl, byte [esp]
mov eax, esi
call fcn.00477544
mov eax, esi
call fcn.0048a000
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push eax
call sub.user32.dll_EnumClipboardFormats
test eax, eax
je 0x59746c
cmp eax, 2
jne 0x59745a
xor ebx, ebx
jmp 0x597468
cmp eax, 3
je 0x597464
cmp eax, 0xe
jne 0x597468
mov bl, 1
jmp 0x59746c
test eax, eax
jne 0x597447
call sub.user32.dll_CloseClipboard
mov eax, ebx
pop edx
pop esi
pop ebx
ret

Function at 0x59b368
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x59b4a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 4]
mov edx, dword [ebx + 0x1c]
add edx, edx
sub edx, dword [ebx + 0x18]
lea eax, [ebp - 8]
call fcn.00405508
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
mov edx, 0x44b
mov eax, esi
call fcn.004847fc
mov eax, dword [ebx + 0xc]
cmp eax, 0x201
jne 0x59b423
test byte [ebx + 0x10], 1
je 0x59b423
mov byte [esi + 0x3b6], 1
lea eax, [ebp - 0x11]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x11]
mov eax, esi
call fcn.00483108
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x11], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd], eax
lea eax, [ebp - 0x11]
push eax
push 0
push 0xd7
mov eax, esi
call fcn.0048a000
push eax
call sub.user32.dll_SendMessageA
cmp eax, dword [ebx + 0x1c]
jg 0x59b41a
cmp eax, dword [ebx + 0x18]
jge 0x59b493
mov byte [esi + 0x3b6], 0
jmp 0x59b493
cmp eax, 0x202
jne 0x59b493
cmp byte [esi + 0x3b6], 0
je 0x59b493
mov byte [ebp - 9], 1
mov byte [esi + 0x3b6], 0
lea ecx, [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x110]
cmp byte [ebp - 9], 0
je 0x59b493
mov eax, dword [0x7b616c]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004a3214
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040537c
push eax
push 0x59b4b8
mov eax, esi
call fcn.0048a000
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x7b616c]
mov eax, dword [eax]
xor edx, edx
call fcn.004a3214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b4b0
lea eax, [ebp - 8]
call fcn.00404ebc
ret
Function at 0x618e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x618e25
add esp, 0xfffffff0
call fcn.0040430c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040536c
xor eax, eax
push ebp
push 0x618eec
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00614a10
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041f120
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041f120
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041f120
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041f120
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041f148
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x50], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x618ef3
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x61dc48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61dd44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x61dd5c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.00404f10
push 0xffffffffffffffff
mov ecx, 0x61dd6c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x61dd88
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0067946c
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x61dda4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00679358
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x61ddb8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00679358
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x61ddd0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00679358
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x61ddec
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0067946c
mov byte [ebx + 0x44], al
mov ecx, 0x61de00
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.006146ec
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61dd4b
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x65c2e4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
call fcn.0040536c
xor eax, eax
push ebp
push 0x65c41d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041f148
push 0x400
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040517c
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040537c
push eax
mov eax, ebx
call fcn.0042ec60
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x24]
call fcn.0067907c
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
call fcn.00679098
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
sar edi, 1
jns 0x65c36f
adc edi, 0
mov edx, dword [ebp - 0x10]
add edx, eax
add edx, 2
sar edx, 1
jns 0x65c37e
adc edx, 0
sub edi, edx
mov edx, dword [ebp - 4]
sar edx, 1
jns 0x65c38a
adc edx, 0
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x65c394
adc ecx, 0
sub edx, ecx
mov dword [ebp - 8], edx
lea eax, [eax + edi + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
sar eax, 1
jns 0x65c3aa
adc eax, 0
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x65c3b4
adc edx, 0
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040517c
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040537c
push eax
mov eax, ebx
call fcn.0042ec60
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.004913e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65c424
lea eax, [ebp + 0x14]
call fcn.00404ebc
ret