joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100760f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x20
push ebx
push ebp
push esi
lea esi, [eax - 6]
push edi
lea ecx, [esi - 1]
test ecx, ecx
jl 0x1007611f
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x10]
lea eax, [esp + ecx*4 + 0x10]
sub edx, edi
inc ecx
mov edi, dword [edx + eax]
mov dword [eax], edi
sub eax, 4
dec ecx
jne 0x10076114
mov ebx, dword [esp + 0x38]
xor edi, edi
xor eax, eax
xor ecx, ecx
test esi, esi
mov dword [esp + 0x34], edi
jle 0x1007616c
mov edx, dword [esp + 0x3c]
inc edx
cmp edi, edx
jge 0x1007616c
cmp ecx, esi
jge 0x1007615c
lea edx, [esp + ecx*4 + 0x10]
cmp eax, 4
jge 0x1007615f
mov ebp, dword [edx]
lea edi, [eax + edi*4]
inc ecx
add edx, 4
inc eax
mov dword [ebx + edi*4], ebp
mov edi, dword [esp + 0x34]
cmp ecx, esi
jl 0x10076142
cmp eax, 4
jne 0x10076168
inc edi
xor eax, eax
mov dword [esp + 0x34], edi
cmp ecx, esi
jl 0x10076131
mov ecx, dword [esp + 0x3c]
inc ecx
cmp edi, ecx
mov dword [esp + 0x38], ecx
jge 0x100762d7
mov dword [esp + 0x3c], 0x1009ac20
mov cl, byte [esp + 0x10]
xor edx, edx
mov dl, byte [esp + esi*4 + 0xd]
xor cl, byte [edx + str.cw]
xor edx, edx
mov byte [esp + 0x10], cl
mov dl, byte [esp + esi*4 + 0xe]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x11], dl
xor edx, edx
mov dl, byte [esp + esi*4 + 0xf]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x12], dl
xor edx, edx
mov dl, byte [esp + esi*4 + 0xc]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x13], dl
mov edx, dword [esp + 0x3c]
xor cl, byte [edx]
add edx, 4
cmp esi, 8
mov dword [esp + 0x3c], edx
mov byte [esp + 0x10], cl
je 0x100761ff
cmp esi, 1
jle 0x1007628f
lea ecx, [esp + 0x14]
lea edx, [esi - 1]
mov ebp, dword [ecx - 4]
xor dword [ecx], ebp
add ecx, 4
dec edx
jne 0x100761ef
jmp 0x1007628f
lea ecx, [esp + 0x14]
mov edx, 3
mov ebp, dword [ecx - 4]
xor dword [ecx], ebp
add ecx, 4
dec edx
jne 0x10076208
mov ecx, dword [esp + 0x1c]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x20]
xor cl, dl
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x1d]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x21]
xor cl, dl
mov byte [esp + 0x21], cl
mov ecx, dword [esp + 0x1e]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x22]
xor cl, dl
mov byte [esp + 0x22], cl
mov ecx, dword [esp + 0x1f]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x23]
xor cl, dl
mov edx, 3
mov byte [esp + 0x23], cl
lea ecx, [esp + 0x24]
mov ebp, dword [ecx - 4]
xor dword [ecx], ebp
add ecx, 4
dec edx
jne 0x10076284
xor ecx, ecx
test esi, esi
jle 0x100762cd
cmp edi, dword [esp + 0x38]
jge 0x100762d7
cmp ecx, esi
jge 0x100762bd
lea edx, [esp + ecx*4 + 0x10]
cmp eax, 4
jge 0x100762c0
mov ebp, dword [edx]
lea edi, [eax + edi*4]
inc ecx
add edx, 4
inc eax
mov dword [ebx + edi*4], ebp
mov edi, dword [esp + 0x34]
cmp ecx, esi
jl 0x100762a3
cmp eax, 4
jne 0x100762c9
inc edi
xor eax, eax
mov dword [esp + 0x34], edi
cmp ecx, esi
jl 0x10076295
cmp edi, dword [esp + 0x38]
jl 0x10076185
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x100762f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
cmp ecx, 1
jle 0x100763fa
mov eax, dword [esp + 4]
push ebx
add eax, 0x16
push esi
dec ecx
xor ebx, ebx
xor edx, edx
mov bl, byte [eax - 4]
mov dl, byte [eax - 3]
add eax, 0x10
mov esi, dword [ebx*4 + 0x1009a420]
mov edx, dword [edx*4 + 0x1009a820]
xor ebx, ebx
xor edx, esi
mov bl, byte [eax - 0x15]
mov esi, dword [ebx*4 + 0x1009a020]
xor ebx, ebx
mov bl, byte [eax - 0x16]
xor edx, esi
mov esi, dword [ebx*4 + 0x10099c20]
xor ebx, ebx
xor edx, esi
mov dword [eax - 0x16], edx
mov bl, byte [eax - 0x11]
xor edx, edx
mov dl, byte [eax - 0xf]
mov esi, dword [ebx*4 + 0x1009a020]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1009a820]
mov bl, byte [eax - 0x10]
xor edx, esi
mov esi, dword [ebx*4 + 0x1009a420]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor edx, esi
mov esi, dword [ebx*4 + 0x10099c20]
xor ebx, ebx
xor edx, esi
mov dword [eax - 0x12], edx
mov bl, byte [eax - 0xc]
xor edx, edx
mov dl, byte [eax - 0xb]
mov esi, dword [ebx*4 + 0x1009a420]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1009a820]
mov bl, byte [eax - 0xd]
xor edx, esi
mov esi, dword [ebx*4 + 0x1009a020]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor edx, esi
mov esi, dword [ebx*4 + 0x10099c20]
xor ebx, ebx
xor edx, esi
mov dword [eax - 0xe], edx
mov bl, byte [eax - 8]
xor edx, edx
mov dl, byte [eax - 7]
mov esi, dword [ebx*4 + 0x1009a420]
xor ebx, ebx
mov edx, dword [edx*4 + 0x1009a820]
mov bl, byte [eax - 9]
xor edx, esi
mov esi, dword [ebx*4 + 0x1009a020]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor edx, esi
mov esi, dword [ebx*4 + 0x10099c20]
xor edx, esi
dec ecx
mov dword [eax - 0xa], edx
jne 0x10076307
pop esi
xor eax, eax
pop ebx
ret
xor eax, eax
ret
Function at 0x10076d90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10079110
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov ebx, dword [esp + 0x6c]
push edi
push ebp
cmp ebx, 0x13d
jne 0x1007914c
xor di, di
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
movsx eax, di
shl eax, 2
inc di
mov esi, dword [eax + edx]
mov dword [ecx + eax], esi
movsx eax, di
cmp eax, 9
jbe 0x1007912e
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
xor ecx, ecx
xor edx, edx
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0x18], edx
movsx ebp, cx
cmp ebp, 0x14
jbe 0x10079150
mov si, 0x14
mov eax, ebx
shr eax, 5
sub si, ax
and bx, 0x1f
mov word [esp + 0x16], ax
je 0x100791bc
mov ax, 0x20
mov edx, dword [esp + 0x70]
mov word [esp + 0x14], 9
sub ax, bx
mov word [esp + 0x12], ax
movsx edi, si
movsx eax, word [esp + 0x14]
dec si
mov cl, bl
mov eax, dword [edx + eax*4]
mov ebp, eax
shl ebp, cl
mov cl, byte [esp + 0x12]
or dword [esp + edi*4 + 0x18], ebp
movsx edi, si
shr eax, cl
or dword [esp + edi*4 + 0x18], eax
dec word [esp + 0x14]
jns 0x1007918f
jmp 0x100791d7
mov cx, 9
mov edx, dword [esp + 0x70]
movsx edi, si
movsx eax, cx
dec si
mov ebx, dword [edx + eax*4]
or dword [esp + edi*4 + 0x18], ebx
dec cx
jns 0x100791c4
mov dx, 0xb
mov ecx, 0x14
movsx eax, word [esp + 0x16]
mov si, 0x14
sub ecx, eax
cmp ecx, 0x14
ja 0x1007921e
movsx eax, si
movsx ebp, dx
dec dx
lea edi, [esp + eax*4 + 0x18]
dec si
mov ebx, dword [esp + ebp*4 + 0x18]
movsx eax, dx
shr ebx, 0x1d
or ebx, dword [edi]
mov dword [edi], ebx
mov eax, dword [esp + eax*4 + 0x18]
shl eax, 3
or eax, ebx
movsx ebx, si
mov dword [edi], eax
cmp ebx, ecx
jae 0x100791f0
mov eax, dword [esp + 0x44]
mov esi, 0
and eax, 0x10000000
mov ecx, dword [esp + 0x78]
cmp eax, 1
adc esi, 0xffffffff
xor di, di
movsx eax, di
inc di
mov edx, dword [esp + eax*4 + 0x44]
xor edx, esi
mov dword [ecx + eax*4], edx
movsx eax, di
cmp eax, 9
jbe 0x10079239
pop ebp
and dword [ecx], 0xfffffff
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x1007c290
Capabilities:
Encode data using xor

