joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b8a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 1
push esi
mov esi, dword [ebx + 0x1b8]
push edi
mov dword [ebp - 0x10], esi
jne 0x44b8c8
mov dword [ebp - 4], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x44b8d3
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push ebx
call eax
xor edi, edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebx + 0x64], edi
jle 0x44b9af
jmp 0x44b90e
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov ecx, dword [esi + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
je 0x44b92b
mov edx, dword [esi + 0x18]
add dword [edx + edi*4], 0xff
lea eax, [edx + edi*4]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
dec ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x14], ecx
call fcn.0044b730
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x44b957
mov ecx, dword [ebp - 0x14]
inc ebx
mov eax, ebx
call fcn.0044b730
mov ecx, eax
cmp esi, ecx
jg 0x44b946
mov al, byte [ebp - 0xc]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x44b942
cmp dword [ebp - 4], 0
je 0x44b99c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x44b980
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x44b980
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0x64]
jl 0x44b905
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468030
Capabilities:
Terminate process

Disassembly:
push eax
push 0x515128
call sub.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR100.dll_fprintf
add esp, 0xc
push 0x5463ac
call sub.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR100.dll_fprintf
add esp, 8
test esi, esi
je 0x468070
mov eax, dword [esi + 0x40]
test eax, eax
je 0x468070
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46f910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov bl, byte [edx + 8]
push esi
mov dword [ebp - 0x18], eax
cmp bl, 3
je 0x46fadc
mov ecx, dword [edx]
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x1c], 0
test bl, 2
je 0x46f975
movzx eax, byte [edx + 9]
movzx edi, byte [esi]
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, eax
sub ebx, edi
movzx edi, byte [esi + 2]
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov edi, 3
jmp 0x46f987
movzx edi, byte [esi + 3]
movzx ebx, byte [edx + 9]
sub ebx, edi
mov dword [ebp - 0x14], ebx
mov edi, 1
test byte [edx + 8], 4
je 0x46f99c
movzx esi, byte [esi + 4]
movzx ebx, byte [edx + 9]
sub ebx, esi
mov dword [ebp + edi*4 - 0x14], ebx
inc edi
xor esi, esi
test edi, edi
jle case.0x46f9e5.3
cmp dword [ebp + esi*4 - 0x14], 0
jg 0x46f9b7
mov dword [ebp + esi*4 - 0x14], 0
jmp 0x46f9be
mov dword [ebp - 0x1c], 1
inc esi
cmp esi, edi
jl 0x46f9a6
cmp word [ebp - 0x1c], 0
je case.0x46f9e5.3
movzx esi, byte [edx + 9]
add esi, 0xfffffffe
cmp esi, 0xe
ja case.0x46f9e5.3
movzx esi, byte [esi + 0x46fb00]
jmp dword [esi*4 + 0x46faec]
mov edx, dword [edx + 4]
test edx, edx
je case.0x46f9e5.3
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
dec edx
jne 0x46f9f7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 4]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov edx, 0xf0
sar edx, cl
mov ebx, 0xf
sar ebx, cl
and dl, 0xf0
or dl, bl
test edi, edi
je case.0x46f9e5.3
lea ebx, [ebx]
mov bl, byte [esi]
mov cl, al
shr bl, cl
inc esi
and bl, dl
dec edi
mov byte [esi - 1], bl
jne 0x46fa40
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x46f9e5.3
mov edi, edi
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
cmp ebx, dword [ebp - 0x18]
jb 0x46fa70
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
imul ecx, edi
xor ebx, ebx
mov esi, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je case.0x46f9e5.3
xor edx, edx
mov eax, ebx
div edi
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc ebx
add esi, 2
movzx ecx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, dword [ebp - 0x18]
jb 0x46faa3
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
Function at 0x4d6d80
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea edx, [esi + 0xa48]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x4d6d96
xor eax, 0xedb88320
test al, 1
je 0x4d6da3
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6da5
shr eax, 1
test al, 1
je 0x4d6db2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6db4
shr eax, 1
test al, 1
je 0x4d6dc1
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6dc3
shr eax, 1
test al, 1
je 0x4d6dd0
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6dd2
shr eax, 1
test al, 1
je 0x4d6ddf
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6de1
shr eax, 1
test al, 1
je 0x4d6dee
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6df0
shr eax, 1
test al, 1
je 0x4d6dfd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d6dff
shr eax, 1
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x4d6d88
mov byte [esi + 0xe48], 1
ret

