joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407530
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x412384]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4075bc
cmp dword [esp + 0xc], 6
jb 0x4075bc
lea edx, [esp + 4]
push edx
push esi
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push 0x80000001
mov dword [esp + 0x18], 0x104
call fcn.00407410
add esp, 0x14
test al, al
je 0x4075bc
cmp word [esi], 0
je 0x4075bc
mov al, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0040bac6
add esp, 0x120
ret
lea eax, [esp]
push eax
push esi
push 0
push str.http_shellopencommand
push 0x80000000
mov dword [esp + 0x14], 0x104
call fcn.00407410
add esp, 0x14
test al, al
je 0x4075e7
cmp word [esi], 0
jne 0x4075a5
lea ecx, [esp]
push ecx
push esi
push 0
push str.SoftwareClasses.html
push 0x80000001
mov dword [esp + 0x14], 0x104
call fcn.00407410
add esp, 0x14
test al, al
je 0x407612
cmp word [esi], 0
jne 0x4075a5
mov ecx, dword [esp + 0x11c]
xor ecx, esp
xor al, al
call fcn.0040bac6
add esp, 0x120
ret
Function at 0x407b40
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x284c
call fcn.0040c760
mov eax, dword [0x412384]
xor eax, esp
mov dword [esp + 0x2848], eax
push esi
push edi
xor edi, edi
push 0x1ffe
lea eax, [esp + 0x856]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, edi
mov word [esp + 0x850], 0x22
je 0x407d5e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jge 0x407d5e
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x85c]
push ecx
call esi
push 0x40eba8
lea edx, [esp + 0x85c]
push edx
call esi
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x14], ebx
je 0x407be5
push str.ShellExecuteW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, edi
jne 0x407c00
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x2848]
xor ecx, esp
call fcn.0040bac6
add esp, 0x284c
ret
lea ecx, [esp + 0x20]
call fcn.00407630
lea esi, [esp + 0x20]
lea ecx, [ecx]
cmp word [esi], 0
je 0x407c31
push 1
push 0
lea eax, [esp + 0x860]
push eax
push esi
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x407c41
add edi, 1
add esi, 0x210
cmp edi, 3
jl 0x407c10
jmp 0x407c79
mov eax, edi
imul eax, eax, 0x210
cmp dword [esp + eax + 0x228], 0
je 0x407c60
mov ecx, dword [esp + eax + 0x22c]
mov dword [esp + 0x10], ecx
jmp 0x407c6e
mov eax, dword [esp + eax + 0x22c]
add eax, 0x10
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x407d4e
push 1
push 0
push 0
lea edx, [esp + 0x864]
push edx
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x407d46
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x18], str._programfiles_x86__Internet_Exploreriexplore.exe
mov dword [esp + 0x1c], str._programfiles_Internet_Exploreriexplore.exe
xor esi, esi
jmp 0x407cc0
push 0x206
lea eax, [esp + 0x656]
push 0
push eax
mov word [esp + 0x65c], 0
call sub.MSVCR80.dll_memset
mov edx, dword [esp + esi*4 + 0x24]
add esp, 0xc
push 0x103
lea ecx, [esp + 0x654]
push ecx
push edx
call edi
lea eax, [esp + 0x650]
push eax
call ebx
cmp eax, 0xffffffff
je 0x407d26
push 1
push 0
lea ecx, [esp + 0x860]
push ecx
lea edx, [esp + 0x65c]
push edx
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x407d42
add esi, 1
cmp esi, 2
jb 0x407cc0
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
jmp 0x407be7
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
jmp 0x407be7
mov ecx, dword [esp + 0x2850]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040bac6
add esp, 0x284c
ret
Function at 0x40965f
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x40ca11
call fcn.0040bfed
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x409771
cmp byte [esi + 0x42], bl
je 0x409771
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp ax, di
jne 0x40969b
xor al, al
jmp 0x409773
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00409639
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404750
mov ecx, eax
call fcn.00408f35
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404750
mov ecx, eax
call fcn.00408f35
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x40970b
dec eax
je 0x40970f
dec eax
dec eax
je 0x40976d
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402100
mov al, bl
jmp 0x409773
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404750
mov ecx, eax
call fcn.00408f35
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x40974f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404750
mov ecx, eax
call fcn.00408f35
push dword [esi + 0x4c]
push edi
push 1
push eax
call sub.MSVCR80.dll_fwrite
add esp, 0x10
cmp edi, eax
jne 0x4096f9
cmp byte [esi + 0x42], 0
je 0x40976d
test edi, edi
jne 0x4096a9
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00403260
jmp 0x4096a9
mov bl, 1
jmp 0x4096fb
mov al, 1
call fcn.0040c037
ret

