joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e7d
Capabilities:
Encode data using xor

Disassembly:
mov ah, bl
cmc
mov bl, byte [ecx + 0x3d]
pmaxub mm1, mm1
wait
inc edx
sub al, 0x39
test dword [edx - 0x21], eax
rol dword [eax], 1
add al, 0x8a
xchg esp, eax
push esp
scasb al, byte es:[edi]
push eax
and edx, dword [ebp + esi*4 - 0x4e4c1df1]
xchg ebp, eax
nop
invalid
mov gs, word [eax + 0x3d]
sbb dword [edx + 0x5b3c5a74], edi
or dword fs:[0xc0ef14be], esi
clc
jb 0x408daa
sbb al, bl
ljmp 0x1da8
cmpsb byte [esi], byte es:[edi]
jle 0x408d55
sbb eax, 0x2f86e9c0
or byte es:[ecx], al
inc ebp
push 0x17280f14
sbb ah, byte [eax]
aas
push ds
sbb al, byte [ebp + 0x3b]
fnstenv [esi]
clc
invalid
jmp 0x408d91
xchg edi, eax
sahf
aam 0x58
add dword [ecx + 0x41], esp
popal
inc ecx
jb 0x408e0f
popal
sal al, 0xc9
leave
stosd dword es:[edi], eax
xor eax, 0xe48f8202
rol dh, 1
xor al, ch
test al, 0x87
popal
das
sbb al, 0x33
xor eax, eax
jne 0x408e82
mov eax, 0x29f4f17f
add dh, bl
xchg ebp, eax
pushal
lea eax, [edx]
leave
mov bl, 0x7b
sbb byte [0x40037d30], al
je 0x408f0c
adc dword [eax + 0x68c1d47d], 0xffffffc5
or al, 0x15
jno 0x408e89
nop
movsd dword es:[edi], dword [esi]
test al, 0xf9
xor dword [eax + esi*4 - 0x52ab3470], edx
ret 0x9503
push cs
inc esi
inc dword [edi + 0x24]
add eax, 0x8533a557
xchg ecx, eax
mov ch, 0x52
jg 0x408f22
xor al, 0x73
fisubr word [edx - 0x58]
cmp eax, 0xef24850b
test al, 0x3d
or eax, dword [ebp + 0x647def24]
test dword [edi + ebp*8], esp
jge 0x408f8e
dec edi
nop
push ecx
rcl dword [eax + 3], 0x95
xor ch, byte [0xa5509fb5]
pop edx
mov ebp, 0x9f698b14
insd dword es:[edi], dx
jmp 0xeda28dc8
or ebx, edi
enter 0xffffffffffffadd5, 0xffffffffffffffc3
and byte [0xe30940d], ch
nop
lodsd eax, dword [esi]
inc edi
enter 0x6dd1, 0xffffffffffffff94
lahf
salc
xchg ebx, eax
popfd
cmpsd dword [esi], dword es:[edi]
add eax, 0x94804474
and byte [ebp + 0x45650e2e], ch
xor eax, dword [0x482bab10]
mov cl, 0xbc
adc byte [0x64f990a9], 0xae
invalid
call dword [edi + 0x5d]
jns 0x408f44
in al, 0x7f
in al, 0x71
adc al, 4
pop ds
and bl, bh
jp 0x408f25
clc
lds ebx, [ebx - 0x77ba5a5f]
insd dword es:[edi], dx
shl byte [edx - 0x41d74f10], 0x32
xchg ebx, eax
and eax, 0xd93d6440
test al, 0xbf
aad 0x88
insd dword es:[edi], dx
inc ecx
invalid
Function at 0x419010
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x214
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x224]
push esi
push edi
push 0x104
push eax
push ecx
mov word [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.AnyMediaPlayer
push 0
push 0x1f0001
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x419095
push 0
push str.TAnyMediaPlayerMainForm
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x4190a4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x3e8
push 0x3e8
push 0x4c9
push esi
call edi
test eax, eax
jle 0x41908a
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0x4a
push esi
call edi
jmp 0x4190a4
push str.AnyMediaPlayer
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test ebx, ebx
je 0x41913b
cmp ebx, 0x104
jne 0x4190bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41913b
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x41913b
push edi
call fcn.004c2ceb
mov esi, eax
add esp, 4
test esi, esi
je 0x41913b
mov ecx, dword [esp + 0x14]
push esi
push edi
lea edx, [esp + 0x24]
push ecx
push edx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x419123
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x419123
mov edx, dword [esp + 0x10]
mov ebx, 1
mov ax, word [edx]
mov word [ebp], ax
push esi
call fcn.004c2ce0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret 8

Function at 0x445e65
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0x389393d6
sal dword [edx + 0x4697e646], 1
cli
invalid
mov dword [0xf79d6e3a], eax
and eax, 0x27c6f494
pop eax
dec esp
mov byte [ebx + 0x18], 0xac
xlatb
rcl byte [esi], cl
jns 0x445e46
fdivr st(4)
mov edi, 0x8262a2e5
stc
pop ebx
mov dword [eax + 0x1c47b5de], eax
invalid

Function at 0x476175
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
fstp qword [ebx]
out 0xbc, eax
add dword [edx], edx
salc
xor byte [ebx + 0x55455b7], ah
out 0x2e, eax
add al, 0x1e
adc dword [eax + 0x62951bfb], ebx
cmp byte [edi - 0x745d8b54], bh
mov byte [0x246fb68b], al
mov ecx, 0x696cc63
mov byte [0x246fb68b], al
mov ecx, 0x696cc63
pop ebx
pop ds
mov dh, 0x5f
das
das
adc ebx, edi
loop 0x476159
aaa
enter 0xfffffffffffff408, 0x29
dec esp
popfd
or byte [ebp + 0x1d], dh
xor al, 0xc9
invalid
Function at 0x4966c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sbb byte [eax], al
fcom dword [esi + 0x57]
mov esi, eax
lea edi, [ebp]
add byte [ebp - 0xf38a01], ah
fild dword [eax]
lea eax, [ebp - 0x18]
call 0x4f2b31
add byte [ebp - 0x18], al
call 0x7a2c71
xchg ebp, eax
xor byte [eax], al
fistp qword [ebp - 0x20]
wait
lea eax, [ebp - 8]
add byte [eax], al
add dword [eax], eax
add al, ch
salc
inc edi
add byte [eax], al
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
add byte [eax], al
fcomp st(7)
insd dword es:[edi], dx
loopne 0x4966e6
mov byte [eax], 0xc4
clc
fistp qword [esp]
wait
lea eax, [eax]
add al, ch
sub eax, 0xd50005c5
add al, ch
call 0x4f2c09
fld qword [eax]
add byte [ebx + 0x5ff045dd], bl
sub byte [eax], al
in eax, 0x5d
ret 8

Function at 0x4a9fc1
Capabilities:
Encode data using xor

Disassembly:
push edi
in al, dx
dec ecx
enter 0xffffffffffffbda5, 0xffffffffffffffe1
adc byte [eax - 0x4bc33f14], bl
pop esp
mov ah, 0x5c
invalid
add byte [edi + 0x3a43101a], 6
mov edi, dword [ecx]
jb 0x4aa03f
stc
mov bl, 0x31
mov al, byte [0x75162ce]
add ebp, dword [edi + 0x59743dc2]
in al, 0xb9
in al, 0x6f
xor eax, 0xff037b3f
xor dword [ecx + 0x4a611695], esi
xchg ebx, eax
inc ecx
test dword [ebx - 0x67d01f16], 0x3f5cea23
pop ecx
mov eax, 0xb8a5cf20
xchg edx, eax
insb byte es:[edi], dx
pop ds
das
mov byte [0xe06ec25c], al
jns 0x4a9fda
stosd dword es:[edi], eax
dec ecx
pushfd
sbb bl, byte [edi + 0x30]
jbe 0x4a9fa7
add dword [edx], ebp
pop esi
push 0xd0612ea1
jne 0x4a9f9b
dec esi
les edx, [eax + edi*8 - 0x6f]
xlatb
dec edi
sub byte [edx], dl
push eax
in al, 0x20
in eax, dx
cmp dh, byte [esi - 0xe]
or byte [0xf40b1a33], ah
wait
pop ecx
lodsd eax, dword [esi]
sar byte [ebx - 0x5c], 1
nop
ret 0x5b05
push ebx
cwde
mov dh, 0x96
cmp dword [edx], edx
cmp eax, 0x313a4e33
outsb dx, byte [esi]
mov edi, 0xf8836f7d
cmpsb byte [esi], byte es:[edi]
push 0xffffffffffffffff
lds ebx, [ebx - 0x54]
cdq
mov ecx, 0xa9603a79
inc ebx
faddp st(6)
scasb al, byte es:[edi]
or al, 0x9c
push ebx
int 0xa1
push ebx
enter 0x413c, 0xffffffffffffffa6
pop ebx
movsd dword es:[edi], dword [esi]
mov dh, 0x66
push ebx
mov edx, 0xe3c6d6b5
fisub dword [esi + 0xc300dbb]
mov eax, dword [0x3681792]
cmp al, 0x29
push esi
and eax, 0x50f0ee46
scasd eax, dword es:[edi]
fidivr dword [esi]
shr dword [edx - 0x3d597762], 1
mov edx, 0x3c28730e
and byte [eax - 0x308291a5], bh
outsb dx, byte [esi]
jge 0x4aa06b
sub ecx, dword [edx + ebx*4 - 0x154dcf72]
cmpsd dword [esi], dword es:[edi]
test al, 0x8a
invalid
Function at 0x4c3dfd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c9360
cmp edx, dword [eax]
je 0x4c3e1f
add eax, 8
inc ecx
cmp eax, 0x4c93f0
jl 0x4c3e10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c9360]
jne 0x4c3f4d
mov eax, dword [0x4cda2c]
cmp eax, 1
je 0x4c3f27
test eax, eax
jne 0x4c3e50
cmp dword [0x4c92a0], 1
je 0x4c3f27
cmp edx, 0xfc
je 0x4c3f4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c3e87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c52c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c53b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c3eca
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c53b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c7704
push edi
call fcn.004c5d10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c52c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c52d0
lea eax, [ebp - 0xa0]
push 0x4c76e4
push eax
call fcn.004c52d0
push dword [esi + 0x4c9364]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c52d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c5c7f
add esp, 0x2c
pop edi
jmp 0x4c3f4d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c9364]
push 0
push eax
push dword [esi]
call fcn.004c53b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x3f51b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x3f51cf
mov eax, 1
pop ebx
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x3f527b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x3f527b
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x3f5207
pop edi
mov eax, 1
pop ebx
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x3f5272
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x3f5272
movzx eax, word [esi + 0x46]
test ax, ax
je 0x3f5272
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.0041b899
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x3f524e
pop edi
mov eax, 3
pop ebx
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
push ebx
lea ecx, [edx + ecx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
pop edi
inc eax
pop ebx
pop ebp
ret
pop edi
mov eax, 2
pop ebx
pop ebp
ret
mov eax, 2
pop ebx
pop ebp
ret
Function at 0x3f72a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x3f72ae
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x3f738d
mov esi, edx
shr esi, 3
push edi
jmp 0x3f72d0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x438530]
add ecx, 8
sub edx, 8
dec esi
jne 0x3f72d0
pop edi
test edx, edx
je 0x3f73aa
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x438530]
inc ecx
dec edx
jne 0x3f7391
not eax
pop esi
pop ebp
ret