Function at 0x4d6e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
cmp byte [esi + 0xe48], 0
push edi
mov edi, ecx
jne 0x4d6e37
call fcn.004d6d80
xor eax, eax
test ebx, ebx
jle 0x4d6e5e
lea ecx, [ecx]
mov ecx, dword [ebp + 8]
movzx edx, byte [eax + ecx]
xor edx, edi
and edx, 0xff
shr edi, 8
xor edi, dword [esi + edx*4 + 0xa48]
inc eax
cmp eax, ebx
jl 0x4d6e40
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4e1058
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
push esi
mov esi, dword [ebp + 8]
cmp eax, 9
ja case.0x4e0f33.6
jmp dword [eax*4 + 0x4e10ec]
push esi
call fcn.004e0df0
movzx eax, ax
mov dword [ebp - 0x10], eax
add esp, 4
pop esi
fild dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0e90
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0x4e10db
fadd qword [0x5124a0]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0e90
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0x4e0f9d
fadd qword [0x5124a0]
push esi
fstp qword [ebp - 0xc]
call fcn.004e0e90
add esp, 8
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0x4e0fb9
fadd qword [0x5124a0]
fdivr qword [ebp - 0xc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0df0
movsx ecx, ax
mov dword [ebp - 0x10], ecx
add esp, 4
pop esi
fild dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0e90
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0e90
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
push esi
fstp qword [ebp - 0xc]
call fcn.004e0e90
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
add esp, 8
pop esi
fdivr qword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push esi
call fcn.004e0e90
push eax
call fcn.004e0f00
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x1234
call dword [sym.imp.WS2_32.dll_ntohs]
xor ecx, ecx
mov edx, 0x1234
cmp ax, dx
sete cl
xor eax, eax
mov edx, 0x4949
cmp word [esi + 0x6274], dx
sete al
xor edx, edx
cmp eax, ecx
sete dl
mov eax, edx
lea ebx, [eax*8]
sub ebx, eax
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x1c]
push ecx
call edx
mov ecx, edi
xor ecx, ebx
inc edi
add esp, 4
mov byte [ebp + ecx - 0xc], al
cmp edi, 8
jl 0x4e1097
fld qword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
Function at 0x4e1fc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
cmp ax, word [edi + 0x66b4]
jae 0x4e21c7
push ebx
movzx eax, word [edi + 0x66b6]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x4e21b3
and esi, 7
add esi, esi
mov dword [ebp - 0x18], esi
jmp 0x4e2003
mov esi, dword [ebp - 0x18]
movzx eax, word [edi + 0x66bc]
movzx edx, word [edi + 0x66c0]
mov ecx, ebx
mov ebx, dword [ebp - 4]
and ecx, 1
add ecx, esi
mov esi, dword [edi + 0x65b0]
add ecx, ecx
shr esi, cl
mov dword [ebp - 0x20], ecx
mov ecx, eax
shr ebx, cl
and esi, 3
mov dword [ebp - 0x14], esi
mov esi, dword [edi + 0x66e0]
imul ebx, edx
mov eax, ebx
mov ebx, dword [ebp - 0x10]
mov edx, ebx
shr edx, cl
mov ecx, dword [ebp - 0x14]
add eax, edx
lea edx, [ecx + eax*4]
xor eax, eax
cmp word [esi + edx*2], ax
jne 0x4e219d
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [esi + 2]
lea edx, [eax - 4]
mov dword [ebp + 8], edx
cmp edx, eax
ja 0x4e219d
lea ecx, [ebx + 2]
lea eax, [ecx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4e2080
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
ja 0x4e2157
jmp 0x4e2090
movzx ecx, word [edi + 0x66b4]
cmp edx, ecx
jae 0x4e2142
movzx ecx, word [edi + 0x66b6]
cmp eax, ecx
jae 0x4e2142
and edx, 7
mov ecx, eax
and ecx, 1
lea esi, [ecx + edx*2]
mov edx, dword [edi + 0x65b0]
add esi, esi
mov ebx, edx
mov ecx, esi
shr ebx, cl
mov ecx, dword [ebp - 0x20]
shr edx, cl
xor ebx, edx
test bl, 3
jne 0x4e2142
movzx ebx, word [edi + 0x66bc]
mov edx, dword [edi + 0x65b0]
mov ecx, esi
mov esi, dword [ebp + 8]
shr edx, cl
mov ecx, ebx
shr esi, cl
movzx ecx, word [edi + 0x66c0]
imul esi, ecx
mov ecx, ebx
mov ebx, eax
shr ebx, cl
mov ecx, dword [edi + 0x66e0]
and edx, 3
mov dword [ebp - 0x24], eax
add esi, ebx
lea esi, [edx + esi*4]
cmp word [ecx + esi*2], 0
je 0x4e2142
movzx ecx, word [edi + 0x66bc]
mov ebx, dword [ebp + 8]
movzx esi, word [edi + 0x66c0]
inc dword [ebp - 8]
shr ebx, cl
imul ebx, esi
mov esi, eax
shr esi, cl
mov ecx, dword [edi + 0x66e0]
add ebx, esi
lea edx, [edx + ebx*4]
movzx ecx, word [ecx + edx*2]
add dword [ebp - 0xc], ecx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
inc eax
lea ecx, [ebx + 2]
cmp eax, ecx
jbe 0x4e2090
mov esi, dword [ebp - 4]
inc edx
lea eax, [esi + 2]
mov dword [ebp + 8], edx
cmp edx, eax
jbe 0x4e2080
cmp dword [ebp - 8], 0
je 0x4e219d
mov eax, dword [ebp - 0xc]
movzx ecx, word [edi + 0x66bc]
xor edx, edx
div dword [ebp - 8]
movzx edx, word [edi + 0x66c0]
shr esi, cl
imul esi, edx
mov edx, ebx
shr edx, cl
mov ecx, dword [ebp - 0x14]
add esi, edx
lea edx, [ecx + esi*4]
mov ecx, dword [edi + 0x66e0]
mov word [ecx + edx*2], ax
movzx eax, word [edi + 0x66b6]
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, eax
jb 0x4e2000
mov esi, dword [ebp - 4]
movzx eax, word [edi + 0x66b4]
inc esi
mov dword [ebp - 4], esi
cmp esi, eax
jb 0x4e1fe0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ea0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push esi
push edi
je 0x4ea195
mov ecx, dword [ebp + 0x14]
xor eax, eax
jmp 0x4ea100
imul ecx, ecx, 0x2e90edd
inc ecx
mov dword [eax + 0x55a348], ecx
add eax, 4
cmp eax, 0x10
jb 0x4ea100
mov eax, dword [0x55a350]
xor eax, dword [0x55a348]
mov ecx, dword [0x55a354]
shr eax, 0x1f
lea edx, [ecx + ecx]
or eax, edx
mov dword [0x55a354], eax
mov eax, 0x55a34c
mov ecx, 0x7b
lea ecx, [ecx]
mov edx, dword [eax - 4]
xor edx, dword [eax + 4]
mov esi, dword [eax + 8]
xor esi, dword [eax]
add edx, edx
shr esi, 0x1f
or edx, esi
mov dword [eax + 0xc], edx
add eax, 4
dec ecx
jne 0x4ea140
mov esi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x556340], ecx
jmp 0x4ea170
mov eax, dword [ecx*4 + 0x55a348]
push eax
call esi
mov ecx, dword [0x556340]
mov dword [ecx*4 + 0x55a348], eax
inc ecx
mov dword [0x556340], ecx
cmp ecx, 0x7f
jb 0x4ea170
jmp 0x4ea19b
mov ecx, dword [0x556340]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4ea1e6
mov esi, dword [ebp + 8]
lea edx, [ecx + 1]
push ebx
lea esp, [esp]
lea eax, [edx - 0x40]
and eax, 0x7f
mov eax, dword [eax*4 + 0x55a348]
mov ebx, edx
and ebx, 0x7f
xor eax, dword [ebx*4 + 0x55a348]
mov ebx, ecx
and ebx, 0x7f
mov dword [ebx*4 + 0x55a348], eax
xor dword [esi], eax
inc ecx
inc edx
add esi, 4
dec edi
jne 0x4ea1b0
mov dword [0x556340], ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4f4240
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [eax + 8]
push 0
push ecx
push edx
call eax
push esi
call fcn.004e0e90
mov ebx, eax
add esp, 0x10
cmp ebx, 0xff
ja 0x4f439c
test ebx, ebx
je 0x4f4384
push edi
lea esp, [esp]
push esi
dec ebx
call fcn.004e0df0
push esi
movzx edi, ax
call fcn.004e0df0
mov edx, dword [esi]
movzx ecx, ax
mov eax, dword [esi + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [edx + 0x18]
push eax
call ecx
add esp, 0xc
mov dword [ebp - 8], eax
cmp edi, 0x100
jne 0x4f42d1
push esi
call fcn.004e0df0
push esi
mov word [esi + 0x66b0], ax
call fcn.004e0df0
add esp, 8
mov word [esi + 0x66b2], ax
jmp 0x4f4364
cmp edi, 0x121
jne 0x4f430e
push esi
call fcn.004e0df0
push esi
mov word [esi + 0x66b4], ax
call fcn.004e0df0
mov edx, 0x10bc
add esp, 8
mov word [esi + 0x66b6], ax
cmp ax, dx
jne 0x4f4364
mov eax, 0x10bf
mov word [esi + 0x66b6], ax
jmp 0x4f4364
cmp edi, 0x130
jne 0x4f432f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x1c]
push edx
call eax
add esp, 4
sar eax, 7
mov dword [esi + 0x65e4], eax
jmp 0x4f4364
cmp edi, 0x2ff0
jne 0x4f4364
xor edi, edi
lea esp, [esp]
push esi
call fcn.004e0df0
movzx ecx, ax
mov dword [ebp + 8], ecx
mov edx, edi
xor edx, 1
fild dword [ebp + 8]
inc edi
add esp, 4
fstp dword [esi + edx*4 + 0xe774]
cmp edi, 4
jb 0x4f4340
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0
push edx
mov edx, dword [eax + 8]
push ecx
call edx
add esp, 0xc
test ebx, ebx
jne 0x4f4280
pop edi
movzx eax, word [esi + 0x65e4]
mov cx, ax
shl word [esi + 0x66b4], cl
shr word [esi + 0x66b6], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f4c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
push ebx
mov ebx, dword [ebp + 8]
fst qword [ebp - 0x28]
mov eax, dword [ebx]
fstp qword [ebp - 0x20]
mov edx, dword [ebx + 4]
mov eax, dword [eax]
push esi
mov esi, 2
push esi
push esi
lea ecx, [ebp - 0xc]
push ecx
push edx
mov dword [ebp - 0x18], ebx
call eax
add esp, 0x10
sub dword [ebp + 0xc], esi
je 0x4f4d3e
push edi
jmp 0x4f4cab
mov ebx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ecx]
dec dword [ebp + 0xc]
push 1
push 2
lea edi, [ebp + esi*2 - 0xc]
push edi
push edx
call eax
movzx edx, byte [edi]
movzx edi, byte [ebp + esi*2 - 0xb]
mov eax, esi
xor eax, 2
add eax, eax
movzx ecx, byte [ebp + eax - 0xc]
mov dword [ebp - 0x10], edx
shl edx, 8
or edi, edx
movzx edx, byte [ebp + eax - 0xb]
movzx eax, byte [ebp + eax - 0xb]
mov ebx, ecx
shl ebx, 8
or edx, ebx
sub edx, edi
mov dword [ebp - 0x14], edx
movzx edx, byte [ebp + esi*2 - 0xb]
fild dword [ebp - 0x14]
shl edx, 8
or edx, dword [ebp - 0x10]
fmul st(0), st(0)
shl eax, 8
or eax, ecx
sub eax, edx
fadd qword [ebp - 0x28]
mov dword [ebp - 0x10], eax
inc esi
add esp, 0x10
fst qword [ebp - 0x28]
and esi, 3
cmp dword [ebp + 0xc], 0
fild dword [ebp - 0x10]
fmul st(0), st(0)
fadd qword [ebp - 0x20]
fst qword [ebp - 0x20]
jne 0x4f4ca4
fcompp
pop edi
fnstsw ax
test ah, 0x41
mov eax, 0x4d4d
je 0x4f4d43
mov eax, 0x4949
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
Function at 0x4f9160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
movzx ecx, word [esi + 0x6274]
mov edx, dword [esi]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
push edi
push eax
call ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 0x10
test eax, eax
jne 0x4f9368
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 4
sub eax, 0x4d
jne 0x4f9368
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
add esp, 4
sub eax, 0x52
jne 0x4f9368
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
imul eax, eax, 0x101
push esi
mov word [esi + 0x6274], ax
call fcn.004e0e90
mov edx, dword [esi]
mov ecx, dword [edx + 0x18]
lea edi, [eax + edi + 8]
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 4], edi
call ecx
add esp, 0xc
mov dword [ebp + 8], eax
cmp eax, edi
jge 0x4f9347
push ebx
xor edi, edi
lea ebx, [edi + 4]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x1c]
push eax
call ecx
shl edi, 8
add esp, 4
or edi, eax
dec ebx
jne 0x4f9215
push esi
call fcn.004e0e90
add esp, 4
mov dword [ebp - 0x14], eax
cmp edi, 0x505244
je 0x4f92ea
cmp edi, 0x545457
je 0x4f92ca
cmp edi, 0x574247
jne 0x4f9314
push esi
call fcn.004e0e90
add esp, 4
mov ecx, str.DiMAGE_A200
lea eax, [esi + 0x64c5]
jmp 0x4f9270
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f9290
test dl, dl
je 0x4f928c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f9290
add eax, 2
add ecx, 2
test dl, dl
jne 0x4f9270
xor eax, eax
jmp 0x4f9295
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0xfffffffd
lea ebx, [eax + 3]
xor edi, edi
push esi
call fcn.004e0df0
movzx edx, ax
mov eax, edi
sar eax, 1
mov dword [ebp - 0x10], edx
xor eax, edi
xor eax, ebx
fild dword [ebp - 0x10]
inc edi
add esp, 4
fstp dword [esi + eax*4 + 0xe774]
cmp edi, 4
jl 0x4f92a1
jmp 0x4f9314
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x18]
push edx
call eax
push eax
push esi
call fcn.004f8b30
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x65c0], ecx
jmp 0x4f9314
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 8]
push 1
push 8
push eax
call ecx
push esi
call fcn.004e0df0
movzx edx, ax
push esi
mov dword [ebp - 8], edx
call fcn.004e0df0
movzx eax, ax
add esp, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
mov ecx, dword [ecx + 8]
lea edx, [eax + edx + 8]
mov eax, dword [esi + 4]
push 0
push edx
push eax
call ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0x18]
push eax
call ecx
add esp, 0x10
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 4]
jl 0x4f9210
pop ebx
mov dx, word [ebp - 8]
mov ax, word [ebp - 0xc]
mov cx, word [ebp - 0x18]
mov word [esi + 0x66b0], dx
mov word [esi + 0x66b2], ax
mov word [esi + 0x6274], cx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x50bf32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x551aa8]
jne 0x50bf3c
repz ret
jmp fcn.0050c8a4
Function at 0x45c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x460190
cmp edx, dword [eax]
je 0x45c78b
add eax, 8
inc ecx
cmp eax, 0x460220
jl 0x45c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x460190]
jne 0x45c8b9
mov eax, dword [0x460bb0]
cmp eax, 1
je 0x45c893
test eax, eax
jne 0x45c7bc
cmp dword [0x4600e4], 1
je 0x45c893
cmp edx, 0xfc
je 0x45c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0045d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0045d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0045d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45f45c
push edi
call fcn.0045df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0045d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0045d680
lea eax, [ebp - 0xa0]
push 0x45f43c
push eax
call fcn.0045d680
push dword [esi + 0x460194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0045d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0045de75
add esp, 0x2c
pop edi
jmp 0x45c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x460194]
push 0
push eax
push dword [esi]
call fcn.0045d490
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219