joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009492
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x1009d20
call fcn.01009aa8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
push ebx
push esi
push 0x100b674
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x100936f
cmp eax, esi
jne 0x1009362
xor esi, esi
inc esi
mov edi, esi
jmp 0x1009372
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1009346
xor esi, esi
inc esi
cmp dword [0x100b678], esi
jne 0x1009384
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10093be
cmp dword [0x100b678], ebx
jne 0x10093b8
mov dword [0x100b678], esi
push 0x100108c
push 0x1001080
call fcn.01009306
pop ecx
pop ecx
test eax, eax
je 0x10093be
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100948c
mov dword [0x100b324], esi
cmp dword [0x100b678], esi
jne 0x10093e1
push 0x100107c
push 0x1001074
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100b678], 2
test edi, edi
jne 0x10093f1
push ebx
push 0x100b674
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100b680], 0
je 0x1009413
push 0x100b680
call fcn.01009930
pop ecx
test eax, eax
je 0x1009413
push ebx
push 2
push ebx
call dword [0x100b680]
push dword [0x100b330]
push dword [0x100b32c]
push dword [0x100b328]
call fcn.01009200
add esp, 0xc
mov dword [0x100b320], eax
cmp dword [0x100b338], 0
jne 0x1009471
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100b324], 0
jne 0x1009485
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100b320]
mov dword [ebp - 4], 0xfffffffe
call fcn.01009aed
ret
call fcn.010099ec
jmp 0x100932a

Function at 0x10098a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10098b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10098d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x10098e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x100991e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1009916
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1009920
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1009906
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edx, esi
mov edi, 0x39e00
mov cl, byte [edx + 0x1001c850]
mov eax, dword [0x10056650]
xor cl, al
xor cl, ah
xor cl, byte [0x10056652]
xor cl, byte [0x10056653]
mov byte [edx + 0x1001c850], cl
inc edx
cmp edx, edi
jb 0x1000106b
xor byte [esi + 0x1001c850], 0x34
inc esi
cmp esi, edi
jl 0x10001091
sub esp, 0x10
mov edx, edi
call fcn.10001921
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100010c9
mov ecx, esi
call fcn.10001ba8
push dword [0x10057428]
call eax
pop ecx
pop edi
mov ecx, esi
pop esi
jmp fcn.10001c4f
pop edi
pop esi
ret

