joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494538
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cdc
xor eax, eax
push ebp
push 0x4946b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040481c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
test ebx, ebx
je 0x49468d
mov eax, ebx
call fcn.004027f8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x494686
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4946c0
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 0x10
mov dword [esi], edx
and eax, 0xffff
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.00409518
push dword [ebp - 0x18]
push 0x4946cc
lea edx, [ebp - 0x1c]
mov eax, dword [edi]
call fcn.00409518
push dword [ebp - 0x1c]
push 0x4946cc
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
call fcn.00409518
push dword [ebp - 0x20]
push 0x4946cc
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.00409518
push dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov edx, 7
call fcn.00404bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49468d
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00402818
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4946b7
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404840
lea eax, [ebp - 4]
call fcn.0040481c
ret
Function at 0x496028
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417af0]
call fcn.00405478
xor eax, eax
push ebp
push 0x49616c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56990c], 0
jne 0x49607b
mov ecx, dword [0x56d92c]
mov dl, 1
mov eax, dword [0x4081b8]
call fcn.0040d1cc
call fcn.00404198
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403198
mov eax, ebx
call fcn.0040513c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49617c
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040663c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040514c
test eax, eax
jle 0x496113
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49610c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ab4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a9c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004090a0
test eax, eax
jne 0x49610c
mov ebx, 0x15
jmp 0x496118
mov ebx, 0x10
jmp 0x496118
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x56990c]
call fcn.00495f24
mov eax, dword [ebp - 8]
call fcn.00495f24
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496173
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404840
lea eax, [ebp - 0x10]
mov edx, dword [0x417af0]
call fcn.00405548
ret

Function at 0x49f414
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49f442
mov eax, ebx
call fcn.0049fec8
cmp dword [ebx + 0x40], 0
je 0x49f43b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49f4b3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x49f4a5
cmp dword [ebx + 8], 0
je 0x49f464
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 0x49f476
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49f4a5
cmp dword [ebx + 8], 0
je 0x49f457
cmp eax, 3
je 0x49f489
dec eax
jne 0x49f457
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 0x49f457
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49f457
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49f4d1
cmp dword [ebx + 0x14], 0xcc
je 0x49f4d1
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.0049f4dc
pop ebx
ret
Function at 0x4b0c50
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x56a47c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4b0c8c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4b0ca4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b0c9d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403198
xor edx, edx
mov eax, 0x56a67c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4b0d0e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4b0cc2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4b0f4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4b0f65
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4b0f5e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4b0f77
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4b0f70
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004b0b40
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b0f91
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004b0c50
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4b1016
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4b1033
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004b0bd0
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b105c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b1074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4b108d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b1086
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4b10a1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b0a38
test bl, bl
jne 0x4b1174
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x56fedc
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b10d8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b10ec
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b0f4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4b111e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4b10cd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b1141
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4b1152
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b1166
jmp 0x4b122f
cmp bl, 1
jne 0x4b122f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x56ff36
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b1194
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b11a8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b0f4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4b11da
sub ebx, 6
inc dword [ebp - 8]
jne 0x4b1189
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4b1201
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4b1212
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4b1226
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b0abc
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4d28a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4d28bd
add esp, 0xfffffff0
call fcn.00403c6c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404cdc
xor eax, eax
push ebp
push 0x4d2980
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004cea24
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00419a64
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.00419a64
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.00419a64
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.00419a64
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.00419a8c
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
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2987
lea eax, [ebp - 4]
call fcn.0040481c
ret
Function at 0x4d6c4c
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 0x4d6d29
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4d6d40
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.00404870
push 0xffffffffffffffff
mov ecx, 0x4d6d50
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4d6d6c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c3488
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4d6d88
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c3374
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, 0x4d6d9c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c3374
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
mov ecx, 0x4d6db4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c3488
mov byte [ebx + 0x34], al
mov ecx, 0x4d6dc8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004ce700
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6d30
lea eax, [ebp - 4]
call fcn.0040481c
ret
Function at 0x4de3c8
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 0x4de628
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4de42b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ddee0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040db14
cmp al, 1
jne 0x4de42b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004de1a8
test al, al
je 0x4de5b7
cmp dword [ebp - 8], 0
jge 0x4de449
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.004ddee0
mov eax, dword [ebp - 0x210]
call fcn.00404aec
cmp ebx, eax
jge 0x4de493
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ddee0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x56e34c]
and eax, 0xff
bt dword [edx], eax
jae 0x4de493
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4de4a7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004de3a4
cmp ebx, dword [ebp - 8]
je 0x4de5a9
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 0x4de4d3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b04
and eax, 0x7f
movzx eax, word [eax*2 + 0x56ca6c]
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 0x4de596
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b04
and eax, 0x7f
movzx eax, word [eax*2 + 0x56ca6c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046db78
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b04
and eax, 0x7f
movzx eax, word [eax*2 + 0x56ca6c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046db78
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de59d
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 0x4de60a
cmp dword [ebp - 8], 0
jge 0x4de5c2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ddee0
mov eax, dword [ebp - 0x218]
call fcn.00404aec
cmp eax, dword [ebp - 8]
jg 0x4de5fc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ddee0
mov eax, dword [ebp - 0x21c]
call fcn.00404aec
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004de3a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de62f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404840
ret
Function at 0x4f3578
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.00404cdc
xor eax, eax
push ebp
push 0x4f36b1
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.00419a8c
push 0x400
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404aec
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404cec
push eax
mov eax, ebx
call fcn.00429214
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x24]
call fcn.004c3098
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
call fcn.004c30b4
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
sar edi, 1
jns 0x4f3603
adc edi, 0
mov edx, dword [ebp - 0x10]
add edx, eax
add edx, 2
sar edx, 1
jns 0x4f3612
adc edx, 0
sub edi, edx
mov edx, dword [ebp - 4]
sar edx, 1
jns 0x4f361e
adc edx, 0
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x4f3628
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 0x4f363e
adc eax, 0
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x4f3648
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.00404aec
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404cec
push eax
mov eax, ebx
call fcn.00429214
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.00474e34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f36b8
lea eax, [ebp + 0x14]
call fcn.0040481c
ret
Function at 0x52c3f8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x52c400
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x52c5f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x52c608
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404870
lea ecx, [ebp - 0x10]
mov edx, 0x52c61c
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404870
lea ecx, [ebp - 0x14]
mov edx, 0x52c634
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404870
lea ecx, [ebp - 0x18]
mov edx, 0x52c650
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404870
lea ecx, [ebp - 0x1c]
mov edx, 0x52c66c
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404870
lea ecx, [ebp - 0x24]
mov edx, 0x52c684
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409110
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409690
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x52c69c
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x28]
call fcn.0048e3d0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x52c6ac
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x2c]
call fcn.0048e3d0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x52c6c4
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409690
inc eax
je 0x52c595
lea ecx, [ebp - 0x34]
mov edx, 0x52c6c4
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x34]
call fcn.00409654
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040af20
fstp qword [ebp - 0x3c]
wait
call fcn.0040b2e4
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x52c5b0
lea ecx, [ebp - 0x40]
mov edx, 0x52c6c4
mov eax, esi
call fcn.00525b64
mov eax, dword [ebp - 0x40]
call fcn.0048e3d0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x52c6d4
mov eax, esi
call fcn.00525b64
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c5f9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404840
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404840
ret