joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4234c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov ecx, esi
cmp dword [esi], 0
jge 0x42351b
mov edx, 0x8b1f
call fcn.00424000
mov edx, 0x808
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 4]
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 6]
mov ecx, esi
call fcn.00424000
mov edx, 0xb02
mov ecx, esi
call fcn.00424000
mov eax, dword [edi + 0x20]
lea edx, [edi + 0x48]
inc eax
mov ecx, esi
push eax
call fcn.004240c0
add esp, 4
pop edi
pop esi
pop ebx
ret
mov edx, 0x4034b50
call fcn.00424000
mov edx, 0x403
mov ecx, esi
call fcn.00424000
mov edx, 0x2d
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 0x30]
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 2]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 4]
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 6]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 0xa]
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x20]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x24]
mov ecx, esi
add edx, 0x14
call fcn.00424000
push dword [edi + 0x20]
lea edx, [edi + 0x48]
mov ecx, esi
call fcn.004240c0
add esp, 4
mov edx, 1
mov ecx, esi
call fcn.00424000
mov edx, 0x10
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x18]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x18]
mov ecx, esi
mov eax, dword [edi + 0x1c]
shrd edx, eax, 0x10
call fcn.00424000
mov eax, dword [edi + 0x18]
mov cl, 0x20
mov edx, dword [edi + 0x1c]
call fcn.004d21e0
mov edx, eax
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 0x1e]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x10]
mov ecx, esi
mov eax, dword [edi + 0x14]
shrd edx, eax, 0x10
call fcn.00424000
mov eax, dword [edi + 0x10]
mov cl, 0x20
mov edx, dword [edi + 0x14]
call fcn.004d21e0
mov edx, eax
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 0x16]
mov ecx, esi
call fcn.00424000
mov eax, dword [edi + 0x24]
test eax, eax
je 0x423671
mov edx, dword [edi + 0x40]
mov ecx, esi
push eax
call fcn.004240c0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x423e50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x423e57
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
not ecx
cmp esi, 8
jb 0x423f17
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
sub edi, 1
jne 0x423e70
pop edi
test esi, esi
je 0x423f3a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
sub esi, 1
jne 0x423f20
not ecx
mov eax, ecx
pop esi
ret

Function at 0x423f40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x4dd5f8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4dd5f8]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x423f90
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
movsx ecx, dl
push esi
push edi
mov edx, dword [ebx]
mov eax, edx
xor eax, ecx
mov esi, dword [ebx + 8]
movzx eax, al
mov edi, esi
shr edx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [eax*4 + 0x4dd5f8]
xor eax, edx
mov dword [ebx], eax
movzx eax, al
add eax, dword [ebx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x4dd5f8]
mov eax, edi
xor eax, 1
mov dword [ebx + 8], esi
imul eax, edi
pop edi
pop esi
pop ebx
shr eax, 8
xor al, cl
ret
Function at 0x424000
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x20], 0
jne 0x4240bb
mov eax, dword [edi]
push ebx
mov ebx, edx
mov byte [esp + 8], dl
shr ebx, 8
mov byte [esp + 9], bl
test al, 0x10
je 0x424042
push esi
lea ecx, [edi + 0x38]
call fcn.00423f90
mov dl, bl
mov byte [esp + 0xc], al
lea ecx, [edi + 0x38]
call fcn.00423f90
mov byte [esp + 0xd], al
mov eax, dword [edi]
pop esi
pop ebx
test al, 1
je 0x424083
mov edx, dword [edi + 0x28]
mov ecx, edx
mov eax, dword [edi + 0x2c]
add ecx, 2
adc eax, 0
cmp eax, dword [edi + 0x34]
jb 0x42406d
ja 0x424061
cmp ecx, dword [edi + 0x30]
jb 0x42406d
mov dword [edi + 0x20], 0xb
pop edi
add esp, 8
ret
mov ecx, dword [edi + 4]
mov ax, word [esp + 4]
mov word [edx + ecx], ax
add dword [edi + 0x28], 2
adc dword [edi + 0x2c], 0
jmp 0x4240ac
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4240a5
cmp dword [esp + 8], 2
je 0x4240ac
mov dword [edi + 0x20], 3
test dword [edi], 0x40000000
je 0x4240bb
mov dword [edi + 0x20], 0x14
pop edi
add esp, 8
ret