Function at 0x1000115c
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x10057404], 0x20
push sym.service.dll_ServiceHandler
push str.wuauserv
mov dword [0x10057408], 2
mov dword [0x1005740c], 5
mov dword [0x10057414], ebx
mov dword [0x10057410], ebx
mov dword [0x10057418], ebx
mov dword [0x1005741c], ebx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
mov dword [0x10057420], eax
test eax, eax
je 0x100012c1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0x10057404
push eax
mov dword [0x10057408], 4
mov dword [0x10057418], ebx
mov dword [0x1005741c], ebx
call edi
test eax, eax
je 0x100012c0
push esi
push ebx
call fcn.1000596d
push eax
call fcn.100059d0
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 6
xor edx, edx
pop ecx
div ecx
lea esi, [edx + 2]
call fcn.100059af
cdq
idiv esi
push ebx
push ebx
push ebx
push ebx
lea esi, [edx + 1]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x10057424], eax
test eax, eax
je 0x10001232
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100012bf
mov eax, dword [0x10057424]
test esi, esi
je 0x10001250
push ebx
push ebx
push ebx
push 0x100010cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esi, 1
jne 0x10001236
mov eax, dword [0x10057424]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001263
push 0xa
call esi
cmp dword [0x10057408], 3
jne 0x1000125f
push 0x10057404
push dword [0x10057420]
xor ebx, ebx
mov dword [0x1005741c], 0x3e8
inc ebx
mov dword [0x10057408], ebx
call edi
push ebx
call esi
push 2
pop edi
push edi
call esi
push 0
call esi
push edi
call esi
push ebx
call esi
push 6
call esi
push ebx
call esi
push 3
call esi
push edi
call esi
push 4
call esi
push ebx
call esi
push edi
call esi
push 4
call esi
push 5
call esi
pop esi
pop edi
pop ebx
ret 8
Function at 0x10001301
Capabilities:
Create thread

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
and esi, 7
add esi, 2
call fcn.100059af
cdq
xor edi, edi
idiv esi
push edi
push edi
push edi
push edi
lea esi, [edx + 1]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x10057424], eax
test eax, eax
je 0x10001343
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10001375
mov eax, dword [0x10057424]
test esi, esi
je 0x10001361
push edi
push edi
push edi
push 0x100010f0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esi, 1
jne 0x10001347
mov eax, dword [0x10057424]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001368
pop edi
pop esi
ret 8
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182e8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xadffc4], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182f0]
mov eax, dword [0x4182f4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xadffc4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xadffc0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xadffc4], 0x3eb
mov dword [0xadffc0], eax
mov eax, dword [0xadff18]
cmove eax, dword [ebp - 0xc]
mov dword [0xadff18], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xadffbc], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xadffc4], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c0e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408890
mov dword [ebp - 0x14], eax
cmp dword [0x43b7b8], esi
jne 0x40c1d5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c162
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c2b5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c2b5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c2b5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43b7b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43b7bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43b7c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b7c8], eax
test eax, eax
je 0x40c1d2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b7c4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c1fa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1ed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c20f
push 4
pop eax
jmp 0x40c2b7
cmp dword [ebp - 0x14], esi
je 0x40c20f
push dword [0x43b7b8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c1f4
mov eax, dword [0x43b7c4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c26d
cmp dword [0x43b7c8], edi
je 0x40c26d
push eax
call ebx
push dword [0x43b7c8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c26d
test eax, eax
je 0x40c26d
call ecx
test eax, eax
je 0x40c262
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c262
test byte [ebp - 8], 1
jne 0x40c26d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c29d
mov eax, dword [0x43b7bc]
cmp eax, edi
je 0x40c29a
push eax
call ebx
test eax, eax
je 0x40c29a
call eax
mov esi, eax
test esi, esi
je 0x40c29a
mov eax, dword [0x43b7c0]
cmp eax, edi
je 0x40c29a
push eax
call ebx
test eax, eax
je 0x40c29a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43b7b8]
call ebx
test eax, eax
je 0x40c2b5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c2b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403da7
mov esp, ebp
pop ebp
ret
Function at 0x5be0aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5be0e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5be0e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5be0e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5be0e9
cmp dword [ecx + 0x74], 0xe
jbe 0x5be0e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5c5398
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 0x5c5435
push ebx
push esi
call fcn.005c5361
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.005c52f5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5c53e2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5c5434
push edi
push eax
call fcn.005c3cfb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5c5402
call fcn.005c3d49
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5c5433
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005c52f5
add esp, 0x20
test eax, eax
jne 0x5c5421
push edi
call fcn.005c3d49
jmp 0x5c5429
push ebx
call fcn.005c3d49
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 0x5c6644
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5cebb0
push 0x5ceba8
push str.FlsAlloc
push 0x1f
call fcn.005c6503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5c6678
push dword [ebp + 8]
mov ecx, esi
call dword [0x5cc134]
call esi
jmp 0x5c667e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5c66c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5cebc0
push 0x5cebb8
push str.FlsGetValue
push 0x21
call fcn.005c6503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5c66f9
push dword [ebp + 8]
mov ecx, esi
call dword [0x5cc134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5c6701
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5cebc8
push 0x5cebc0
push str.FlsSetValue
push 0x22
call fcn.005c6503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5c673b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5cc134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5cbb00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5cbb2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5cbb2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401e10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor eax, eax
mov word [esp + 0xc], ax
fst dword [esp + 0x10]
fstp dword [esp + 0x14]
push edi
call fcn.0040b267
mov ebx, dword [esp + 0x20]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b340
mov ax, word [esp + 0x1c]
cwde
mov edx, dword [0x4277e4]
mov dword [esp + 0x30], eax
add esp, 0x10
add edi, esi
fild dword [esp + 0x20]
mov ecx, esi
fadd qword [0x4232d8]
fld dword [esp + 0x14]
fsub dword [esp + 0x10]
fsub qword [0x41f400]
fcompp
fnstsw ax
fld dword [esp + 0x10]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fadd qword [0x4232d8]
fstp qword [0x4232d8]
dec dword [esp + 0xc]
test ah, 5
jp 0x401eb5
fld dword [0x424164]
mov ax, word [esp + 0xc]
cwde
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
faddp st(1)
fstp dword [0x424164]
inc dword [esp + 0xc]
sub ebx, 0x423004
add edx, ebx
cmp esi, edi
je 0x401ecb
mov al, byte [edx]
xor byte [ecx], al
inc ecx
inc edx
cmp ecx, edi
jne 0x401ec1
mov cx, word [0x424220]
mov ax, word [esp + 0xc]
movsx edx, cx
mov dword [esp + 0x20], edx
movsx ecx, ax
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fld qword [0x423120]
faddp st(2)
fsubrp st(1)
call fcn.0040b060
mov word [esp + 0xc], ax
dec word [0x424220]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x402990
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x64
fldz
push ebx
fstp dword [esp + 4]
push esi
fld1
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov ax, word [0x4233a0]
movsx ecx, ax
mov ebx, 1
add word [0x4233a0], bx
add ecx, 0x3bcf0c52
cmp ecx, 0x1a463ec4
jge 0x4029fb
mov dx, word [0x423314]
movsx eax, dx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [0x42348c]
fadd dword [esp + 8]
fsub qword [0x41f4c0]
fsubp st(1)
call fcn.0040b060
mov word [0x423314], ax
jmp 0x402a69
dec dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fsub dword [esp + 8]
mov edx, dword [esp + 0xc]
dec dword [esp + 0xc]
mov dword [esp + 0x14], edx
fisub dword [esp + 0x14]
fcomp qword [0x41f4b8]
fnstsw ax
test ah, 0x41
jne 0x402a73
fld dword [esp + 8]
fadd dword [esp + 8]
mov eax, dword [esp + 0xc]
mov cx, word [0x425110]
mov dword [esp + 0x14], eax
fisub dword [esp + 0x14]
movsx edx, cx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmulp st(1)
call fcn.0040b060
mov word [0x425110], ax
fld dword [esp + 8]
fadd st(1)
fstp dword [esp + 8]
fld dword [esp + 8]
fadd st(1)
fstp dword [esp + 8]
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
add dword [esp + 0x10], 0x8f131699
fld dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
fisub dword [esp + 0x14]
mov dword [esp + 0x54], ebx
xor ecx, ecx
fadd qword [0x423338]
fstp qword [0x423338]
dec dword [esp + 0xc]
mov dx, word [0x423378]
movsx eax, dx
mov dword [esp + 0x14], eax
mov word [esp + 0x5a], cx
fild dword [esp + 0x14]
fld dword [esp + 8]
fsubr qword [0x41f4b0]
fsubp st(1)
call fcn.0040b060
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
push edx
push esi
push esi
push 8
push esi
push esi
mov word [0x423378], ax
fadd dword [esp + 0x24]
mov eax, dword [esp + 0x90]
push esi
push eax
fstp dword [esp + 0x2c]
push ecx
mov dword [esp + 0x84], esi
mov word [esp + 0x80], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
fld dword [esp + 8]
fsub qword [0x41f348]
pop esi
pop ebx
fstp dword [esp]
fld dword [esp]
fsub qword [0x41f4a8]
fcomp qword [0x41f4a0]
fnstsw ax
test ah, 1
jne 0x402b66
mov edx, dword [esp + 4]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fld qword [0x424c10]
fsub qword [0x41f498]
fsubp st(1)
call fcn.0040b060
mov dword [esp + 4], eax
add esp, 0x64
ret
Function at 0x402b70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fst dword [esp + 0xc]
push edi
xor eax, eax
push 3
mov word [esp + 0x10], ax
fstp dword [esp + 0x10]
push 0x4242e0
call fcn.00401e10
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040ba8e
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x402bf0
fld dword [esp + 0x10]
push 0x3e8
fadd qword [0x423448]
fsub dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fsubr qword [0x423448]
fstp qword [0x423448]
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040ba8e
mov edi, eax
add esp, 8
test edi, edi
je 0x402c12
fld dword [0x41f4c8]
push edi
push 1
fstp dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 4
push ecx
call fcn.0040b948
push edi
call fcn.0040b76a
add esp, 0x14
fldz
xor eax, eax
mov word [esi], ax
fstp qword [esp + 0x10]
xor edx, edx
mov byte [esi + 2], al
mov word [esp + 0xc], dx
movzx eax, word [0x425ea4]
add eax, 0x224ec574
push esi
mov word [0x425ea4], ax
call fcn.0040b18a
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x404190
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
fldz
push ebx
xor eax, eax
fstp dword [esp + 8]
xor ecx, ecx
push 0x2e
mov word [esp + 0x10], ax
push 0x424300
mov word [esp + 0xc], cx
call fcn.00401e10
add esp, 8
lea edx, [esp + 0x10]
push edx
mov ebx, eax
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4042e2
mov ax, word [esp + 0xc]
movsx ecx, ax
mov edx, 0x5739c5a7
sub edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld qword [0x4232d8]
fcompp
fnstsw ax
fld qword [0x4232d8]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x4232d8]
test ah, 0x41
jp 0x40423f
mov ax, word [esp + 0xc]
movsx ecx, ax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fadd dword [esp + 8]
dec dword [esp + 0xc]
fcomp qword [0x41f638]
fnstsw ax
test ah, 1
jne 0x40423f
fld dword [esp + 8]
fstp st(0)
fsubr dword [esp + 8]
fstp dword [esp + 8]
jmp 0x404241
fstp st(0)
push esi
push edi
push 0x34
push 0x42410c
call fcn.00401e10
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404260
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x20]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fld dword [esp + 0x10]
movzx eax, word [esp + 0xc]
fsub qword [0x41f630]
movsx ecx, ax
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmulp st(1)
call fcn.0040b060
mov word [esp + 0xc], ax
fld dword [esp + 0x10]
fadd qword [0x41f348]
xor edx, edx
push 0x34
push edx
fstp dword [esp + 0x18]
push esi
fldz
fstp qword [esp + 0x28]
mov word [esp + 0x18], dx
call fcn.0040b110
movzx eax, word [0x425ea4]
add eax, 0x224ec574
push esi
mov word [0x425ea4], ax
call fcn.0040b18a
add esp, 0x10
pop edi
pop esi
fldz
xor ecx, ecx
push 0x2e
fstp qword [esp + 0x18]
push ecx
mov word [esp + 0xc], cx
push ebx
call fcn.0040b110
movzx edx, word [0x425ea4]
add edx, 0x224ec574
push ebx
mov word [0x425ea4], dx
call fcn.0040b18a
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 0x18
ret
Function at 0x40b6e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425fd0]
jne 0x40b6ee
repz ret
jmp fcn.0040f8e1

