joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57001d4c
Capabilities:
Packed with generic packer

Disassembly:
pop es
add edx, dword [edi + 0x48]
add byte [eax], al
add byte [eax + 7], dl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001d8a
jae 0x57001d3d
sbb eax, 0xd115700
push esp
inc esp
inc ecx
push edi
imul esp, dword [ebp + 0x53], 0x6e697274
add al, 0
add byte [eax], al
push esp
pop es
add edx, dword [edi + 8]
add byte [eax], al
add byte [edi + eax + 3], dl
push edi
or byte [ebp + 0x61], ch
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001db6
jae 0x57001d95
sbb eax, 0x10115700
push esp
inc esp
inc ecx
push ebp
outsb dx, byte [esi]
imul esp, dword [ebx + 0x6f], 0x74536564
jb 0x57001dc5
outsb dx, byte [esi]
add al, 0
add byte [eax], al
pop eax
pop es
add edx, dword [edi + 0x4a]
add byte [eax], al
add byte [eax + 7], bl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001de5
jae 0x57001d08
jl 0x57001d97
add byte [edi + 0x11], dl
or edx, dword [esp + eax*2 + 0x41]
dec ecx
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x6f], 0x77
outsb dx, byte [esi]
add al, 0
add byte [eax], al
inc esp
pop es
add edx, dword [edi + 0xd]
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or byte [ebp + 0x61], ch
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or eax, 0x44000000
inc esp
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e10
jae 0x57001d2e
shr byte [eax + 0x1157001d], 8
adc dword [eax], ecx
push esp
inc esp
inc ecx
dec ecx
outsb dx, byte [esi]
je 0x57001de7
xor al, 8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], dl
add byte [eax], al
add byte [eax], al
adc al, 0
add byte [eax], al
pushal
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e39
jae 0x57001d5c
and al, 0x1e
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + ebx], ah
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], dh
push ds
add byte [edi + 0x1c], dl
add byte [eax], al
add byte [edi + eax + 3], cl
push edi
mov byte [eax], dl
add byte [edi - 0x70], dl
adc byte [eax], al
push edi
test al, 0x10
add byte [edi - 0x60], dl
adc byte [eax], al
push edi
mov eax, 0xc0570010
adc byte [eax], al
push edi
enter 0x10, 0x57
mov al, 0x10
add byte [edi + 0x60], dl
adc byte [eax], al
push edi
push 0xac570010
push ds
add byte [edi + 0xe], dl
push cs
inc ebp
js 0x57001ea0
jo 0x57001eb4
imul ebp, dword [edi + 0x6e], 0x1e4890
push edi
int1
invalid
jl 0x57001e95
invalid
fimul dword [ebx + 0xc468bf0]
Function at 0x57001d7c
Capabilities:
Packed with generic packer

Disassembly:
pop es
add edx, dword [edi + 0x48]
add byte [eax], al
add byte [eax + 7], dl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001d8a
jae 0x57001d3d
sbb eax, 0xd115700
push esp
inc esp
inc ecx
push edi
imul esp, dword [ebp + 0x53], 0x6e697274
add al, 0
add byte [eax], al
push esp
pop es
add edx, dword [edi + 8]
add byte [eax], al
add byte [edi + eax + 3], dl
push edi
or byte [ebp + 0x61], ch
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001db6
jae 0x57001d95
sbb eax, 0x10115700
push esp
inc esp
inc ecx
push ebp
outsb dx, byte [esi]
imul esp, dword [ebx + 0x6f], 0x74536564
jb 0x57001dc5
outsb dx, byte [esi]
add al, 0
add byte [eax], al
pop eax
pop es
add edx, dword [edi + 0x4a]
add byte [eax], al
add byte [eax + 7], bl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001de5
jae 0x57001d08
jl 0x57001d97
add byte [edi + 0x11], dl
or edx, dword [esp + eax*2 + 0x41]
dec ecx
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x6f], 0x77
outsb dx, byte [esi]
add al, 0
add byte [eax], al
inc esp
pop es
add edx, dword [edi + 0xd]
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or byte [ebp + 0x61], ch
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or eax, 0x44000000
inc esp
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e10
jae 0x57001d2e
shr byte [eax + 0x1157001d], 8
adc dword [eax], ecx
push esp
inc esp
inc ecx
dec ecx
outsb dx, byte [esi]
je 0x57001de7
xor al, 8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], dl
add byte [eax], al
add byte [eax], al
adc al, 0
add byte [eax], al
pushal
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e39
jae 0x57001d5c
and al, 0x1e
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + ebx], ah
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], dh
push ds
add byte [edi + 0x1c], dl
add byte [eax], al
add byte [edi + eax + 3], cl
push edi
mov byte [eax], dl
add byte [edi - 0x70], dl
adc byte [eax], al
push edi
test al, 0x10
add byte [edi - 0x60], dl
adc byte [eax], al
push edi
mov eax, 0xc0570010
adc byte [eax], al
push edi
enter 0x10, 0x57
mov al, 0x10
add byte [edi + 0x60], dl
adc byte [eax], al
push edi
push 0xac570010
push ds
add byte [edi + 0xe], dl
push cs
inc ebp
js 0x57001ea0
jo 0x57001eb4
imul ebp, dword [edi + 0x6e], 0x1e4890
push edi
int1
invalid
jl 0x57001e95
invalid
fimul dword [ebx + 0xc468bf0]
Function at 0x57001da8
Capabilities:
Packed with generic packer

