joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a200
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100bce7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
push 0x100955e0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec74
push 7
push 0x1004a680
mov edx, dword [ebp - 4]
push edx
push str.CreateProcessA
call fcn.10011a30
add esp, 0x14
push 0x10095600
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec70
push 7
push 0x1004a7b0
mov ecx, dword [ebp - 4]
push ecx
push 0x10095610
call fcn.10011a30
add esp, 0x14
mov edx, dword [str.advapi32.dll]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1004a298
mov eax, dword [str.advapi32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
push 0x10095620
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec78
push 9
push 0x1004a8e0
mov edx, dword [ebp - 4]
push edx
push str.CreateProcessAsUserW
call fcn.10011a30
add esp, 0x14
push 0x10095650
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec7c
push 9
push 0x1004aa70
mov ecx, dword [ebp - 4]
push ecx
push str.CreateProcessWithLogonW
call fcn.10011a30
add esp, 0x14
push 0x10095680
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec80
push 9
push 0x1004abb0
mov eax, dword [ebp - 4]
push eax
push str.CreateProcessWithTokenW
call fcn.10011a30
add esp, 0x14
push 0x100956b0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x100bec88
push 9
push 0x1004ad40
mov edx, dword [ebp - 4]
push edx
push str.SetTokenInformation
call fcn.10011a30
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1004a3d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ee88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x1004a406
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
cmp dword [ebp + 0xc], 0
jne 0x1004a410
xor eax, eax
jmp 0x1004a48b
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.10011840
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10010070
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.100116d0
add esp, 8
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x34]
call fcn.10004ae0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x34]
call fcn.10004130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1000fe60
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1004a4a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1004a4c1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
cmp dword [ebp + 0xc], 0
jne 0x1004a4cb
xor eax, eax
jmp 0x1004a4f8
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1004a540
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006eeb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
lea ecx, [ebp - 0x1b0]
call fcn.10004da0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
call fcn.10004eb0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.10002720
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.10002890
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xdc]
call fcn.10002e20
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.10002e40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.10004ae0
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.10011780
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10010070
push eax
push str.Injecting_to_child_process._Status:__s_n
mov eax, dword [0x100beb90]
push eax
call fcn.1000e6e0
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x1004a62a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1000fe60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10004130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.10047a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.10047a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
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
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x405b82
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x486084]
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.00405df2
mov ebx, eax
cmp ebx, esi
je 0x405be4
cmp dword [esp + 0x10], esi
je 0x405be0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405c5a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x405c02
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00405b82
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x405c71
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 0x405bec
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x405c3d
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.00405b14
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x405c58
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.00412683
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x405c81
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x405c5a
Function at 0x408a0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4630af
call fcn.0045c868
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 0x408a65
call fcn.004077c7
mov esi, eax
jmp 0x408b6f
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x408a7e
call fcn.004077c7
jmp 0x408b61
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x408a74
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 0x408abb
mov esi, 0x8007000e
jmp 0x408b63
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x408ad0
cmp eax, 0xffffffff
jbe 0x408ada
push 0x80070216
call fcn.0040641e
cmp eax, 0x400
jbe 0x408b07
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00407c68
jmp 0x408b13
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x408ab1
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 0x408a74
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.004088ad
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x408b88
lea eax, [ebp - 0x418]
call fcn.00407c52
mov eax, esi
call fcn.0045c8c4
ret 0xc
Function at 0x40ab04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4607b7
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x486084]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x486084]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00414750
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x30]
push 0x3ff
push eax
call fcn.00414fcb
fld qword [0x4809f8]
mov byte [esp + 0x437], 0
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
lea eax, [esp + 0x38]
fsub qword [0x4809f0]
add esp, 0x1c
lea ecx, [esp + 0x10]
fstp qword [esp + 4]
fld qword [esp + 4]
fmul qword [0x4809e8]
fadd qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 4]
fadd qword [0x4809e0]
fsub qword [esp + 4]
fsub qword [esp + 4]
fsub qword [0x4809d8]
fstp qword [esp + 4]
fld qword [esp + 4]
fadd qword [esp + 4]
fld qword [esp + 4]
fldz
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 4]
fstp qword [esp + 4]
fld qword [esp + 4]
fsub qword [esp + 4]
fld qword [esp + 4]
fmul qword [esp + 4]
fsubp st(1)
fadd qword [esp + 4]
fsub qword [esp + 4]
fsub qword [esp + 4]
fadd qword [0x4809c8]
fstp qword [esp + 4]
fld qword [esp + 4]
fsub qword [esp + 4]
fsub qword [esp + 4]
fsub qword [0x4809c0]
fadd qword [esp + 4]
fsubrp st(1)
fld qword [esp + 4]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [esp + 4]
fld qword [esp + 4]
fld qword [esp + 4]
fmul qword [0x4809b0]
fsubp st(1)
fsub qword [0x4809a8]
fadd qword [esp + 4]
fadd qword [0x4809a0]
fsub qword [esp + 4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
fstp qword [esp + 8]
call fcn.0041271a
and dword [esp + 0x430], 0
push eax
mov ecx, esi
call fcn.00412741
or dword [esp + 0x430], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00412776
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00412683
mov esp, ebp
pop ebp
ret
Function at 0x40c7f6
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 0x40c85a
cmp dword [ebp + 0xc], 1
je 0x40c832
cmp dword [ebp + 0xc], 2
je 0x40c832
push 0xd
pop eax
jmp 0x40c85a
mov eax, dword [ebp - 4]
test edi, edi
je 0x40c854
test eax, eax
je 0x40c84f
test al, 1
jne 0x40c82d
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40c854
jmp 0x40c82d
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x412356
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x488100], 0
push esi
push edi
jne 0x4122cc
call fcn.00412238
test eax, eax
je 0x412311
mov eax, dword [0x488100]
cmp eax, 1
jne 0x4122ed
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412311
jmp 0x412353
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x412353
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 0x412315
xor eax, eax
jmp 0x412353
mov eax, dword [esi]
push dword [0x488100]
call edi
mov edi, eax
test edi, edi
je 0x412337
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x412353
lea edi, [esi + 0xff0]
push esi
push dword [0x488100]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41233d
mov eax, esi
pop edi
pop esi
ret
jmp 0x4122b8