Function at 0x416704
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.00410e3d
and dword [ebp - 4], 0
cmp dword [0x428254], 0
mov ebx, eax
jne 0x4167b5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416866
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a38
push edi
call esi
test eax, eax
je 0x416866
push eax
call fcn.00410dcb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428254], eax
call esi
push eax
call fcn.00410dcb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428258], eax
call esi
push eax
call fcn.00410dcb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42825c], eax
call esi
push eax
call fcn.00410dcb
pop ecx
mov dword [0x428264], eax
test eax, eax
je 0x4167b5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410dcb
pop ecx
mov dword [0x428260], eax
mov eax, dword [0x428260]
cmp eax, ebx
je 0x41680d
cmp dword [0x428264], ebx
je 0x41680d
push eax
call fcn.00410e46
push dword [0x428264]
mov esi, eax
call fcn.00410e46
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41680d
test edi, edi
je 0x41680d
call esi
test eax, eax
je 0x416804
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416804
test byte [ebp - 0xc], 1
jne 0x41680d
or dword [ebp + 0x10], 0x200000
jmp 0x416846
mov eax, dword [0x428258]
cmp eax, ebx
je 0x416846
push eax
call fcn.00410e46
pop ecx
test eax, eax
je 0x416846
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416846
mov eax, dword [0x42825c]
cmp eax, ebx
je 0x416846
push eax
call fcn.00410e46
pop ecx
test eax, eax
je 0x416846
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428254]
call fcn.00410e46
pop ecx
test eax, eax
je 0x416866
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416868
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret