joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x501814]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], 0
je 0x4a1483
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4a1483
call fcn.004a00a0
test eax, eax
jne 0x4a135b
push 0x3f2
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4a1483
mov esi, dword [ebx + 4]
xor edi, edi
add ebx, 4
test esi, esi
je 0x4a1379
cmp esi, ebx
je 0x4a1379
lea ecx, [esi + 8]
call fcn.00494960
mov esi, dword [esi]
add edi, eax
jmp 0x4a1363
add edi, 2
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
je 0x4a1483
push edi
call dword [0x4f90e0]
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4a1483
mov eax, dword [ebp - 0x14]
xor edi, edi
mov esi, dword [ebx]
shr eax, 1
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4a141b
cmp esi, ebx
je 0x4a141b
lea eax, [esi + 8]
mov ecx, eax
call fcn.004948b0
push eax
mov eax, dword [ebp - 0x10]
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + edi*2]
push eax
call fcn.004ae9a0
add esp, 0xc
test eax, eax
jne 0x4a1406
lea ecx, [esi + 8]
call fcn.00494930
inc edi
add edi, eax
cmp edi, dword [ebp - 0x10]
jae 0x4a13f1
test esi, esi
je 0x4a141b
mov esi, dword [esi]
jmp 0x4a13ad
push dword [ebp + 0xc]
mov dword [ebp - 4], 5
call dword [0x4f90e8]
add esp, 4
jmp 0x4a1483
push dword [ebp + 0xc]
mov dword [ebp - 4], 4
call dword [0x4f90e8]
add esp, 4
jmp 0x4a1483
mov ebx, dword [ebp - 0x14]
lea ecx, [edi + edi]
mov edi, dword [ebp + 0xc]
mov eax, ebx
sub eax, ecx
push eax
push 0
lea eax, [ecx + edi]
push eax
call fcn.004a6d90
mov eax, dword [ebp - 0x18]
add esp, 0xc
push ebx
push edi
push 7
push 0
push dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
test esi, esi
sete bl
push edi
mov dword [ebp - 4], 6
call dword [0x4f90e8]
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 esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a14a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.004a00a0
test eax, eax
jne 0x4a14c1
push 0x3f2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4a14e9
mov ecx, edx
push edi
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a14d0
sub ecx, edi
sar ecx, 1
pop edi
lea ecx, [ecx*2 + 2]
jmp 0x4a14eb
xor ecx, ecx
xor eax, eax
cmp dword [ebp + 0x10], eax
push ecx
push edx
setne al
inc eax
push eax
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
pop esi
sete al
pop ebp
ret 0xc
Function at 0x4a15a0
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push esi
mov esi, dword [ebp + 0x30]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0xc], ecx
test ebx, ebx
je 0x4a1656
test eax, eax
je 0x4a1656
push 2
mov ecx, edi
call fcn.004a16b0
test eax, eax
je 0x4a1656
push 4
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4a1687
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x16
push dword [ebp - 8]
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4a166b
lea ecx, [ebp - 0xc]
call fcn.004a1530
lea ecx, [ebp - 0x10]
call fcn.004a1530
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x2c
test esi, esi
je 0x4a167f
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea ecx, [ebp - 0xc]
call fcn.004a1530
lea ecx, [ebp - 0x10]
call fcn.004a1530
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x4a1710
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4a18b0
push 1
call fcn.004a16b0
test eax, eax
je 0x4a18b0
push 0x14
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4a18b0
push ebx
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4a1793
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
lea ecx, [ebp - 0x24]
cmp eax, 0x420
sete bl
call fcn.004a1530
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4a17d2
lea ecx, [ebp - 0x24]
call fcn.004a1530
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x4a1883
mov edi, dword [ebp - 8]
mov ecx, 0x1f4
mov ebx, dword [ebp - 0xc]
cmp edi, ecx
mov eax, edi
cmova eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4a1858
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x4a1883
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jbe 0x4a1821
mov edi, dword [ebp - 8]
mov ebx, ecx
mov ecx, 0x1f4
jmp 0x4a1837
test edi, edi
je 0x4a1883
cmp edi, 0x1f4
mov eax, edi
mov ecx, 0x1f4
cmova eax, ecx
sub edi, eax
cmp edi, 0x1f4
mov eax, edi
cmova eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4a1806
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
cmp eax, 4
sete bl
jne 0x4a1895
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4a177e
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004a559d
mov esp, ebp
pop ebp
ret 4
Function at 0x4a18d0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4a1a34
push 1
call fcn.004a16b0
test eax, eax
je 0x4a1a34
push 0x24
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4a1a34
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4a1a17
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x4a1965
lea ecx, [ebp - 0x24]
call fcn.004a1530
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0xc
mov ebx, 1
cmp eax, 4
jne 0x4a1981
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, eax
test ebx, ebx
je 0x4a19fa
cmp dword [ebp + 0xc], 0
je 0x4a19fa
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x4a1a17
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x4a19e5
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4a19e5
nop word [eax + eax]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push esi
call ebx
test eax, eax
je 0x4a1a17
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x4a19e5
cmp edi, 0xffffffff
je 0x4a19e1
cmp edi, 0x1f4
jbe 0x4a19e5
sub edi, 0x1f4
test edi, edi
jne 0x4a19b0
xor ebx, ebx
cmp eax, 1
sete bl
je 0x4a19fa
push 0x5b4
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x24]
call fcn.004a1530
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x24]
call fcn.004a1530
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a1ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4a1b10
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a1b10
push ebx
push esi
lea ebx, [edi + ecx]
or eax, 0xffffffff
or esi, 0xffffffff
cmp edi, ebx
jae 0x4a1b05
movzx ecx, byte [edi]
mov edx, esi
shr edx, 0x18
inc edi
shld esi, eax, 8
xor edx, ecx
shl eax, 8
xor eax, dword [edx*8 + 0x4d75a0]
xor esi, dword [edx*8 + 0x4d75a4]
cmp edi, ebx
jb 0x4a1ae1
not esi
not eax
mov edx, esi
pop esi
pop ebx
pop edi
pop ebp
ret
xor eax, eax
xor edx, edx
pop edi
pop ebp
ret
Function at 0x4a1b20
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d70
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x501814]
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 ebx, dword [ebp + 8]
mov edi, 0x3c00
mov dword [ebp - 0x14], edi
nop word [eax + eax]
mov dword [ebp - 4], 0
test edi, edi
je 0x4a1bdf
push edi
call dword [0x4f90e0]
mov esi, eax
add esp, 4
test esi, esi
je 0x4a1bdf
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x4a1bd4
cmp eax, 0x6f
jne 0x4a1bad
push esi
mov dword [ebp - 4], 4
call dword [0x4f90e8]
mov edi, dword [ebp - 0x14]
add esp, 4
jmp 0x4a1b60
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebx], 0
mov dword [ebx + 4], 0
push esi
mov dword [ebp - 4], 5
call dword [0x4f90e8]
add esp, 4
jmp 0x4a1bf4
test ebx, ebx
je 0x4a1bda
mov dword [ebx], edi
mov dword [ebx + 4], esi
jmp 0x4a1bf4
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebx], 0
mov dword [ebx + 4], 0
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.004a559d
mov esp, ebp
pop ebp
ret
Function at 0x420440
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
fld dword [0x44d500]
mov eax, dword [0x44d1f0]
fsubr qword [0x446d98]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
mov edx, dword [ebp - 8]
mov dword [0x44d1f0], edx
fld dword [0x44d500]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44d500]
mov dword [ecx], 0
movzx eax, word [0x44d1b8]
imul eax, eax, 0x9ba26941
mov word [0x44d1b8], ax
mov dword [ecx + 4], 0
fld qword [0x44d028]
movzx edx, word [0x44d4b8]
fadd qword [0x446d90]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
movzx edx, word [ebp - 8]
mov word [0x44d4b8], dx
mov dword [ecx + 8], 0x67452301
movzx eax, word [0x44d304]
movzx edx, word [0x44d0bc]
cwde
imul edx, eax
mov word [0x44d0bc], dx
mov dword [ecx + 0xc], 0xefcdab89
mov edx, 0xba5208eb
fld dword [0x44d0c0]
fmul qword [0x446d88]
fstp dword [0x44d0c0]
mov dword [ecx + 0x10], 0x98badcfe
fld qword [0x44d5b0]
mov eax, dword [str.px_A]
sub edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsubp st(1)
fstp qword [0x44d5b0]
mov dword [ecx + 0x14], 0x10325476
fadd qword [0x44d548]
fstp qword [0x44d548]
fld qword [0x44d2b0]
fld qword [0x44d548]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4205a0
mov ecx, 1
add word [0x44d030], cx
mov ax, word [0x44d030]
mov edx, dword [0x44d2d8]
dec dword [0x44d2d8]
cwde
add eax, 0x8c4756b3
cmp eax, edx
jge 0x4205a0
mov ax, word [0x44d010]
mov edx, dword [0x44d41c]
cwde
add eax, edx
mov edx, dword [0x44d050]
lea eax, [edx + eax + 0x31b1b696]
mov dword [0x44d050], eax
add dword [0x44d41c], ecx
mov esp, ebp
pop ebp
ret
Function at 0x424540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
fld qword [0x44d238]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x44d238]
fld dword [0x44d0b0]
mov eax, dword [0x44d2e4]
mov dword [ebp - 8], eax
fisub dword [ebp - 8]
fsub qword [0x446da8]
fld qword [0x44d238]
fadd dword [0x44d258]
fsub qword [0x44d188]
fcompp
fnstsw ax
fld qword [0x44d188]
fsub st(1)
fstp qword [0x44d188]
dec dword [0x44d2e4]
fld dword [0x44d0b0]
fsub st(1)
fstp dword [0x44d0b0]
test ah, 5
jp 0x4245ef
fadd dword [0x44d5c0]
fstp dword [0x44d5c0]
mov cx, word [0x44d118]
mov ax, word [0x44d010]
movsx edx, cx
mov dword [ebp - 8], edx
movsx ecx, ax
fild dword [ebp - 8]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
fsub dword [0x44d5c0]
fsubp st(1)
fistp qword [ebp - 0xc]
mov dx, word [ebp - 0xc]
mov word [0x44d118], dx
jmp 0x4245f1
fstp st(0)
fld qword [0x44d060]
push ebx
fsub qword [0x44d2e8]
mov ax, word [0x44d388]
mov edx, dword [0x44d438]
mov ebx, dword [ebp + 0xc]
movsx ecx, ax
mov dword [ebp - 8], ecx
push esi
mov esi, ebx
fild dword [ebp - 8]
imul esi, dword [ebp + 0x10]
faddp st(1)
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
fild dword [ebp - 8]
fmulp st(1)
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [0x44d438], eax
dec word [0x44d388]
test esi, esi
jne 0x424660
movzx ecx, word [0x44d118]
add ecx, 0x1b7bf026
pop esi
mov word [0x44d118], cx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [0x44d3f4], 0x55d6f7ba
mov ecx, dword [ebp + 0x14]
call fcn.0041c760
fld dword [0x446da0]
mov ecx, dword [ebp + 8]
fstp dword [0x44d4c4]
push 0
lea edx, [ebp - 4]
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
add word [0x44d568], cx
dec dword [0x44d430]
mov dx, word [0x44d568]
movsx eax, dx
mov edx, dword [0x44d430]
sub eax, edx
mov edx, dword [0x44d454]
add eax, 0xf56ec5c8
add edx, 0x7675446f
cmp eax, edx
jge 0x4246f9
fld dword [0x44d190]
mov ax, word [0x44d0bc]
movsx ecx, ax
mov dword [ebp + 0xc], ecx
xor edx, edx
pop esi
fild dword [ebp + 0xc]
fadd qword [0x44d170]
mov eax, dword [ebp - 4]
div ebx
fsubp st(1)
fstp dword [0x44d190]
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, word [0x44d3c8]
movsx eax, dx
mov dword [ebp + 0xc], eax
pop esi
fild dword [ebp + 0xc]
fld qword [0x44d3c0]
mov edx, dword [0x44d1e0]
mov eax, dword [0x44d2b8]
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
fsubp st(1)
fild dword [ebp + 0xc]
faddp st(1)
fsubp st(1)
fistp qword [ebp - 0xc]
movzx edx, word [ebp - 0xc]
mov word [0x44d3c8], dx
add dword [0x44d2b8], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426280
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add dword [0x44d494], 0x5f32e68a
call fcn.00424b00
fld qword [0x44d188]
fsubr qword [0x4476e8]
mov eax, dword [ebp + 8]
push eax
fsub qword [0x4476e0]
fstp qword [0x44d250]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407477
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407498
jl 0x40748f
test edi, edi
jne 0x407498
xor eax, eax
xor edx, edx
jmp 0x407559
cmp dword [ebx + 0x38], 0
je 0x4074ad
push eax
push edi
push dword [ebp + 8]
call fcn.0040755f
jmp 0x407559
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4074f4
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4074f4
cmp eax, edi
jb 0x4074ce
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00408ef0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4074fa
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40754e
mov ecx, ebx
call fcn.00406d24
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407539
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040da15
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40754e
jmp 0x40750c
test edx, edx
je 0x40754e
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040da15
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40764e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x407670
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407733
jmp 0x40772e
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x407696
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40769b
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x4076fb
jg 0x4076b0
test esi, esi
je 0x4076fb
test ecx, ecx
jl 0x4076f6
jg 0x4076ba
test eax, eax
je 0x4076f6
cmp edi, ecx
jg 0x4076cc
jl 0x4076c4
cmp esi, eax
jae 0x4076cc
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00408ef0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4076fe
mov ecx, dword [ebp + 8]
jmp 0x407708
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x407722
jg 0x407708
test esi, esi
je 0x407722
cmp dword [ebx + 0x4c], 0
je 0x407722
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040e081
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4086b2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4086f1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4086f1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4086f1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4086f1
cmp dword [ecx + 0x74], 0xe
jbe 0x4086f1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x414903
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00414779

Function at 0x41e630
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e65d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e65d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405228
Capabilities:
Check for vm using instruction vpcext

Disassembly:
imul ebp, dword [ecx - 0x432716f6], 0xffffff80
and eax, 0x9ce3dbe4
daa
inc ebp
push 0x37e43c0d
cmp al, 0xe4
aaa
cmp al, 0xe4
aaa
imul ebx, dword [edx], 0x2ac19801
add bh, byte [ebx]
mov byte [ebx], ah
dec ebp
push esp
lodsb al, byte [esi]
cwde
shr dword [edx], 2
cmp ecx, dword [eax - 0x53abb2dd]
popfd
aad 0xe3
neg byte [esi - 0xc09d282]
rep lodsd eax, dword [esi]
jne 0x4052aa
push eax
mov dh, 0x47
push 0xdb5e541b
std
js 0x405200
push esp
pop esi
invalid
sar dword [esi + 0x2d392b3a], cl
dec esi
cmpsd dword [esi], dword es:[edi]
loop 0x405231
popal
jno 0x405216
pop ebx
int 0x52
pop ebp
mov byte [0xb2867a1e], al
insb byte es:[edi], dx
adc eax, 0xc05c39df
sbb eax, dword [ecx + 0x39]
test edx, ecx
hlt
pop ebx
pop ebx
jbe 0x4052ac
mov dword [0x5bc9005b], eax
pop ebx
xchg esi, ecx
rcl dword [ebx + 0x633e29e5], cl
or byte [ecx], ch
push ebp
ficom dword [edx - 0xbfa99e7]
das
pop ecx
loop 0x405317
mov edx, 0x1c8c6bb0
fsub dword [edi + 0x4c]
xor edi, dword [0xe1e4ad57]
cwde
imul esp, dword [ebp - 0x30], 0x8d90628a
invalid
mov ebp, 0x54da3d19
invalid