Function at 0x40bac6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412384]
jne 0x40bad0
repz ret
jmp fcn.0040c0f4
Function at 0x10266058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x102661a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1026607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1026606a
add dl, dl
jne 0x10266089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x102660dc
xor eax, eax
add dl, dl
jne 0x10266096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1026617d
add dl, dl
jne 0x102660a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102660b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102660bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102660c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x102660d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10266075
mov eax, 1
add dl, dl
jne 0x102660ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x102660f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x102660e1
sub eax, ebx
mov ebx, 1
jne 0x10266128
mov ecx, 1
add dl, dl
jne 0x1026610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10266119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10266105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10266075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1026613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1026614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10266136
cmp eax, 0x7d00
jae 0x1026616d
cmp eax, 0x500
jb 0x10266168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10266075
cmp eax, 0x7f
ja 0x10266170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10266075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1026619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10266075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x404baf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bb9
repz ret
jmp fcn.004087fb

Function at 0x4060b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402986
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x406164
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406215
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406215
push eax
call fcn.00402914
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402914
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402914
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402914
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x406164
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402914
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061bc
cmp dword [0x40e55c], ebx
je 0x4061bc
push eax
call fcn.0040298f
push dword [0x40e55c]
mov esi, eax
call fcn.0040298f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bc
test edi, edi
je 0x4061bc
call esi
test eax, eax
je 0x4061b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b3
test byte [ebp - 0xc], 1
jne 0x4061bc
or dword [ebp + 0x10], 0x200000
jmp 0x4061f5
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x4061f5
push eax
call fcn.0040298f
pop ecx
test eax, eax
je 0x4061f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f5
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x4061f5
push eax
call fcn.0040298f
pop ecx
test eax, eax
je 0x4061f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.0040298f
pop ecx
test eax, eax
je 0x406215
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406217
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408925
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edx
add edi, ecx
sub ecx, 1
call fcn.0040895e
add edi, 1
xor dword [esi], edx
sub ecx, 0xa13f616b
sub edi, edi
inc esi
inc edi
mov edi, ecx
cmp esi, ebx
jne fcn.00408925
and ecx, ecx
sub ecx, 0xa3f2db95
ret
Function at 0x1000e5e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000e5f2
pop dword [ebp - 0x44]
mov eax, 0x9320f1d3
sub eax, 0x83200be1
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x9beb5490
add dword [ebp - 0x54], 0xb266f0bb
mov dword [ebp - 0x50], 0xd083e907
sub dword [ebp - 0x50], 0x9e509cc2
mov dword [ebp - 0x4c], 0x865b5ab7
sub dword [ebp - 0x4c], 0x3a0f1689
mov dword [ebp - 0x48], 0xa160faff
add dword [ebp - 0x48], 0x5e9f0501
lea eax, [ebp - 0x54]
push eax
mov eax, 0xaf393f84
add eax, 0x60c7f05c
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x1f85d517
add dword [ebp - 0x54], 0x54ec943f
mov dword [ebp - 0x50], 0x5056aed8
sub dword [ebp - 0x50], 0xeea4d63
mov dword [ebp - 0x4c], 0x9acfc9d2
add dword [ebp - 0x4c], 0xc89fa29a
mov dword [ebp - 0x48], 0x677bd344
add dword [ebp - 0x48], 0x98842cbc
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x34008
push 0
call eax
mov ecx, 0x73295444
add ecx, 0x8cd6e97d
xor edi, edi
add edi, eax
mov edx, 0x87084fe7
sub edx, 0x7706c5e7
add edx, dword [ebp - 0x44]
mov esi, 0x566ddb28
xor dword [ebp - 0x2c], ebx
mov ebx, dword [edx]
xor dword [ebp - 0x38], 0x4ff8e7ad
add ebx, esi
sub dword [ebp - 4], 0xd774cad3
mov dword [edi], ebx
xor dword [ebp - 0x30], 0x8a46d10d
add edi, 4
add edx, 0xb411181e
sub edx, 0xb411181a
loop 0x1000e70b
add eax, 0x5e2fb48f
sub eax, 0x5e2ecab8
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40ae28
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x41449c
Capabilities:
Encode data using xor