Disassembly:
pop es
add edx, dword [edi + 0x48]
add byte [eax], al
add byte [eax + 7], dl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001d8a
jae 0x57001d3d
sbb eax, 0xd115700
push esp
inc esp
inc ecx
push edi
imul esp, dword [ebp + 0x53], 0x6e697274
add al, 0
add byte [eax], al
push esp
pop es
add edx, dword [edi + 8]
add byte [eax], al
add byte [edi + eax + 3], dl
push edi
or byte [ebp + 0x61], ch
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001db6
jae 0x57001d95
sbb eax, 0x10115700
push esp
inc esp
inc ecx
push ebp
outsb dx, byte [esi]
imul esp, dword [ebx + 0x6f], 0x74536564
jb 0x57001dc5
outsb dx, byte [esi]
add al, 0
add byte [eax], al
pop eax
pop es
add edx, dword [edi + 0x4a]
add byte [eax], al
add byte [eax + 7], bl
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001de5
jae 0x57001d08
jl 0x57001d97
add byte [edi + 0x11], dl
or edx, dword [esp + eax*2 + 0x41]
dec ecx
push ebp
outsb dx, byte [esi]
imul ebp, dword [esi + 0x6f], 0x77
outsb dx, byte [esi]
add al, 0
add byte [eax], al
inc esp
pop es
add edx, dword [edi + 0xd]
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or byte [ebp + 0x61], ch
add byte [eax], al
add byte [edi + eax + 3], al
push edi
or eax, 0x44000000
inc esp
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e10
jae 0x57001d2e
shr byte [eax + 0x1157001d], 8
adc dword [eax], ecx
push esp
inc esp
inc ecx
dec ecx
outsb dx, byte [esi]
je 0x57001de7
xor al, 8
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], dl
add byte [eax], al
add byte [eax], al
adc al, 0
add byte [eax], al
pushal
pop es
add edx, dword [edi + 8]
insd dword es:[edi], dx
popal
push esp
jns 0x57001e39
jae 0x57001d5c
and al, 0x1e
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + ebx], ah
add byte [edi], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], dh
push ds
add byte [edi + 0x1c], dl
add byte [eax], al
add byte [edi + eax + 3], cl
push edi
mov byte [eax], dl
add byte [edi - 0x70], dl
adc byte [eax], al
push edi
test al, 0x10
add byte [edi - 0x60], dl
adc byte [eax], al
push edi
mov eax, 0xc0570010
adc byte [eax], al
push edi
enter 0x10, 0x57
mov al, 0x10
add byte [edi + 0x60], dl
adc byte [eax], al
push edi
push 0xac570010
push ds
add byte [edi + 0xe], dl
push cs
inc ebp
js 0x57001ea0
jo 0x57001eb4
imul ebp, dword [edi + 0x6e], 0x1e4890
push edi
int1
invalid
jl 0x57001e95
invalid
fimul dword [ebx + 0xc468bf0]
Function at 0x57005204
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x570052a4
test ebp, ebp
setl byte [esp]
mov eax, edi
xor ecx, ecx
mov edx, 0xb
call sub.rtl120.bpl__System__LStrSetLength_qqrv
mov esi, 0xb
mov eax, ebp
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
mov ecx, 0xa
mov eax, ebp
cdq
idiv ecx
mov ebp, eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
add bl, 0x30
mov byte [eax + esi - 1], bl
dec esi
test ebp, ebp
jne 0x5700522e
cmp byte [esp], 0
je 0x57005273
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x570052b0
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
push eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call sub.rtl120.bpl__System_Move_qqrpxvpvi
mov edx, ebx
mov eax, edi
xor ecx, ecx
call sub.rtl120.bpl__System__LStrSetLength_qqrv
jmp 0x570052b0
mov eax, edi
mov edx, 0x570052c4
call sub.rtl120.bpl__System__LStrAsg_qqrpvpxv
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x570052c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x5700536b
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call sub.rtl120.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov ecx, 0xa
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
add bp, 0x30
mov word [eax + esi*2 - 2], bp
dec esi
test ebx, ebx
jne 0x570052f0
cmp byte [esp], 0
je 0x57005339
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
mov word [eax + esi*2 - 2], 0x2d
dec esi
test esi, esi
jle 0x57005377
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
push eax
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringU_qqrr20System_UnicodeString
lea eax, [eax + esi*2]
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
add ecx, ecx
pop edx
call sub.rtl120.bpl__System_Move_qqrpxvpvi
mov edx, ebx
mov eax, edi
call sub.rtl120.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
jmp 0x57005377
mov eax, edi
mov edx, 0x5700538c
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x57006a04
Capabilities:
Get geographical location

Disassembly:
push ecx
cmp byte [0x57024388], 0
jne 0x57006a38
push 2
lea eax, [esp + 4]
push eax
push 0xe
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x57006a31
movzx eax, byte [esp]
mov byte [0x57024388], al
jmp 0x57006a38
mov byte [0x57024388], 0x2c
movzx eax, byte [0x57024388]
pop edx
ret
Function at 0x57006a44
Capabilities:
Get geographical location

Disassembly:
push ecx
cmp word [0x5702438c], 0
jne 0x57006a7c
push 2
lea eax, [esp + 4]
push eax
push 0xe
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x57006a73
movzx eax, word [esp]
mov word [0x5702438c], ax
jmp 0x57006a7c
mov word [0x5702438c], 0x2c
movzx eax, word [0x5702438c]
pop edx
ret

Function at 0x5700792b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov dword [ebp + 0x74], 0x5702516c
mov dword [ebp + 0x24], 0
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x64]
push edx
call fcn.57007e0b
add esp, 8
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x20]
push eax
call fcn.57007d5b
add esp, 0x10
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x18]
push edx
push 0
call dword [ebp + 0x20]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x20]
push eax
call fcn.57007d5b
add esp, 0x10
mov dword [ebp + 0x1c], eax
push 0x104
mov ecx, dword [ebp + 0x60]
push ecx
push 0
call dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x58]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
movzx ecx, word [eax + edx*2 - 2]
mov edx, dword [ebp + 0x74]
movzx eax, word [edx + 0xc]
cmp ecx, eax
je 0x570079fe
xor ecx, ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0x68]
sub ecx, 1
mov dword [ebp + 0x68], ecx
jmp 0x570079d1
mov dword [ebp + 0x58], 0
Function at 0x57007d5b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x57007db3
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x57007dfb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.57007ceb
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x57007df9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x57007dfd
jmp 0x57007daa
xor eax, eax
mov esp, ebp
pop ebp

Function at 0x57007e0b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x57007e82
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.5700789b
add esp, 4
cmp dword [ebp + 8], eax
jne 0x57007e78
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
jmp 0x57007e84
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x57007e4e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5700c0bc
Capabilities:
Check os version

Disassembly:
add eax, dword [edi]
push esp
dec edi
jae 0x5700c107
outsb dx, byte [esi]
jne 0x5700c132
add dword [eax], eax
add byte [eax], al
add byte [0xb8000000], dl
rol byte [eax], 0x57
push es
outsd dx, dword [esi]
jae 0x5700c124
outsd dx, dword [esi]
outsb dx, byte [esi]
pop es
outsd dx, dword [esi]
jae 0x5700c134
imul ebp, dword [esi + 0x39], 0x736f0b35
push edi
imul ebp, dword [esi + 0x39], 0x72736f35
xor al, byte [edi]
outsd dx, dword [esi]
jae 0x5700c148
imul ebp, dword [esi + 0x39], 0x736f0938
push edi
imul ebp, dword [esi + 0x39], 0x7657338
outsd dx, dword [esi]
jae 0x5700c15a
imul ebp, dword [esi + 0x4d], 0x736f0a45
or ch, byte [edi + 0x73]
push edi
imul ebp, dword [esi + 0x39], 0x77654e78
or ch, byte [edi + 0x73]
push edi
imul ebp, dword [esi + 0x4e], 0x646c4f74
or byte [edi + 0x73], ch
push edi
imul ebp, dword [esi + 0x4e], 0x6f073474
je 0x5700c15a
pop es
outsd dx, dword [esi]
jae 0x5700c181
imul ebp, dword [esi + 0x32], 0x736f076b
push edi
imul ebp, dword [esi + 0x58], 0x736f0950
pop eax
push eax
or dword [edi + 0x73], ebp
outsd dx, dword [esi]
jae 0x5700c191
push edi
imul ebp, dword [esi + 0x32], 0xa333030
outsd dx, dword [esi]
jae 0x5700c19b
imul ebp, dword [esi + 0x56], 0x61747369
jae 0x5700c1be
popal
or dword [edi + 0x73], ebp
push edi
imul ebp, dword [esi + 0x32], 0x6383030
outsd dx, dword [esi]
jae sym.madBasic_.bpl___xp_12Madtools_TOS
imul ebp, dword [esi + 0x37], 0x57736f0b
outsb dx, byte [esi]
aaa
or ebp, dword [edi + 0x73]
push edi
imul ebp, dword [esi + 0x32], 0x72383030
xor al, byte [esi]
outsd dx, dword [esi]
jae 0x5700c1c3
imul ebp, dword [esi + 0x38], 0x57736f09
imul ebp, dword [esi + 0x32], 0x7323130
outsd dx, dword [esi]
jae 0x5700c1d4
imul ebp, dword [esi + 0x38], 0x736f0b31
or ebp, dword [edi + 0x73]
push edi
imul ebp, dword [esi + 0x32], 0x72323130
xor al, byte [edi]
outsd dx, dword [esi]
jae 0x5700c1e8
imul ebp, dword [esi + 0x31], 0x736f0a30
push edi
imul ebp, dword [esi + 0x4e], 0x77654e74
or byte [ebp + 0x61], ch
dec esi
je 0x5700c1ec
ja 0x5700c1a9
insd dword es:[edi], dx
popal
push esp
outsd dx, dword [esi]
outsd dx, dword [esi]
insb byte es:[edi], dx
jae 0x5700c137
lea eax, [eax]
mov al, 0xc1
add byte [edi + 0xe], dl
push cs
inc eax
add byte [eax + 0xe5700c1], dh
push cs
add byte [eax], al
pop eax
pop es
add byte [eax], al
outsd dx, dword [esi]
cmp dword [0x52534f20], esi
Function at 0x5700c310
Capabilities:
Check os version

Disassembly:
or byte [0x67734d54], cl
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
jb 0x5700c36d
dec edi
add byte [0x69770600], al
outsb dx, byte [esi]
outsd dx, dword fs:[esi]
ja 0x5700c32e
dec eax
push edi
dec esi
inc esp
add byte [ebx], al
insd dword es:[edi], dx
jae 0x5700c39a
or byte [ebx + 0x61], al
jb 0x5700c39c
imul ebp, dword [esi + 0x61], 0x7706006c
push eax
popal
jb 0x5700c3a4
insd dword es:[edi], dx
pop es
dec ecx
outsb dx, byte [esi]
je 0x5700c3ae
jb 0x5700c34d
push es
insb byte es:[edi], dx
push eax
popal
jb 0x5700c3b4
insd dword es:[edi], dx
pop es
dec ecx
outsb dx, byte [esi]
je 0x5700c3be
jb 0x5700c35e
push es
jb 0x5700c3c5
jae 0x5700c3d7
insb byte es:[edi], dx
je 0x5700c36c
dec ecx
outsb dx, byte [esi]
je 0x5700c3ce
jb 0x5700c36d
add byte [edx + 0x7645700], ch
sub al, 0x15
add byte [edi + 0x64], dl
pop es
add edx, dword [edi + 0x70]
pop es
add edx, dword [edi + 0x70]
pop es
add edx, dword [edi + 0x70]
pop es
add edx, dword [edi - 0x73]
inc eax
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
rcl byte [ebp + 0x68], 0xc8
enter 0x5700, 0x64
push dword [eax]
add dl, byte [edi]
add eax, 0x57024468
add eax, ebp
pop ebx
push ebx
invalid
sbb al, 1
add byte [eax], al
Function at 0x5700d7f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5700d8b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call sub.rtl120.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5700d8a2
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call sub.rtl120.bpl__System__LStrSetLength_qqrv
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call sub.rtl120.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x5700d8a2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5700d8cc
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5700d8a2
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5700d8bf
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__LStrClr_qqrpv
ret
Function at 0x5700d8d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5700d9ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x5700d92c
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call sub.rtl120.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x20]
call dword [sym.madBasic_.bpl__Madtools_GetFileVersionA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x5700d9b0
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5700d9b0
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call sub.rtl120.bpl__System__LStrSetLength_qqrv
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5700d9b0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5700d9e0
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5700d9b0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5700d9d5
lea eax, [ebp - 0x20]
call sub.rtl120.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__LStrClr_qqrpv
ret