Function at 0x3f73b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x438530]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x438530]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x3f7400
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x438530]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x438530]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x409f10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f42b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4456f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x43c544
call fcn.0041b58b
push 4
mov dword [ebp - 4], 0
call fcn.0041c381
mov edi, eax
add esp, 4
test edi, edi
je 0x409f90
call fcn.0041b1cb
mov dword [edi], eax
call fcn.0041af8a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041aebf
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409f86
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041aee7
jmp 0x409f92
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ab00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4456f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x40ac21
cmp byte [edi + 0x49], bl
je 0x40ac21
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x40ac15
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x40ab75
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x40ab8d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40abb6
dec eax
je 0x40abba
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x40ac10
jmp 0x40ac1c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x40abca
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x40abf3
cmp ebx, 0x10
jae 0x40abd9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0041da64
add esp, 0x10
cmp esi, eax
jne 0x40ac0d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x40ac19
test esi, esi
jne 0x40ab81
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.003fbd70
jmp 0x40ab7b
lea ecx, [ebp - 0x2c]
call fcn.003f5c90
xor al, al
jmp 0x40ac23
lea ecx, [ebp - 0x2c]
call fcn.003f5c90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b88a
mov esp, ebp
pop ebp
ret

Function at 0x40fd10
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4456f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xfe
lea eax, [ebp - 0x103]
push 0
push eax
mov dword [ebp - 0x20c], 0xff
mov byte [ebp - 0x104], 0
call fcn.0041b810
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
push 0x20119
push 0
push 0x43c634
push 0x80000002
call dword [0x457f60]
test eax, eax
jne 0x40fd90
mov ecx, dword [ebp - 0x208]
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x43c664
push ecx
call dword [0x457f44]
mov edx, dword [ebp - 0x208]
push edx
call dword [0x457fe8]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [0x457e9c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
lea eax, [ebp - 0x204]
call fcn.0041b88a
mov esp, ebp
pop ebp
ret
Function at 0x411240
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fd80
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4456f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x43c764
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], 0
call dword [0x457fec]
mov esi, eax
push 8
push esi
call dword [0x457f80]
push 0xa
push esi
mov edi, eax
call dword [0x457f80]
push esi
xor esi, esi
push esi
mov ebx, eax
call dword [0x45803c]
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x81]
call fcn.00415050
mov ebx, eax
push edi
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x81]
mov dword [ebp - 4], esi
call fcn.00415050
push eax
lea eax, [ebp - 0x48]
push 0x43c622
push eax
mov byte [ebp - 4], 1
call fcn.003f6410
push 0x43c76c
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 2
call fcn.003fe930
push ebx
mov ebx, dword [ebp - 0x88]
push eax
push ebx
mov byte [ebp - 4], 3
call fcn.003f6460
mov edi, 0x10
add esp, 0x24
cmp dword [ebp - 0x18], edi
jb 0x41132a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041b7ab
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], edi
jb 0x411349
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041b7ab
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], edi
jb 0x411368
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0041b7ab
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x6c], edi
jb 0x411387
mov edx, dword [ebp - 0x80]
push edx
call fcn.0041b7ab
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b88a
mov esp, ebp
pop ebp
ret 4
Function at 0x411670
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fe59
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4456f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x43c623
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], esi
mov byte [esi], bl
call fcn.003f6220
push 0x1e
push 0x43c7b0
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 1
call fcn.003f6220
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call dword [0x4580b4]
push eax
call dword [0x458058]
test eax, eax
je 0x4116fb
mov eax, 0x43c728
cmp dword [ebp - 0x30], ebx
jne 0x411700
mov eax, 0x43c72c
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.003fe980
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.003f6360
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], bl
jb 0x411732
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041b7ab
add esp, 4
push 0x43c7d0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.003fe980
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.003f6360
cmp dword [ebp - 0x18], 0x10
jb 0x411765
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041b7ab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b88a
mov esp, ebp
pop ebp
ret 4
Function at 0x417c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x417c9e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x417d7d
mov esi, edx
shr esi, 3
push edi
jmp 0x417cc0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43cdf0]
add ecx, 8
sub edx, 8
dec esi
jne 0x417cc0
pop edi
test edx, edx
je 0x417d9a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43cdf0]
inc ecx
dec edx
jne 0x417d81
not eax
pop esi
pop ebp
ret

Function at 0x417da0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43cdf0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x43cdf0]
mov dword [edx + 8], ecx
pop ebp
ret