Function at 0x4240c0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x4241cf
cmp dword [esi + 0x20], 0
jne 0x4241cf
test byte [esi], 0x10
je 0x42415d
mov ecx, dword [esi + 0x44]
mov eax, ecx
test ecx, ecx
je 0x424100
cmp dword [esi + 0x48], ebx
jae 0x424100
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x44], 0
xor eax, eax
test eax, eax
jne 0x424126
lea eax, [ebx + ebx]
push eax
push 0
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x44], eax
test eax, eax
jne 0x424126
mov dword [esi + 0x20], 2
jmp 0x4241c0
push ebx
push edi
push eax
call fcn.004b9800
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x42415a
push ebp
nop dword [eax + eax]
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x38]
mov dl, byte [eax + edi]
call fcn.00423f90
mov ecx, dword [esi + 0x44]
mov byte [edi + ecx], al
inc edi
cmp edi, ebx
jb 0x424140
pop ebp
mov edi, dword [esi + 0x44]
test byte [esi], 1
je 0x42419d
mov edx, dword [esi + 0x28]
mov ecx, edx
mov eax, dword [esi + 0x2c]
add ecx, ebx
adc eax, 0
cmp eax, dword [esi + 0x34]
jb 0x424184
ja 0x42417b
cmp ecx, dword [esi + 0x30]
jb 0x424184
mov dword [esi + 0x20], 0xb
jmp 0x4241c0
mov eax, dword [esi + 4]
push ebx
add eax, edx
push edi
push eax
call fcn.004b9800
add esp, 0xc
add dword [esi + 0x28], ebx
adc dword [esi + 0x2c], 0
jmp 0x4241c0
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4241b9
cmp dword [esp + 0x10], ebx
je 0x4241c0
mov dword [esi + 0x20], 3
test dword [esi], 0x40000000
je 0x4241cf
mov dword [esi + 0x20], 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x424310
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov eax, dword [esi]
test eax, 0x40000000
je 0x42432f
pop edi
mov dword [esi + 0x20], 0x14
xor eax, eax
pop esi
pop ebx
pop ecx
ret
test al, al
jns 0x42437a
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x68]
cmp eax, dword [esi + 0x6c]
ja 0x42439a
jb 0x424347
cmp ecx, edi
jae 0x42439a
mov eax, dword [esp + 0x14]
sub edi, ecx
mov dword [esp + 0xc], edi
push ebp
mov ebp, edi
cmp edi, eax
jbe 0x424360
mov edi, eax
mov ebp, eax
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x64]
push edi
add eax, ecx
push eax
push ebx
call fcn.004b9800
add esp, 0xc
add dword [esi + 0x70], ebp
adc dword [esi + 0x74], 0
pop ebp
jmp 0x4243a5
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push ebx
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4243a1
mov dword [esi + 0x20], 7
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [esp + 0xc]
add dword [esi + 0x58], edi
mov edx, ebx
mov ecx, dword [esi + 0x60]
adc dword [esi + 0x5c], 0
push edi
call fcn.00423e50
add esp, 4
mov dword [esi + 0x60], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x426630
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
test eax, eax
je 0x4267b4
cmp dword [eax + 0x18], 0
jne 0x4267b4
cmp dword [eax + 0x3c], 0
je 0x4267b4
cmp dword [eax + 0x1c], 0
je 0x4267b4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426670
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
lea ecx, [eax + 8]
cmp eax, ecx
sbb eax, eax
test ecx, eax
je 0x426721
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4266a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
lea ecx, [eax + 8]
cmp eax, ecx
sbb edx, edx
and edx, ecx
mov ecx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4266c4
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
lea ecx, [eax + 8]
cmp edx, 0x400
ja 0x426701
cmp eax, ecx
sbb eax, eax
and eax, ecx
call fcn.004d2260
mov edi, esp
test edi, edi
je 0x426723
mov dword [edi], 0xcccc
add edi, 8
jmp 0x426723
cmp eax, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.004bb7a0
mov edi, eax
add esp, 4
test edi, edi
je 0x426723
mov dword [edi], 0xdddd
add edi, 8
jmp 0x426723
xor edi, edi
mov edx, edi
mov ecx, ebx
sub edx, ebx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x426730
mov ecx, ebx
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x426744
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push dword [eax + 0x3c]
push 0
push 0
call fcn.004c4143
add esp, 0x18
mov esi, eax
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
sub ebx, edi
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x426780
test edi, edi
je 0x4267a8
add edi, 0xfffffff8
cmp dword [edi], 0xdddd
jne 0x4267a8
push edi
call fcn.004bb7ab
add esp, 4
mov eax, esi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426b70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x508628]
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x426b8d
cmp dword [eax + 4], 0
jne 0x426be3
mov eax, dword [eax]
test eax, eax
jne 0x426b81
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x426d2c
lea edx, [eax + 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, 0x20
nop
mov ecx, dword [eax + 4]
add esi, 0x20
mov dword [edx], ecx
mov dword [eax + 4], edx
add edx, 0x20
cmp esi, 0xfe0
jbe 0x426bc0
mov ecx, dword [0x508628]
mov dword [eax], ecx
mov dword [0x508628], eax
test eax, eax
je 0x426d2c
mov ebx, dword [eax + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x425890
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x10]
call fcn.00426d80
test eax, eax
je 0x426d25
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test eax, eax
je 0x426d2c
push 0x2c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x426d25
mov ecx, dword [esp + 0x14]
mov dl, byte [esi + 0x14]
mov ebx, dword [esp + 0x10]
and dl, 0xf8
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x1c]
mov al, cl
and al, 1
mov dword [esi], ebx
or dl, al
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x20]
and eax, 0xf
mov byte [esi + 0x14], dl
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x426cb0
mov eax, dword [edi - 5]
mov dword [esi + 0xc], eax
mov ax, word [edi - 1]
mov word [esi + 0x10], ax
mov al, byte [edi + 1]
mov byte [esi + 0x12], al
jmp 0x426cbb
mov eax, dword [edi]
mov dword [esi + 0xc], eax
mov al, byte [edi + 4]
mov byte [esi + 0x10], al
and dl, 1
lea edi, [ebx - 5]
movzx eax, dl
cmove edi, ebx
lea ebx, [eax*2 + 5]
lea eax, [esp + 0xc]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x426d2c
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x426cfc
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov ecx, ebx
call fcn.00426b00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
Function at 0x4270e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x50a9e0], ecx
mov eax, 1
nop dword [eax + eax]
mov ecx, dword [eax*4 + 0x50a9dc]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
mov dword [eax*4 + 0x50a9e0], ecx
inc eax
cmp eax, 0x270
jl 0x4270f0
mov dword [0x506400], 1
mov dword [0x50a9dc], 1
ret

