joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45084c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x469bb0]
cmp dword [eax + 0x30], 0
je 0x4508f6
cmp dword [ebx + 0x94], 0
jne 0x4508f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4507dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4508f0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4508b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4508f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413764
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4508c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451458
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45148d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x45149a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452504
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452545
mov eax, esi
call fcn.00438c70
test al, al
je 0x452545
mov eax, dword [ebx + 0x84]
call fcn.0043896c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452545
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043896c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455c0c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x455c3a
mov eax, ebx
call fcn.004566c0
cmp dword [ebx + 0x40], 0
je 0x455c33
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x455cab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x455c9d
cmp dword [ebx + 8], 0
je 0x455c5c
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 0x455c6e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x455c9d
cmp dword [ebx + 8], 0
je 0x455c4f
cmp eax, 3
je 0x455c81
dec eax
jne 0x455c4f
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 0x455c4f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x455c4f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x455cc9
cmp dword [ebx + 0x14], 0xcc
je 0x455cc9
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.00455cd4
pop ebx
ret
Function at 0x586760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x129000]
push edi
jmp 0x58677a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x586781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x586770
mov eax, 1
add ebx, ebx
jne 0x586793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5867a4
jne 0x5867c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5867c3
dec eax
add ebx, ebx
jne 0x5867b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x586788
add ebx, ebx
jne 0x5867bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x586815
xor ecx, ecx
sub eax, 3
jb 0x5867db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58684a
sar eax, 1
mov ebp, eax
jmp 0x5867e6
add ebx, ebx
jne 0x5867e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5867b4
inc ecx
add ebx, ebx
jne 0x5867f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5867b4
add ebx, ebx
jne 0x586801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5867f6
jne 0x586812
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5867f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x586834
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x586826
jmp 0x586776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x586834
add edi, ecx
jmp 0x586776
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x586852
cmp byte [edi], 0x11
jne 0x586852
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x586857
lea edi, [esi + 0x17f000]
mov eax, dword [edi]
or eax, eax
je 0x5868cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x227cc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x227e40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x586884
mov ecx, edi
jns 0x5868b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x227e44]
or eax, eax
je 0x5868c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5868a1
call dword [esi + 0x227e54]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x586900
cmp al, 0xef
ja 0x5868f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5868d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5868e2
mov ebp, dword [esi + 0x227e48]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x586934
sub esp, 0xffffff80
jmp 0x420577
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x4f2577f3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x2d951bb1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42d930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
jmp 0x42d94a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42d951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42d940
mov eax, 1
add ebx, ebx
jne 0x42d963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42d958
jne 0x42d974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d958
xor ecx, ecx
sub eax, 3
jb 0x42d988
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42d9fa
mov ebp, eax
add ebx, ebx
jne 0x42d993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42d9a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42d9c4
inc ecx
add ebx, ebx
jne 0x42d9b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42d9a5
jne 0x42d9c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42d9a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42d9e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42d9d5
jmp 0x42d946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42d9e4
add edi, ecx
jmp 0x42d946
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42da02
cmp byte [edi], 0x12
jne 0x42da02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42da07
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42da7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35ea0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x35f80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42da34
mov ecx, edi
jns 0x42da63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x35f88]
or eax, eax
je 0x42da79
mov dword [ebx], eax
add ebx, 4
jmp 0x42da51
call dword [esi + 0x35f84]
mov ebp, dword [esi + 0x35f8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42dab3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x4051b8
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 + 0x4271d4]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4051f4
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 0x40520c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x405205
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 sub.Vcl50.bpl__System__FillChar_qqrv
xor edx, edx
mov eax, 0x4273d4
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 0x405276
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 0x40522a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4054b4
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 0x4054cd
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4054c6
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4054df
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4054d8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004050a8
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 0x4054f9
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.004051b8
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x40557e
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 0x40559b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00405138
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 0x4055c4
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4055dc
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 0x4055f5
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4055ee
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 0x405609
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00404fa0
test bl, bl
jne 0x4056dc
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x428094
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 0x405640
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 0x405654
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.004054b4
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 0x405686
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x405635
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 0x4056a9
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4056ba
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 0x4056ce
jmp 0x405797
cmp bl, 1
jne 0x405797
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4280ee
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 0x4056fc
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 0x405710
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.004054b4
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 0x405742
sub ebx, 6
inc dword [ebp - 8]
jne 0x4056f1
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 0x405769
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x40577a
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 0x40578e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00405024
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x40c7d0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.Vcl50.bpl__System__LStrAddRef_qqrv
xor eax, eax
push ebp
push 0x40c879
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
mov dl, 1
mov al, 1
call fcn.004015f8
push eax
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x40c85c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call sub.Vcl50.bpl__System__LStrToPChar_qqrv
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x40c849
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.wsock32.dll_inet_ntoa
mov ebx, eax
mov eax, esi
mov edx, ebx
call sub.Vcl50.bpl__System__LStrFromPChar_qqrr17System_AnsiStringpc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c863
call sub.wsock32.dll_WSACleanup
ret
Function at 0x4100f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x410222
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1f8]
call sub.Vcl50.bpl__Controls_TControl_BringToFront_qqrv
lea edx, [ebp - 4]
mov eax, ebx
call sub.Vcl50.bpl__Controls_TControl_GetText_qqrv
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1f0]
call sub.Vcl50.bpl__Graphics_TCanvas_TextHeight_qqrx17System_AnsiString
mov edx, eax
inc edx
mov eax, dword [ebx + 0x1f8]
call sub.Vcl50.bpl__Controls_TControl_SetTop_qqri
mov edx, 0x10
mov eax, dword [ebx + 0x1f8]
call sub.Vcl50.bpl__Controls_TControl_SetLeft_qqri
cmp byte [ebx + 0x2ad], 0
je 0x410162
mov esi, dword [ebx + 0x1fc]
mov edi, dword [ebx + 0x218]
jmp 0x41016e
mov esi, dword [ebx + 0x218]
mov edi, dword [ebx + 0x1fc]
mov eax, esi
call sub.Vcl50.bpl__Controls_TControl_BringToFront_qqrv
mov eax, edi
call sub.Vcl50.bpl__Controls_TControl_SendToBack_qqrv
mov edx, 2
mov eax, esi
call sub.Vcl50.bpl__Controls_TControl_SetLeft_qqri
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x1f8]
call sub.Vcl50.bpl__Controls_TControl_GetText_qqrv
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x1f8]
mov eax, dword [eax + 0x1f0]
call sub.Vcl50.bpl__Graphics_TCanvas_TextHeight_qqrx17System_AnsiString
mov edx, eax
mov eax, dword [ebx + 0x1f8]
add edx, dword [eax + 0x34]
add edx, 2
mov eax, esi
call sub.Vcl50.bpl__Controls_TControl_SetTop_qqri
mov edx, dword [ebx + 0x3c]
sub edx, dword [esi + 0x34]
sub edx, 2
mov eax, esi
call sub.Vcl50.bpl__Controls_TControl_SetHeight_qqri
mov edx, dword [ebx + 0x38]
sub edx, dword [esi + 0x30]
sub edx, 2
mov eax, esi
call sub.Vcl50.bpl__Controls_TControl_SetWidth_qqri
mov edx, dword [esi + 0x30]
mov eax, edi
call sub.Vcl50.bpl__Controls_TControl_SetLeft_qqri
mov edx, dword [esi + 0x34]
mov eax, edi
call sub.Vcl50.bpl__Controls_TControl_SetTop_qqri
mov edx, dword [esi + 0x3c]
mov eax, edi
call sub.Vcl50.bpl__Controls_TControl_SetHeight_qqri
mov edx, dword [esi + 0x38]
mov eax, edi
call sub.Vcl50.bpl__Controls_TControl_SetWidth_qqri
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410229
lea eax, [ebp - 8]
mov edx, 2
call sub.Vcl50.bpl__System__LStrArrayClr_qqrv
ret
Function at 0x41291c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.Vcl50.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x41294b
push 0
push 0
call sub.Vcl50.bpl__Forms_AllocateHWnd_qqrynpqqrr17Messages_TMessage_v
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [esp]
call sub.Vcl50.bpl__Classes_TStream_GetSize_qqrv
mov dword [esp + 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [esp + 8]
inc eax
push eax
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
xor ebx, ebx
jmp 0x4129c4
mov edx, dword [esp + 8]
sub edx, ebx
mov eax, 0x8000
call fcn.004127a8
push eax
mov edx, edi
mov eax, ebx
call fcn.00412908
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov esi, dword [eax]
call dword [esi + 4]
mov esi, eax
movzx eax, si
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
test si, si
je 0x4129cd
lea eax, [ebx + 1]
cmp eax, dword [esp + 8]
jl 0x41298c
mov edx, edi
mov eax, ebx
call fcn.00412908
mov byte [eax], 0
push edi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_EmptyClipboard
push edi
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [sym.imp.Vcl50.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
cmp eax, dword [esp + 0xc]
je 0x412a0d
mov eax, dword [esp + 0xc]
call sub.Vcl50.bpl__Forms_DeallocateHWnd_qqrui
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x412a14
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, edx
mov dword [esp], eax
mov eax, dword [sym.imp.Vcl50.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x412a42
push 0
push 0
call sub.Vcl50.bpl__Forms_AllocateHWnd_qqrynpqqrr17Messages_TMessage_v
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov esi, dword [eax]
call dword [esi + 0xc]
push ebx
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
call sub.kernel32.dll_GlobalSize
mov esi, eax
xor ebx, ebx
jmp 0x412aa8
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.004127a8
push eax
mov edx, edi
mov eax, ebx
call fcn.00412908
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov ebp, dword [eax]
call dword [ebp + 8]
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.004127a8
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebx + 1]
cmp esi, eax
jg 0x412a6c
call sub.user32.dll_CloseClipboard
mov eax, dword [sym.imp.Vcl50.bpl__Forms_Application]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
cmp eax, dword [esp + 4]
je 0x412acd
mov eax, dword [esp + 4]
call sub.Vcl50.bpl__Forms_DeallocateHWnd_qqrui
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x423900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.Vcl50.bpl__System__LStrAddRef_qqrv
xor eax, eax
push ebp
push 0x4239ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call sub.Vcl50.bpl__Sysutils_StrPCopy_qqrpcx17System_AnsiString
lea edx, [ebp - 0xc]
xor eax, eax
call sub.Vcl50.bpl__System__LGetDir_qqrucr17System_AnsiString
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 0xc]
call sub.Vcl50.bpl__Sysutils_StrPCopy_qqrpcx17System_AnsiString
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call sub.Vcl50.bpl__System__FillChar_qqrv
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4239b0
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4239ce
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4239f3
lea eax, [ebp - 0xc]
call sub.Vcl50.bpl__System__LStrClr_qqrr17System_AnsiString
lea eax, [ebp - 4]
call sub.Vcl50.bpl__System__LStrClr_qqrr17System_AnsiString
ret
Function at 0x401e40
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcr90.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcr90.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp sym.___write_memory.part.0