joyce8/EMBER2024-capa huggingface dataset:
Function at 0x507f3d
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00507eb9
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5080ac
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5080ac
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x508061
jg 0x507f99
test eax, eax
je 0x508057
push 1
push 0x1000
call fcn.00502d30
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x507fbc
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x50804e
push 0x8000
push ebx
call fcn.005010aa
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x507fe5
jg 0x507fe0
cmp ecx, 0x1000
jb 0x507fe5
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0050409f
add esp, 0x10
cmp eax, 0xffffffff
je 0x50802a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x507fe0
jl 0x508011
test ecx, ecx
jne 0x507fd2
push dword [ebp - 0xc]
push ebx
call fcn.005010aa
push esi
call fcn.00502d90
add esp, 0xc
xor ebx, ebx
jmp 0x5080ba
cmp byte [edi + 0x24], 0
je 0x508041
cmp dword [edi + 0x20], 5
jne 0x508041
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x50804c
mov ebx, dword [edi + 0x18]
jmp 0x50804e
xor ebx, ebx
push esi
call fcn.00502d90
pop ecx
jmp 0x5080ba
test ecx, ecx
jg 0x508023
jl 0x508061
test eax, eax
jae 0x508023
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00507e5b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x508081
cmp byte [edi + 0x1c], 0
je 0x508023
jmp 0x5080b2
push ebx
call fcn.00507b95
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x508023
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5080ba
cmp byte [edi + 0x1c], 0
je 0x5080b7
mov ebx, dword [edi + 0x18]
jmp 0x5080ba
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00507e5b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x509aeb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x509b88
push ebx
push esi
call fcn.00509ab4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00509a4a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x509b35
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x509b87
push edi
push eax
call fcn.00504650
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x509b55
call fcn.00502d90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x509b86
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00509a4a
add esp, 0x20
test eax, eax
jne 0x509b74
push edi
call fcn.00502d90
jmp 0x509b7c
push ebx
call fcn.00502d90
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x509b8b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x509b9c
pop esi
ret
push ebx
push edi
push esi
call fcn.00509ab4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00504650
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x509bc4
push ebx
push esi
push edi
call fcn.004f07a0
add esp, 0xc
push 0
call fcn.00502d90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x50a31b
Capabilities:
Set environment variable

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

Function at 0x510720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51074d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51074d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x421890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x4218b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4218b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4218a8
mov eax, 1
add ebx, ebx
jne 0x4218cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4218c0
jne 0x4218dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218c0
xor ecx, ecx
sub eax, 3
jb 0x4218f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421962
mov ebp, eax
add ebx, ebx
jne 0x4218fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42192c
inc ecx
add ebx, ebx
jne 0x421918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42190d
jne 0x421929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42190d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42194c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42193d
jmp 0x4218ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42194c
add edi, ecx
jmp 0x4218ae
pop esi
mov edi, esi
mov ecx, 0x4a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42196a
cmp byte [edi], 2
jne 0x42196a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42196f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21690]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2176c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42199c
mov ecx, edi
jns 0x4219cb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21770]
or eax, eax
je 0x4219e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4219b9
call dword [esi + 0x21778]
mov ebp, dword [esi + 0x21774]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x421a1b
sub esp, 0xffffff80
jmp 0x4077ae
Function at 0x4050ed
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x484084]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.0040535d
mov ebx, eax
cmp ebx, esi
je 0x40514f
cmp dword [esp + 0x10], esi
je 0x40514b
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4051c5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40516d
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.004050ed
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x4051dc
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x405157
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x4051a8
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.0040507f
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x4051c3
push dword [esp + 0x10]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411d83
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x4051ec
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x4051c5
Function at 0x407fa3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x462181
call fcn.0045b9a3
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x407ffb
call fcn.00406d64
mov esi, eax
jmp 0x408105
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x408014
call fcn.00406d64
jmp 0x4080f7
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x40800a
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x408051
mov esi, 0x8007000e
jmp 0x4080f9
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x408066
cmp eax, 0xffffffff
jbe 0x408070
push 0x80070216
call fcn.00405989
cmp eax, 0x400
jbe 0x40809d
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004071da
jmp 0x4080a9
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x408047
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x40800a
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00407e41
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40811e
lea eax, [ebp - 0x418]
call fcn.00406d5b
mov eax, esi
call fcn.0045b9ff
ret 0xc
Function at 0x40bb99
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bbfd
cmp dword [ebp + 0xc], 1
je 0x40bbd5
cmp dword [ebp + 0xc], 2
je 0x40bbd5
push 0xd
pop eax
jmp 0x40bbfd
mov eax, dword [ebp - 4]
test edi, edi
je 0x40bbf7
test eax, eax
je 0x40bbf2
test al, 1
jne 0x40bbd0
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40bbf7
jmp 0x40bbd0
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x411a56
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x486100], 0
push esi
push edi
jne 0x4119cc
call fcn.00411938
test eax, eax
je 0x411a11
mov eax, dword [0x486100]
cmp eax, 1
jne 0x4119ed
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411a11
jmp 0x411a53
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x411a53
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x411a15
xor eax, eax
jmp 0x411a53
mov eax, dword [esi]
push dword [0x486100]
call edi
mov edi, eax
test edi, edi
je 0x411a37
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x411a53
lea edi, [esi + 0xff0]
push esi
push dword [0x486100]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x411a3d
mov eax, esi
pop edi
pop esi
ret
jmp 0x4119b8