Disassembly:
xor cx, cx
sub esp, 0x3c
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [esp + 0x4c]
push ebp
movsx eax, cx
inc cx
or edx, dword [esi + eax*4]
movsx eax, cx
cmp eax, 5
jb 0x1007c2a0
test edx, edx
jne 0x1007c2e6
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edi
push eax
call fcn.10078c30
add esp, 8
push edi
call fcn.10078bd0
add esp, 4
lea eax, [edi + 0x14]
push eax
push edi
call fcn.10078c30
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x38]
push eax
push esi
call fcn.10079260
lea eax, [esp + 0x40]
add esp, 8
push eax
call fcn.10078b90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x58]
add esp, 4
push eax
push ecx
push edx
call fcn.10078f20
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
call fcn.10078bd0
add esp, 4
xor ecx, ecx
xor edx, edx
movsx eax, cx
inc cx
xor edx, dword [esp + eax*4 + 0x24]
movsx eax, cx
cmp eax, 5
jb 0x1007c329
mov ax, 0x10
mov edi, 0xffffffff
mov cl, al
shr edi, cl
sar ax, 1
mov ebx, edi
and ebx, edx
shr edx, cl
xor ebx, edx
test ax, ax
mov edx, ebx
jg 0x1007c343
test edx, edx
je 0x1007c384
mov edi, dword [esp + 0x58]
push edi
call fcn.10078c10
add esp, 4
add edi, 0x14
push edi
call fcn.10078c10
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x10]
push eax
call fcn.10078c10
xor cx, cx
add esp, 4
mov edx, 1
movsx edi, cx
mov bx, 4
mov eax, edi
shr eax, 5
inc edi
shr edi, 5
sub bx, ax
mov ax, 4
sub ax, di
movsx edi, bx
lea ebp, [edi*4]
mov edi, dword [esp + edi*4 + 0x24]
xor edi, dword [esp + ebp + 0x10]
and edi, edx
cmp ax, bx
jne 0x1007c3d9
movsx eax, ax
add edi, edi
add edx, edx
or dword [esp + eax*4 + 0x10], edi
jmp 0x1007c3e9
mov edx, 1
test edi, edi
je 0x1007c3e9
movsx eax, ax
mov dword [esp + eax*4 + 0x10], edx
inc cx
cmp cx, 0x9e
jl 0x1007c399
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
xor eax, dword [esp + 0x10]
push edi
test eax, 0x20000000
je 0x1007c427
add edi, 0x14
call fcn.10078c10
add esp, 4
push edi
call fcn.10078c10
add esp, 4
mov eax, 2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
lea eax, [esp + 0x14]
push eax
push esi
call fcn.10078f20
add esp, 0xc
lea eax, [edi + 0x14]
push eax
call fcn.10078c10
xor cx, cx
add esp, 4
movsx eax, cx
shl eax, 2
inc cx
lea edx, [edi + eax]
mov eax, dword [esi + eax]
xor eax, dword [edx]
mov dword [edx + 0x14], eax
movsx edx, cx
cmp edx, 5
jb 0x1007c444
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x1007c470
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x30]
push edi
push eax
push esi
call fcn.10078c30
lea ecx, [esp + 0x10]
add esp, 8
push ecx
call fcn.10078b90
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
add esp, 4
push eax
push ecx
push esi
call fcn.10078f20
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp word [esi], 0
push edi
je 0x1007c4c9
lea eax, [esi + 2]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.10078f20
add esp, 0xc
jmp 0x1007c4d1
call fcn.10078c10
add esp, 4
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esi + eax + 0x16]
xor ecx, dword [esp + eax + 0x1c]
xor dword [edi + eax], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c4d4
pop edi
pop esi
add esp, 0x28
ret