Disassembly:
fistp dword [esi]
pop ebx
push ds
mov edi, 0xfd53ce5a
std
loope 0x414493
inc esi
cmp bl, byte [edi]
popfd
invalid
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x433876
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x433885
pop dword [ebp - 0x14]
mov eax, 0x7429cc10
add eax, 0x8c196c75
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x2be4285f
add dword [ebp - 0x24], 0x226e1cec
mov dword [ebp - 0x20], 0xfc572403
sub dword [ebp - 0x20], 0xca23d7be
mov dword [ebp - 0x1c], 0xc7bc283c
add dword [ebp - 0x1c], 0x84901bf2
mov dword [ebp - 0x18], 0x50754c7c
sub dword [ebp - 0x18], 0x50754c7c
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xc871b6da
sub dword [ebp - 0x24], 0x53ff4d84
mov dword [ebp - 0x20], 0xf9a8b399
add dword [ebp - 0x20], 0x47c3addc
mov dword [ebp - 0x1c], 0x4f40570c
sub dword [ebp - 0x1c], 0xebd0eaa0
mov dword [ebp - 0x18], 0xa6bc996e
sub dword [ebp - 0x18], 0xa6bc996e
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x45ee7
push 0
call eax
mov ecx, 0xaa2f6799
sub ecx, 0xaa2f1f87
xor esi, esi
add esi, eax
mov edi, 0x475600
add edi, dword [ebp - 0x14]
mov ebx, 0x4ce05fcf
add ebx, 0x3b6f4ce
mov edx, dword [edi]
xor dword [ebp - 0xc], 0x3b5c2128
sub edx, ebx
xor dword [ebp - 0xc], edx
mov dword [esi], edx
add dword [ebp - 0xc], 0xd3ff662b
add esi, 0xa8de107e
add esi, 0x5721ef86
add edi, 0x31013589
sub edi, 0x31013585
loop 0x433999
add eax, 0x59ea8f35
sub eax, 0x59e97c1a
xor ebx, ebx
add ebx, eax
add eax, 0xd12fd012
add eax, 0x2ed02ff3
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403e59
pop dword [ebp - 0x1c]
mov eax, 0x28042cd9
sub eax, 0x27c3ee80
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa3dc1ab3
add dword [ebp - 0x2c], 0xaa762a98
mov dword [ebp - 0x28], 0xf3023f90
sub dword [ebp - 0x28], 0xc0cef34b
mov dword [ebp - 0x24], 0xcadde8dd
sub dword [ebp - 0x24], 0x7e91a4af
mov dword [ebp - 0x20], 0x7a8c5375
add dword [ebp - 0x20], 0x8573ac8b
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x85eab942
add eax, 0x7a55c74a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x7a2da510
sub dword [ebp - 0x2c], 0x5bb3bba
mov dword [ebp - 0x28], 0x30feaa24
add dword [ebp - 0x28], 0x106db751
mov dword [ebp - 0x24], 0xb6cf3d4a
sub dword [ebp - 0x24], 0x535fd0de
mov dword [ebp - 0x20], 0x267ad321
add dword [ebp - 0x20], 0xd9852cdf
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xc3cb4e0e
sub eax, 0xc38acd3a
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x35785
push 0
call eax
mov ecx, 0x510363a8
add ecx, 0xaefcdf3c
mov ebx, eax
mov esi, 0x411000
add esi, dword [ebp - 0x1c]
mov edi, 0xe66a2502
add edi, 0xd5421e4d
sub dword [ebp - 0x14], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], 0x3ce9bd5
add edx, edi
sub dword [ebp - 8], 0x58b01094
mov dword [ebx], edx
add ebx, 0xae18c0fc
sub ebx, 0xae18c0f8
add esi, 4
loop 0x403f75
add eax, 0xa39ae2fc
add eax, 0x5c661b67
xor ebx, ebx
add ebx, eax
add eax, 0xd50155e
add eax, 0xf2afeaa7
mov ecx, 0x97f20f58
sub ecx, 0x97b20f58
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x6d649c2d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x6d649c3c
pop dword [ebp - 0x30]
mov eax, 0xd7abf601
sub eax, 0x6a4759c5
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x8dd4e91f
add dword [ebp - 0x40], 0xc07d5c2c
mov dword [ebp - 0x3c], 0x628ff05c
add dword [ebp - 0x3c], 0xcfa35be9
mov dword [ebp - 0x38], 0xafed6735
add dword [ebp - 0x38], 0x9c5edcf9
mov dword [ebp - 0x34], 0xb5606cc4
sub dword [ebp - 0x34], 0xb5606cc4
lea eax, [ebp - 0x40]
push eax
mov eax, 0xd5c6dbd
sub eax, 0x9ff7bd61
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x2cea1d8a
sub dword [ebp - 0x40], 0xb877b434
mov dword [ebp - 0x3c], 0x7c5fff3d
add dword [ebp - 0x3c], 0xc50c6238
mov dword [ebp - 0x38], 0x992bf067
add dword [ebp - 0x38], 0xca437c05
mov dword [ebp - 0x34], 0xca158958
add dword [ebp - 0x34], 0x35ea76a8
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x35a43
push 0
call eax
mov ecx, 0x8364d790
add ecx, 0x7c9b6a2d
xor edi, edi
add edi, eax
mov ebx, 0xcda3fa7b
sub ebx, 0x603d947b
add ebx, dword [ebp - 0x30]
mov esi, 0x595274d3
sub esi, 0xb05d1d28
sub dword [ebp - 0x20], esi
mov edx, dword [ebx]
xor dword [ebp - 0xc], 0xd277789a
xor edx, esi
mov dword [edi], edx
add edi, 0x75771079
sub edi, 0x75771075
add ebx, 4
loop 0x6d649d5b
add eax, 0xd43f3f6b
add eax, 0x2bc1ba5c
xor ebx, ebx
add ebx, eax
add eax, 0x6ce25d6f
sub eax, 0x6ce25d6a
mov ecx, 0xfd1ac27d
sub ecx, 0x8fb6c27d
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x405b60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x23c
mov eax, dword [0x42400c]
xor eax, esp
mov dword [esp + 0x238], eax
movss xmm0, dword [ebp + 0xc]
comiss xmm2, xmm0
mov eax, dword [ebp + 8]
push esi
movss dword [esp + 0x3c], xmm2
jbe 0x405b93
movaps xmm1, xmm0
jmp 0x405b9a
movaps xmm1, xmm3
maxss xmm1, xmm2
subss xmm0, xmm3
subss xmm1, xmm3
divss xmm1, xmm0
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si esi, xmm1
push esi
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._nSETTRACKpOs__input___f__TracKPos___d
push eax
call fcn.004016a0
add esp, 0x14
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x23c]
mov al, 1
pop esi
xor ecx, esp
call fcn.0041a150
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406430
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
lea eax, [esp + 0x10]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, esi
call fcn.00406270
mov dword [esp + 8], 0
mov ebx, eax
cmp dword [esp + 8], 0xf4240
mov dword [esp + 0xc], edx
jge 0x406485
mov ecx, dword [esp + 8]
inc ecx
mov dword [esp + 8], ecx
cmp dword [esp + 8], 0xf4240
jl 0x406472
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, esi
call fcn.00406270
push dword [esp + 0x14]
sub eax, ebx
push dword [esp + 0x14]
sbb edx, dword [esp + 0x14]
push edx
push eax
call fcn.0041b310
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x24]
push ecx
push esi
push edx
push eax
call fcn.0041b350
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406ff0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40bbe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0x2adf0], 0
je 0x40bc52
movss xmm3, dword [ebp + 0x14]
movss xmm0, dword [0x41f744]
movss xmm1, dword [ebp + 0x1c]
movss xmm2, dword [ebp + 0x18]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x40bc26
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x40bc26
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x40bc52
mov ebx, dword [ebp + 0x10]
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm2
movss dword [esp], xmm3
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0040b980
test eax, eax
je 0x40bc55
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x10]
cmp dword [edi + 0x2ade4], 0
jne 0x40bc67
cmp dword [edi + 0x2adec], 0
je 0x40bc77
push ebx
push dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.00409940
test eax, eax
jne 0x40bccb
push 0x41e14c
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40bc93
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [edi + 0x5e24]
push ebx
push 0x2c
push 1
push eax
call esi
mov eax, dword [ebp + 0x10]
mov edi, dword [edi + 0x5e4c]
mov ecx, dword [ebp + 0xc]
push ebx
push 2
shr edi, 1
lea ecx, [eax + ecx*2]
push edi
push ecx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x18