Function at 0x411d83
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484084]
jne 0x411d8d
repz ret
jmp fcn.00415012
Function at 0x41f71b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x484084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004181ad
and dword [ebp - 0x14], 0
cmp dword [0x486f44], 0
mov dword [ebp - 0x18], eax
jne 0x41f7ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f876
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41f876
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x486f44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x486f48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x486f4c], eax
call edi
push eax
call esi
mov dword [0x486f54], eax
test eax, eax
je 0x41f7ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x486f50], eax
mov eax, dword [0x486f50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41f827
cmp dword [0x486f54], ecx
je 0x41f827
push eax
call esi
push dword [0x486f54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41f827
test ebx, ebx
je 0x41f827
call edi
test eax, eax
je 0x41f81e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41f81e
test byte [ebp - 8], 1
jne 0x41f827
or dword [ebp + 0x10], 0x200000
jmp 0x41f85a
mov eax, dword [0x486f48]
cmp eax, dword [ebp - 0x18]
je 0x41f85a
push eax
call esi
test eax, eax
je 0x41f85a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41f85a
mov eax, dword [0x486f4c]
cmp eax, dword [ebp - 0x18]
je 0x41f85a
push eax
call esi
test eax, eax
je 0x41f85a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x486f44]
call esi
test eax, eax
je 0x41f876
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41f878
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411d83
leave
ret
Function at 0x421c80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, edx
not eax
mov edx, 0xff
cmp edi, 8
jb 0x421d37
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x465c90]
add ecx, 8
sub edi, 8
dec esi
jne 0x421c9a
pop ebx
test edi, edi
je 0x421d50
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x465c90]
inc ecx
dec edi
jne 0x421d3b
pop edi
not eax
pop esi
ret
Function at 0x444ac0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], 0x46
mov dword [ebp - 8], 0x37
mov eax, dword [ebp - 8]
push esi
push 0xfffffffffffffffb
pop ecx
sub ecx, eax
add ecx, dword [ebp - 4]
push 0x19
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
imul ecx, eax
mov eax, dword [ebp - 4]
cdq
pop esi
idiv esi
push 0xfffffffffffffff4
pop esi
push dword [ebp + 8]
add ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
imul eax, eax, 0x12
sub eax, ecx
mov ecx, dword [ebp - 4]
shl eax, 2
sub eax, ecx
add eax, dword [ebp - 8]
add eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
imul eax, eax, 9
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
imul ecx, eax
mov eax, dword [ebp - 8]
cdq
idiv esi
sub eax, ecx
mov ecx, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
sub eax, ecx
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx + 7]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub eax, ecx
add eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, ecx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
leave
ret 4

Function at 0x444dc9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0x3c
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 8], 0x45
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
imul eax, ecx
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xffffffc0
sub ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
imul eax, edx
add ecx, eax
mov eax, dword [ebp - 4]
imul eax, eax, 0xf
add ecx, eax
mov eax, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 8]
lea eax, [ecx + eax - 0x19]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jg 0x444e67
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jne 0x444e67
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jl 0x444e67
mov eax, dword [ebp - 0x10]
xor ecx, ecx
inc ecx
sub ecx, eax
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 8]
imul eax, eax, 0x63
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret 0xc
Function at 0x448813
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x448826
xor eax, eax
leave
ret
fld qword [0x47ed08]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [0x47ed00]
fadd qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x47ed50]
fadd qword [ebp - 8]
fadd qword [ebp - 8]
fadd qword [ebp - 8]
fadd qword [ebp - 8]
fsub qword [0x47ece8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x47ed70]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fadd qword [ebp - 8]
fld qword [ebp - 8]
fdiv qword [0x47ecf8]
faddp st(1)
fld qword [ebp - 8]
fmul qword [0x47ed38]
faddp st(1)
fadd qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x47ede8]
faddp st(1)
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x47ed68]
fadd qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x47ecf0]
fsubp st(1)
fsub qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [ebp - 8]
faddp st(1)
fsub qword [ebp - 8]
fld qword [ebp - 8]
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
fmul qword [0x47ed78]
faddp st(1)
fstp qword [ebp - 8]
jne 0x448822
mov eax, dword [eax + ecx + 0x98]
test eax, eax
je 0x448822
add eax, ecx
leave
ret
Function at 0x10002c87
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10017038]
jne 0x10002c91
repz ret
jmp fcn.1000379c

Function at 0x10009a2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10017038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100053f8
and dword [ebp - 0x14], 0
cmp dword [0x10019128], 0
mov dword [ebp - 0x18], eax
jne 0x10009adf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10009b87
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10009b87
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10012234
push ebx
mov dword [0x10019128], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001912c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10019130], eax
call edi
push eax
call esi
mov dword [0x10019138], eax
test eax, eax
je 0x10009adf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10019134], eax
mov eax, dword [0x10019134]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10009b38
cmp dword [0x10019138], ecx
je 0x10009b38
push eax
call esi
push dword [0x10019138]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10009b38
test ebx, ebx
je 0x10009b38
call edi
test eax, eax
je 0x10009b2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10009b2f
test byte [ebp - 8], 1
jne 0x10009b38
or dword [ebp + 0x10], 0x200000
jmp 0x10009b6b
mov eax, dword [0x1001912c]
cmp eax, dword [ebp - 0x18]
je 0x10009b6b
push eax
call esi
test eax, eax
je 0x10009b6b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10009b6b
mov eax, dword [0x10019130]
cmp eax, dword [ebp - 0x18]
je 0x10009b6b
push eax
call esi
test eax, eax
je 0x10009b6b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10019128]
call esi
test eax, eax
je 0x10009b87
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10009b89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002c87
leave
ret