Function at 0x1007c500
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
push ebp
push eax
call fcn.10078c10
lea eax, [esp + 0x50]
add esp, 4
push eax
call fcn.10078c10
xor cx, cx
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
add esp, 4
movsx eax, cx
inc cx
lea edi, [eax*4]
lea eax, [edi + ebx]
lea edx, [edi + esi]
mov ebp, dword [eax]
mov eax, dword [eax + 0x14]
xor ebp, dword [edx]
xor eax, dword [edx + 0x14]
movsx edx, cx
mov dword [esp + edi + 0x38], ebp
mov dword [esp + edi + 0x4c], eax
cmp edx, 5
jb 0x1007c52f
lea eax, [esp + 0x60]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10079260
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
lea eax, [esp + 0x68]
add esp, 8
push ecx
push edx
push eax
call fcn.10078f20
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
add esp, 0xc
push ecx
push edx
call fcn.10078c30
lea ecx, [esp + 0x18]
add esp, 8
push ecx
call fcn.10078b90
mov ecx, dword [esp + 0x88]
add esp, 4
cmp word [ecx], 0
je 0x1007c5e1
xor dx, dx
mov edi, dword [esp + 0x80]
movsx eax, dx
shl eax, 2
inc dx
mov ebp, dword [eax + ecx + 2]
xor ebp, dword [eax + ebx]
xor ebp, dword [eax + esi]
xor ebp, dword [esp + eax + 0x10]
xor ebp, dword [esp + eax + 0x24]
mov dword [eax + edi], ebp
movsx eax, dx
cmp eax, 5
jb 0x1007c5ba
jmp 0x1007c60c
xor cx, cx
mov edi, dword [esp + 0x80]
movsx eax, cx
shl eax, 2
inc cx
mov edx, dword [eax + ebx]
xor edx, dword [eax + esi]
xor edx, dword [esp + eax + 0x10]
xor edx, dword [esp + eax + 0x24]
mov dword [eax + edi], edx
movsx eax, cx
cmp eax, 5
jb 0x1007c5eb
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + edi]
xor ecx, dword [eax + esi]
mov dword [esp + eax + 0x38], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c60f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.10078f20
xor dx, dx
add esp, 0xc
movsx eax, dx
inc dx
mov ebx, dword [esi + eax*4 + 0x14]
xor ebx, dword [esp + eax*4 + 0x10]
lea ecx, [eax*4]
lea eax, [ecx + edi]
xor ebx, dword [eax]
mov dword [eax + 0x14], ebx
movsx eax, dx
cmp eax, 5
jb 0x1007c643
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x1007c670
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
mov esi, dword [esp + 0x74]
push eax
push esi
call fcn.10079260
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.10078f20
xor dx, dx
add esp, 0xc
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + esi]
xor ecx, dword [esp + eax + 0xc]
mov dword [esp + eax + 0x20], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c6a1
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10078c30
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.10078b90
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x1007c710
xor cx, cx
mov edi, dword [esp + 0x78]
movsx eax, cx
shl eax, 2
inc cx
mov ebx, dword [eax + edx + 2]
xor ebx, dword [esp + eax + 0x20]
xor ebx, dword [esp + eax + 0x48]
mov dword [eax + edi], ebx
movsx eax, cx
cmp eax, 5
jb 0x1007c6ef
jmp 0x1007c732
xor dx, dx
mov edi, dword [esp + 0x78]
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor ecx, dword [esp + eax + 0x48]
mov dword [eax + edi], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c717
xor cx, cx
mov edx, 0xffffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0xc], edx
movsx ebx, cx
cmp ebx, 5
jb 0x1007c73a
and dword [esp + 0xc], 0x3fffffff
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0xc], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c756
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.10078f20
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.10078c30
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.10078b90
xor dx, dx
add esp, 4
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x5c]
xor ecx, dword [esp + eax + 0x34]
mov dword [eax + edi + 0x14], ecx
movsx eax, dx
cmp eax, 5
jb 0x1007c79f
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x1007c7d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x34]
push edi
push eax
push esi
xor di, di
call fcn.10078c30
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.10078c10
add esp, 4
movsx eax, di
inc di
lea ecx, [eax*4]
mov edx, dword [esi + ecx + 0x14]
lea eax, [esi + ecx]
xor edx, dword [eax]
movsx eax, di
mov dword [esp + ecx + 0x1c], edx
cmp eax, 5
jb 0x1007c7f7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.1007c500
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret
Function at 0x40688c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x12]
mov edx, dword [ebp - 4]
mov cl, 8
call sub.Vcl40.bpl__System__PStrNCpy_qqrv
mov eax, dword [ebp - 4]
mov al, byte [eax]
test al, al
jbe 0x4068dc
mov byte [ebp - 0x13], al
mov byte [ebp - 9], 1
xor eax, eax
mov al, byte [ebp - 9]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
xor edx, edx
mov dl, byte [ebp - 9]
add edx, 0x25
xor eax, edx
xor edx, edx
mov dl, byte [ebp - 9]
mov byte [ebp + edx - 0x12], al
inc byte [ebp - 9]
dec byte [ebp - 0x13]
jne 0x4068b5
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x12]
mov cl, 8
call sub.Vcl40.bpl__System__PStrNCpy_qqrv
mov esp, ebp
pop ebp
ret
Function at 0x4076bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
xor eax, eax
mov dword [ebp - 0xbc], eax
xor eax, eax
push ebp
push 0x4078bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x35], 0
mov eax, 0x52d058
mov dword [ebp - 4], eax
jmp 0x4076f1
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 1], 0x5a
jne 0x4076ee
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 3], 3
jne 0x4076ee
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 6], 0x88
jne 0x4076ee
lea eax, [ebp - 0xb4]
push eax
mov edx, dword [ebp - 0xc]
add edx, 9
mov ecx, 0x28
mov eax, dword [ebp - 4]
call sub.Vcl40.bpl__System__Copy_qqrv
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x5e]
mov cl, 0x28
call sub.Vcl40.bpl__System__PStrNCpy_qqrv
mov dword [ebp - 8], 1
mov eax, pe_nt_image_headers32
call sub.Vcl40.bpl__System__RandInt_qqrv
mov edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x5e]
xor edx, eax
lea eax, [ebp - 0xb8]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x35]
mov cl, 0x28
call sub.Vcl40.bpl__System__PStrNCat_qqrv
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x29
jne 0x407749
lea eax, [ebp - 0xbc]
lea edx, [ebp - 0x35]
call sub.Vcl40.bpl__System__LStrFromString_qqrr17System_AnsiStringrx28System__SmallString_iuc_255_
mov edx, dword [ebp - 0xbc]
mov eax, dword [0x52d684]
mov eax, dword [eax]
call sub.Vcl40.bpl__Sysutils_StrPCopy_qqrpcx17System_AnsiString
mov eax, dword [0x52d684]
mov eax, dword [eax]
push eax
mov eax, dword [0x52d684]
mov eax, dword [eax]
push eax
call sub.user32.dll_OemToCharA
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x31]
add eax, 0xffffffbf
cmp eax, 0xf
ja case.0x4077d2.65
mov al, byte [eax + 0x4077d9]
jmp dword [eax*4 + 0x4077e9]
mov eax, dword [0x52d9dc]
mov word [eax], 1
jmp 0x407847
mov eax, dword [0x52d9dc]
mov word [eax], 0x1b
jmp 0x407847
mov eax, dword [0x52d9dc]
mov word [eax], 0x25
jmp 0x407847
mov eax, dword [0x52d9dc]
mov word [eax], 0x43
jmp 0x407847
mov eax, dword [0x52d9dc]
mov word [eax], 0x7f
jmp 0x407847
mov eax, dword [0x52d9dc]
mov word [eax], 0x17c
mov eax, dword [0x52d694]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x32], 0x47
je 0x407869
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x32], 0x57
jne 0x407871
mov eax, dword [0x52d694]
or byte [eax], 2
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x32], 0x56
je 0x40788b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x32], 0x57
jne 0x407893
mov eax, dword [0x52d694]
or byte [eax], 4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp byte [edx + eax + 0x37], 1
mov eax, dword [0x52d708]
sete byte [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4078c6
lea eax, [ebp - 0xbc]
call sub.Vcl40.bpl__System__LStrClr_qqrr17System_AnsiString
ret
Function at 0x40b2c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [0x52dad4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dx, word [ebp - 2]
call fcn.00412c94
mov dword [ebp - 0x10], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x40b427
cmp word [ebp - 2], 0x21
je 0x40b309
cmp word [ebp - 2], 0x22
jne 0x40b427
mov eax, dword [0x52dad4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00412d00
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40b427
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x7a]
call sub.Vcl40.bpl__Sysutils_StrCopy_qqrpct1
lea eax, [ebp - 0x7a]
mov dl, 0x7c
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
inc eax
mov dword [ebp - 0x18], eax
mov dl, 0x7c
mov eax, dword [ebp - 0x18]
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
mov byte [eax], 0
lea eax, [ebp - 0x1e]
mov edx, dword [ebp - 0x18]
call sub.Vcl40.bpl__Sysutils_StrCopy_qqrpct1
mov eax, dword [0x52dad4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00412d00
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40b427
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x7a]
call sub.Vcl40.bpl__Sysutils_StrCopy_qqrpct1
lea eax, [ebp - 0x7a]
mov dl, 0x7c
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
inc eax
mov dword [ebp - 0x18], eax
mov dl, 0x7c
mov eax, dword [ebp - 0x18]
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40b402
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x52dad4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 2]
call fcn.00412c94
mov dword [ebp - 0x10], eax
mov eax, dword [0x52dad4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.00412d00
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40b402
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x7a]
call sub.Vcl40.bpl__Sysutils_StrCopy_qqrpct1
lea eax, [ebp - 0x7a]
mov dl, 0x7c
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
inc eax
mov dword [ebp - 0x18], eax
mov dl, 0x7c
mov eax, dword [ebp - 0x18]
call sub.Vcl40.bpl__Sysutils_StrScan_qqrpcc
mov byte [eax], 0
lea eax, [ebp - 0x1e]
mov edx, dword [ebp - 0x18]
call sub.Vcl40.bpl__Sysutils_StrComp_qqrpct1
test eax, eax
je 0x40b419
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40b3a5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40b427
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d278
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
mov al, byte [ebp - 1]
lea eax, [eax + eax*2]
mov edx, dword [0x52d7ac]
mov edx, dword [edx]
mov byte [edx + eax*2], 0
xor eax, eax
mov al, byte [ebp - 1]
imul eax, eax, 0x15
mov edx, dword [0x52d81c]
mov edx, dword [edx]
mov byte [edx + eax], 0
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [0x52d5f4]
mov edx, dword [edx]
mov cl, byte [ebp - 1]
mov byte [edx + eax], cl
cmp byte [ebp - 1], 0xdc
ja 0x41d2db
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [0x52dad8]
mov edx, dword [edx]
mov byte [edx + eax], 0
jmp 0x41d2ec
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [0x52dad8]
mov edx, dword [edx]
mov byte [edx + eax], 0xff
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [0x52d574]
mov edx, dword [edx]
cmp byte [ebp - 1], 0xc8
seta cl
and ecx, 0x7f
imul cx, cx, 0x270f
mov word [edx + eax*2], cx
inc byte [ebp - 1]
cmp byte [ebp - 1], 0xdd
jne 0x41d287
mov eax, dword [0x52d948]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x3b6
call sub.Vcl40.bpl__System__FillChar_qqrv
mov byte [ebp - 2], 0
xor eax, eax
mov al, byte [ebp - 2]
imul eax, eax, 0x13
mov edx, dword [0x52d948]
mov edx, dword [edx]
lea eax, [edx + eax*2]
mov dword [ebp - 8], eax
cmp byte [ebp - 2], 0
jbe 0x41d36c
lea edx, [ebp - 0x108]
xor eax, eax
mov al, byte [ebp - 2]
call sub.Vcl40.bpl__System__Str0Long_qqrv
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
call sub.Vcl40.bpl__System___PasToCStr_qqrv
jmp 0x41d372
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
lea edi, [eax + 6]
mov esi, 0x41d394
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
inc byte [ebp - 2]
cmp byte [ebp - 2], 0x19
jne 0x41d330
pop edi
pop esi
mov esp, ebp
pop ebp
ret