Function at 0x412683
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x486084]
jne 0x41268d
repz ret
jmp fcn.00415912
Function at 0x42001b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x486084]
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.00418a18
and dword [ebp - 0x14], 0
cmp dword [0x488f44], 0
mov dword [ebp - 0x18], eax
jne 0x4200ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420176
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x420176
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x488f44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x488f48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x488f4c], eax
call edi
push eax
call esi
mov dword [0x488f54], eax
test eax, eax
je 0x4200ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x488f50], eax
mov eax, dword [0x488f50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x420127
cmp dword [0x488f54], ecx
je 0x420127
push eax
call esi
push dword [0x488f54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420127
test ebx, ebx
je 0x420127
call edi
test eax, eax
je 0x42011e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42011e
test byte [ebp - 8], 1
jne 0x420127
or dword [ebp + 0x10], 0x200000
jmp 0x42015a
mov eax, dword [0x488f48]
cmp eax, dword [ebp - 0x18]
je 0x42015a
push eax
call esi
test eax, eax
je 0x42015a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42015a
mov eax, dword [0x488f4c]
cmp eax, dword [ebp - 0x18]
je 0x42015a
push eax
call esi
test eax, eax
je 0x42015a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x488f44]
call esi
test eax, eax
je 0x420176
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420178
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412683
leave
ret
Function at 0x43dddf
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
fld qword [0x480ae8]
push esi
fstp qword [ebp - 0x18]
mov esi, eax
fld qword [0x480a40]
push edi
fstp qword [ebp - 0x10]
fld qword [0x480958]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fcomp qword [ebp - 8]
fnstsw ax
test ah, 0x41
jne 0x43de73
fld qword [ebp - 8]
fmul qword [0x480908]
fmul qword [ebp - 0x10]
fmul qword [0x4809d8]
fmul qword [ebp - 8]
fld qword [ebp - 8]
fld qword [0x480920]
fmul st(1), st(0)
fld qword [ebp - 8]
faddp st(2)
fxch st(2)
faddp st(1)
fsub qword [ebp - 8]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [ebp - 0x10]
fld qword [ebp - 8]
fld qword [0x480990]
fsub st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [0x480ac0]
fsub qword [ebp - 0x18]
faddp st(2)
fld qword [ebp - 8]
fmul qword [ebp - 0x10]
fsubp st(2)
fxch st(1)
fstp qword [ebp - 0x18]
fadd qword [ebp - 8]
fstp qword [ebp - 0x10]
call fcn.0043c6b7
test al, al
jne 0x43de80
xor al, al
jmp 0x43deb6
inc dword [esi + 0x1c]
cmp dword [esi + 0x14], 0
jne 0x43de7c
and dword [esi + 0x18], 0
mov edi, dword [esi + 0x10]
call fcn.004450da
push edi
call dword [eax + 0x58]
push esi
push 0x43ddaf
call fcn.00444b4e
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
cmp dword [esi + 0x14], eax
setne al
pop edi
pop esi
leave
ret

Function at 0x4411f6
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
mov ebx, eax
jb 0x441206
mov eax, dword [esi]
jmp 0x441208
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441217
xor al, al
jmp 0x441241
test bl, 3
jne 0x441220
mov al, 1
jmp 0x441241
cmp dword [esi + 0x14], 8
jb 0x441228
mov esi, dword [esi]
push esi
call fcn.00445a41
test eax, eax
je 0x441237
and ebx, 2
jmp 0x44123a
and ebx, 1
xor eax, eax
test ebx, ebx
setne al
pop esi
pop ebx
ret
Function at 0x441244
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, esi
mov dword [ebp - 8], 0x25
call fcn.0040a265
cmp eax, 0xffffffff
je 0x441332
cmp dword [esi + 0x14], 8
jb 0x441274
mov eax, dword [esi]
jmp 0x441276
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x441313
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412590
cmp dword [esi + 0x14], 8
pop ecx
mov dword [ebp - 4], eax
jb 0x4412af
mov eax, dword [esi]
jmp 0x4412b1
mov eax, esi
push ebx
push dword [ebp - 4]
push eax
call edi
test eax, eax
je 0x4412cd
push dword [ebp - 4]
call fcn.00413f23
pop ecx
mov ecx, dword [ebp - 4]
call fcn.00406250
fld qword [0x480a18]
push dword [ebp - 4]
fstp qword [ebp - 0x18]
fld qword [0x4809b0]
fst qword [ebp - 0x18]
fld qword [0x480a10]
fst qword [ebp - 0x18]
fld qword [0x480a08]
fstp qword [ebp - 0x18]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x18]
fadd qword [0x480a00]
fsub qword [ebp - 0x10]
faddp st(1)
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
call fcn.00413d21
pop ecx
jmp 0x441332
call fcn.004450da
call dword [eax + 0x3c]
push eax
push dword [0x487250]
push dword [0x48722c]
push 1
call fcn.00444761
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x444b4e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
fld qword [0x4808e0]
xor eax, eax
fstp qword [ebp - 0x10]
push eax
fld qword [0x480a48]
fstp qword [ebp - 8]
fld qword [ebp - 0x10]
fsub qword [ebp - 8]
fsub qword [ebp - 8]
fadd qword [ebp - 0x10]
fld qword [ebp - 8]
fmul qword [0x4809d8]
faddp st(1)
fstp qword [ebp - 0x10]
fld qword [ebp - 8]
fmul qword [0x480a58]
fadd qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fld qword [0x480a18]
fadd st(1), st(0)
fxch st(1)
fstp qword [ebp - 8]
fld qword [ebp - 0x10]
fsub qword [0x480a40]
fadd qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x480a38]
fsubp st(1)
fld qword [0x480948]
fsub st(1), st(0)
fld qword [ebp - 8]
fsubp st(2)
fld qword [ebp - 0x10]
faddp st(2)
fld qword [ebp - 8]
fsubp st(2)
fld qword [ebp - 8]
fsubp st(2)
fxch st(1)
faddp st(2)
fld qword [ebp - 8]
fsubp st(2)
fld qword [0x480a30]
fsub st(2), st(0)
fld qword [ebp - 8]
faddp st(3)
fxch st(2)
fstp qword [ebp - 0x10]
fld qword [ebp - 8]
fmul qword [ebp - 0x10]
fsub qword [0x480a28]
fadd qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [ebp - 0x10]
fstp qword [ebp - 8]
fmul qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 8]
fld qword [ebp - 8]
fmulp st(2)
fld qword [ebp - 8]
fmulp st(2)
fsubrp st(1)
fsub qword [0x480a00]
fld qword [ebp - 8]
fmul qword [ebp - 0x10]
faddp st(1)
fld qword [ebp - 0x10]
fmul qword [0x480a20]
faddp st(1)
fsub qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x480908]
faddp st(1)
fadd qword [ebp - 8]
fstp qword [ebp - 0x10]
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret 8