Function at 0x427130
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x50a9dc], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x50a9e0
jne 0x42714f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.004270e0
mov eax, dword [0x50a9e0]
mov ebx, 0xe3
mov dword [0x506400], 0x270
mov dword [0x50b3a0], 0x50a9e0
nop dword [eax]
mov edi, dword [esi + 4]
mov ecx, edi
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub ebx, 1
jne 0x427170
mov ebp, 0x18c
nop word [eax + eax]
mov ebx, dword [esi + 4]
lea esi, [esi + 4]
mov ecx, ebx
mov eax, ebx
xor ecx, edi
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
mov edi, ebx
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x390]
mov dword [esi - 4], ecx
sub ebp, 1
jne 0x4271b0
mov eax, dword [0x50a9e0]
mov ecx, ebx
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, ebx
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
pop ebp
pop ebx
ret

Function at 0x427220
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x506400], 1
jne 0x42722e
call fcn.00427130
mov eax, dword [0x50b3a0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x50b3a0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x427270
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x506400], 1
jne 0x42727e
call fcn.00427130
mov eax, dword [0x50b3a0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x50b3a0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4fd680]
mulsd xmm0, qword [0x4fd4f0]
ret

Function at 0x427aa0
Capabilities:
Write clipboard data

Disassembly:
cmp byte [ecx + 0x17], 0
jne 0x427aa9
mov ecx, dword [ecx + 0xc]
cmp byte [ecx + 0x17], 2
jne 0x427ac2
cmp dword [0x50a78c], 0
je 0x427ac2
mov ecx, 0x50a780
jmp fcn.004060f0
mov al, byte [ecx + 0x15]
and al, 0x86
cmp byte [esp + 4], 0
mov byte [ecx + 0x15], al
je 0x427ad6
or al, 1
mov byte [ecx + 0x15], al
mov eax, 1
ret 4
Function at 0x42bcd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x504998]
push ebx
push ebp
add eax, 4
mov ebx, ecx
imul eax, eax, 0x108
push esi
push edi
push eax
push dword [0x50796c]
call fcn.004bb7b0
add esp, 8
mov dword [0x50796c], eax
test eax, eax
jne 0x42bd01
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x50499c]
mov edi, eax
push 0x404b90
push 0x4ef6d80
push 0xe
push dword [0x507aa8]
mov ecx, 0x42
mov dword [0x50499c], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
call esi
cmp dword [ebx + 0x610], 0
jne 0x42bd42
mov ebp, 1
jmp 0x42be06
mov eax, dword [0x50499c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax + 0xec], 0
call edi
cmp byte [0x507965], 0
mov ecx, dword [0x50499c]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x42bd8f
push 0x404a60
push 0x64
push 0xb
push dword [0x507aa8]
call esi
test eax, eax
setne byte [0x507965]
mov byte [ebx + 0xaf9], 1
call edi
inc dword [0x507a90]
push str.Auto_execute
mov dword [ebx + 0xb14], eax
mov dword [ebx + 0xb10], eax
call fcn.0040bf10
mov ecx, dword [ebx + 0x610]
push 0
push 0
push 1
call fcn.0043e3c0
sub dword [0x50639c], 0xc
mov ebp, eax
dec dword [0x507a90]
cmp byte [0x507965], 0
je 0x42bdff
push 0xb
push dword [0x507aa8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x507965]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x507965], cl
mov byte [ebx + 0xaf9], 0
mov ebx, dword [0x50499c]
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x42be5b
cmp dword [eax + 8], 6
jne 0x42be2a
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x104]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42be40
push ecx
call fcn.004bb7ab
mov eax, dword [ebx + 0x104]
add esp, 4
push 0x10
push eax
call fcn.004b5f05
mov dword [ebx + 0x104], 0
add esp, 8
mov ebx, dword [0x50499c]
mov ecx, ebx
call fcn.00404c50
push 1
push 0
mov byte [ebx + 0xec], 1
mov ecx, 0x42
mov esi, ebx
mov edi, 0x507970
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x507a8c]
push 0xffffffffffffffff
push 0x4da494
mov word [ebx + 0xec], 0x101
mov dword [ebx + 0xe0], 0
mov byte [ebx + 0xee], 0
mov dword [ebx + 0x2c], connect
call fcn.0049fde0
cmp word [0x50860c], 0
mov esi, 1
jne 0x42bef8
cmp dword [0x5085f4], 0
jne 0x42bef8
cmp dword [0x507ac8], 0
jne 0x42bef8
cmp dword [0x507ac4], 0
jne 0x42bef8
cmp byte [0x507ab9], 0
jne 0x42bef8
test ebp, ebp
mov ecx, 7
push 0
cmove ecx, esi
push ecx
mov ecx, 0x509c28
call fcn.0042c1b0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x42c0b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10230
call fcn.004d2340
cmp dword [0x507b14], 0
push esi
push edi
mov esi, ecx
jne 0x42c13e
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0xc], 1
mov edi, eax
jne 0x42c158
mov edx, dword [edi]
lea ecx, [esp + 0x10]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42c12e
test ax, ax
je 0x42c12a
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42c12e
add ecx, 4
add edx, 4
test ax, ax
jne 0x42c108
xor eax, eax
jmp 0x42c133
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42c158
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x507adc]
push str._restart
jmp 0x42c193
push dword [esi + 0xae0]
lea eax, [esp + 0x21c]
push str._restart___s_
push 0x8010
push eax
call fcn.0049bbc0
add esp, 0x10
lea eax, [esp + 0x218]
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x507adc]
push eax
push dword [esi + 0xaec]
mov ecx, 0x509c28
call fcn.00448860
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42c1b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x124
cmp byte [0x50bba6], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0xab4], eax
jne 0x42c36d
cmp byte [ebx + 0xaf8], 0
je 0x42c36d
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x507a8c]
push 0
push 1
mov dword [0x50be50], eax
call fcn.00401640
push 0x7f
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004c41d6
inc dword [0x507a90]
xor eax, eax
mov word [esp + 0x13a], ax
add esp, 0xc
mov eax, dword [0x50499c]
mov ecx, 0x42
add eax, 0x108
mov esi, 0x507970
mov edi, eax
mov dword [0x50499c], eax
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x509c28
mov dword [eax + 0x2c], 0
call fcn.0042bbd0
cmp dword [0x507aa4], 0
xorps xmm0, xmm0
movlpd qword [0x50a728], xmm0
je 0x42c27b
mov eax, dword [0x506390]
mov ecx, 0x4da3cc
test eax, eax
je 0x42c274
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x504994]
push str.OnExit
mov dword [0x504994], 0
mov byte [0x50bba6], 1
call fcn.0040bf10
mov ecx, dword [ebx + 0xaa8]
mov eax, 1
mov dword [esp + 0xc], eax
mov byte [0x5067b8], 0
test ecx, ecx
je 0x42c2d5
call fcn.00401700
test eax, eax
mov eax, dword [esp + 0xc]
je 0x42c2d5
xor ecx, ecx
movzx eax, al
cmp byte [0x5067b8], cl
cmove eax, ecx
mov dword [esp + 0xc], eax
mov byte [0x5067b8], 1
test al, al
je 0x42c336
mov dword [esp + 0x18], 0
call fcn.0045ca70
mov dword [esp + 0x10], eax
lea ecx, [ebx + 0xa74]
mov eax, dword [0x50be50]
cdq
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [ebx + 0xaa8], eax
mov dword [esp + 0x28], 1
sete al
mov dword [esp + 0x24], edx
push eax
push 2
lea eax, [esp + 0x18]
push eax
call fcn.0048ef30
mov edx, dword [esp + 0xc]
movzx ecx, dl
xor edx, edx
cmp eax, 3
cmove ecx, edx
mov al, cl
sub dword [0x50639c], 0xc
test al, al
mov eax, dword [ebp + 8]
mov byte [0x50bba6], 0
jne 0x42c3b9
cmp eax, 2
je 0x42c3b9
lea ecx, [esp + 0x30]
call fcn.004048c0
mov dword [0x504994], esi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [0x5067b8], 0
jne 0x42c3a9
cmp eax, 7
jne 0x42c3a9
mov eax, dword [0x509318]
mov ecx, dword [0x50be50]
pop edi
pop esi
cmp word [eax], 0
mov eax, 8
mov byte [0x5067b8], 1
cmovne ecx, dword [ebp + 0xc]
mov dword [0x50be50], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov byte [0x5067b8], 0
push eax
call fcn.0042c3d0
push dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0042c3d0
int3