Function at 0x406c1c
Capabilities:
Encode data using xor

Disassembly:
wait
sbb dword [ebx - 0x316e5971], 0x2a7186a3
retf
mov edx, 0xf16710d8
int3
insb byte es:[edi], dx
or ecx, esp
adc byte [edi], 0x68
das
imul edi, edi, 0xcba6c0c1
inc ecx
shl byte [esi - 0x2077fb35], 0x3f
inc ecx
shl byte [esi - 0x2077fb35], 0x3f
daa
lodsd eax, dword [esi]
fld qword [edi + 0x62]
nop
mov esi, 0x3f505fe3
scasb al, byte es:[edi]
xchg dword [eax + 0x452d19e0], ebp
or dword [eax], esp
xlatb
xchg edx, eax
xchg ecx, eax
test dword [bp + di + 0x30], ebx
push ss
sbb edx, dword [ebp - 0x2a]
xor ah, byte [eax - 0x7c11b8d8]
imul esi, dword [ebp + 0x1d], 6
jle 0x406c14
inc edi
into
jb 0x406be4
xchg dword [edx], eax
in eax, 0xf6
add dword [ebx - 0x3c], ebx
jbe 0x406c0e
sub byte [ebp + 0x15], dh
loop 0x406c60
adc eax, 0xe262fde2
inc ebp
in al, 0xe8
jg 0x406cb7
invalid
mov ebp, 0x8c62d810
sbb byte [ecx], bl
dec esp
retf
pushfd
retf