Function at 0x40bce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0xa738]
mov ecx, dword [esi + 0x2b270]
add ebx, ebx
mov edx, dword [esi + 0xa73c]
mov eax, ebx
sub eax, ecx
cmp eax, ebx
jge 0x40bd13
push edi
lea edi, [edx + eax*2]
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
mov dword [esi + 0x5e4c], ebx
mov eax, dword [esi + 0x2b600]
test eax, eax
je 0x40bd9b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40bd9b
cmp ecx, 0xffffffff
jne 0x40bd72
push 0
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [esi + 0x2b604]
mov dword [esi + 0x5e4c], eax
lea eax, [esi + 0x5e24]
push dword [esi + 0x2b600]
push 1
push 0x2c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0x2b600]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x20
pop esi
pop ebx
pop ebp
ret 8
push eax
lea eax, [ebx - 0x2c]
push eax
mov eax, dword [esi + 0xa73c]
add eax, 0x58
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
lea eax, [ebx - 0x2c]
add dword [esi + 0x2b604], eax
pop esi
pop ebx
pop ebp
ret 8
push 0x41e164
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push eax
push ebx
push 1
push dword [esi + 0xa73c]
mov dword [esi + 0x2b600], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x18
mov dword [esi + 0x2b604], ebx
pop esi
pop ebx
pop ebp
ret 8