joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ef65
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10068758]
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.100502d8
mov dword [ebp - 0x14], eax
cmp dword [0x106552c0], esi
jne 0x1005f058
push 0x800
push esi
push 0x10008040
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005efe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005f138
push esi
push esi
push 0x10008040
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005f138
push 0x10008058
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005f138
push eax
call ebx
push 0x10008064
push edi
mov dword [0x106552c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10008074
push edi
mov dword [0x106552c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10008088
push edi
mov dword [0x106552c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106552d0], eax
test eax, eax
je 0x1005f055
push 0x100080a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x106552cc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005f07d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005f070
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005f092
push 4
pop eax
jmp 0x1005f13a
cmp dword [ebp - 0x14], esi
je 0x1005f092
push dword [0x106552c0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005f077
mov eax, dword [0x106552cc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005f0f0
cmp dword [0x106552d0], edi
je 0x1005f0f0
push eax
call ebx
push dword [0x106552d0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005f0f0
test eax, eax
je 0x1005f0f0
call ecx
test eax, eax
je 0x1005f0e5
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 0x1005f0e5
test byte [ebp - 8], 1
jne 0x1005f0f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005f120
mov eax, dword [0x106552c4]
cmp eax, edi
je 0x1005f11d
push eax
call ebx
test eax, eax
je 0x1005f11d
call eax
mov esi, eax
test esi, esi
je 0x1005f11d
mov eax, dword [0x106552c8]
cmp eax, edi
je 0x1005f11d
push eax
call ebx
test eax, eax
je 0x1005f11d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x106552c0]
call ebx
test eax, eax
je 0x1005f138
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005f13a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004d92a
mov esp, ebp
pop ebp
ret
Function at 0x401180
Capabilities:
Hide graphical window

Disassembly:
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a138
push 0x41a200
push 0
mov dword [0x41a130], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x41bed0], eax
test eax, eax
jne 0x4011bb
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41bed0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00401320
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4015b0
Capabilities:
Get common file path

Disassembly:
push esi
push 0x1c1c
push 1
call fcn.00404038
mov esi, eax
add esp, 8
test esi, esi
jne 0x4015cb
lea eax, [esi + 1]
pop esi
ret
cmp dword [esi], 0
push edi
je 0x4015f7
cmp dword [esi + 0x1004], 0
je 0x4015f7
lea edi, [esi + 4]
push str.______itunesSdkExploreInit:_Entered
push edi
call fcn.00401300
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
add esp, 8
push edi
push 1
call edx
mov edi, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push edi
lea eax, [esi + 0x1c0c]
push ebx
push eax
mov dword [esi + 0x1c08], 0
call fcn.00401a60
add esp, 0xc
test eax, eax
jne 0x401635
lea ecx, [esi + 0x1408]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40163e
pop ebx
pop edi
mov eax, 1
pop esi
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x1004], ebx
mov dword [esi], edi
pop ebx
mov dword [esi + 0x1c10], edx
mov dword [esi + 0x1c14], 0
mov dword [esi + 0x1c18], 0
mov dword [eax], esi
pop edi
xor eax, eax
pop esi
ret

Function at 0x401990
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4019a0
lea eax, [ebx + 1]
pop ebx
pop ecx
ret
push edi
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4019b0
lea eax, [edi + 1]
pop edi
pop ebx
pop ecx
ret
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4019b5
sub eax, edx
sar eax, 1
push esi
lea esi, [eax + eax + 2]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4019d9
mov eax, 0x80000000
jmp 0x4019fb
cmp eax, 2
jne 0x4019e5
mov eax, SysStringLen
jmp 0x4019fb
cmp eax, 4
jne 0x4019f1
mov eax, 0x80000001
jmp 0x4019fb
cmp eax, 3
jne 0x401a50
mov eax, SysStringLen
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0x416218
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x401a50
push esi
push edi
push 1
push eax
mov eax, dword [esp + 0x28]
push 0x416218
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401a50
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
pop esi
sbb eax, eax
pop edi
neg eax
pop ebx
pop ecx
ret
pop esi
pop edi
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x403c88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418074]
jne 0x403c92
repz ret
jmp fcn.00404ca2
Function at 0x40a834
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00409cbc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00409c71
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00409cac
pop ecx
bound ecx, qword [eax]
aas
Function at 0x40c765
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.00404e1a
and dword [ebp - 4], 0
cmp dword [0x41a000], 0
mov ebx, eax
jne 0x40c816
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c8c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c8c7
push eax
call fcn.00404da8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41a000], eax
call esi
push eax
call fcn.00404da8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41a004], eax
call esi
push eax
call fcn.00404da8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41a008], eax
call esi
push eax
call fcn.00404da8
pop ecx
mov dword [0x41a010], eax
test eax, eax
je 0x40c816
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404da8
pop ecx
mov dword [0x41a00c], eax
mov eax, dword [0x41a00c]
cmp eax, ebx
je 0x40c86e
cmp dword [0x41a010], ebx
je 0x40c86e
push eax
call fcn.00404e23
push dword [0x41a010]
mov esi, eax
call fcn.00404e23
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c86e
test edi, edi
je 0x40c86e
call esi
test eax, eax
je 0x40c865
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c865
test byte [ebp - 0xc], 1
jne 0x40c86e
or dword [ebp + 0x10], 0x200000
jmp 0x40c8a7
mov eax, dword [0x41a004]
cmp eax, ebx
je 0x40c8a7
push eax
call fcn.00404e23
pop ecx
test eax, eax
je 0x40c8a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c8a7
mov eax, dword [0x41a008]
cmp eax, ebx
je 0x40c8a7
push eax
call fcn.00404e23
pop ecx
test eax, eax
je 0x40c8a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41a000]
call fcn.00404e23
pop ecx
test eax, eax
je 0x40c8c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c8c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
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
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], eax
push edi
call fcn.0040adb3
mov ebx, dword [esp + 0x1c]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040ae80
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x3ab2d104
mov dword [esp + 0x1c], eax
mov eax, dword [0x427924]
sub eax, 0x423004
add edi, esi
add esp, 0x10
add eax, ebx
mov ecx, esi
cmp esi, edi
je 0x401999
mov edx, dword [esp + 0xc]
imul edx, edx, 0x7e62f8d2
mov dword [esp + 0xc], edx
mov dl, byte [eax]
xor byte [ecx], dl
inc ecx
inc eax
cmp ecx, edi
jne 0x401981
fld qword [0x424bc8]
pop edi
fsub qword [0x41f398]
mov eax, esi
pop esi
pop ebx
fstp qword [0x424bc8]
add esp, 8
ret

Function at 0x401ab0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
fst dword [esp]
xor ecx, ecx
fldz
mov edx, 1
fstp qword [esp + 4]
fstp dword [esp]
fld qword [esp + 4]
fld dword [esp]
fadd qword [0x4232b0]
fsubp st(1)
fstp qword [esp + 4]
fld qword [0x4232b0]
mov word [esp + 0x4e], cx
fsub qword [0x41f340]
mov word [esp + 0x4c], dx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x68]
fstp qword [0x4232b0]
lea edx, [esp + 0x20]
push edx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
push ecx
mov dword [0x4250e8], 0xde26a7f5
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x60
ret
Function at 0x401d80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
fldz
push ebp
mov dword [esp + 8], 0
fstp dword [esp + 4]
fldz
push 0x2e
push 0x423624
fstp qword [esp + 0x20]
call fcn.00401930
add esp, 8
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401eab
push esi
push edi
push 0x34
push str.e_dWs
call fcn.00401930
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401de0
mov ecx, dword [esp + 0x14]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
push 0x34
push 0
mov dword [esp + 0x20], 0
fstp qword [esp + 0x20]
push esi
call fcn.0040acb0
mov edx, 0x1852
mov word [0x4236d4], dx
push esi
call fcn.0040ac1b
mov ax, word [0x4252b4]
dec word [0x4252b4]
movsx ecx, ax
add esp, 0x10
add ecx, 0x723c7466
pop edi
pop esi
cmp ecx, 0xa3febd21
jne 0x401e70
fld dword [esp + 4]
fsub qword [0x41f340]
fstp dword [esp + 4]
fld dword [esp + 4]
fld dword [esp + 4]
fsubr qword [0x41f3d8]
fsub qword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 4]
jmp 0x401eab
fld qword [0x425120]
fsub qword [0x41f340]
fstp qword [0x425120]
fld qword [0x425120]
mov edx, dword [esp + 8]
fsub qword [0x41f3d0]
mov dword [esp + 8], edx
fsub qword [0x41f3c8]
fild dword [esp + 8]
fmulp st(1)
call fcn.0040ab70
mov dword [esp + 8], eax
fldz
push 0x2e
push 0
mov dword [esp + 0x18], 0
fstp qword [esp + 0x20]
push ebp
call fcn.0040acb0
mov eax, 0x1852
push ebp
mov word [0x4236d4], ax
call fcn.0040ac1b
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 0x1c
ret
Function at 0x402ac0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x140
mov eax, dword [0x426130]
xor eax, esp
mov dword [esp + 0x13c], eax
fldz
push ebx
push ebp
fstp dword [esp + 0x18]
xor ebx, ebx
xor eax, eax
push esi
mov dword [esp + 0x14], ebx
xor ecx, ecx
mov word [esp + 0xc], ax
mov word [esp + 0xc], cx
push 0x104
call fcn.0040adb3
add esp, 4
push ebx
push 2
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, dword [0x423198]
mov esi, eax
mov eax, 0xfdad97d2
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x18], esi
fmul qword [0x424868]
fstp qword [0x424868]
inc dword [0x423198]
cmp esi, ebx
je 0x402cd4
mov ecx, dword [0x424cb4]
mov edx, dword [0x423198]
mov eax, 0x838a2bf1
sub eax, ecx
imul edx, eax
mov dword [0x423198], edx
movzx eax, word [esp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx + 0x3f6c82b2]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x128
push esi
mov word [esp + 0x14], dx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402ccd
push edi
mov edi, ebp
lea ecx, [esp + 0x48]
sub edi, ecx
lea eax, [esp + 0x48]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x402b96
push ebp
call fcn.0041de81
mov ecx, dword [esp + 0x158]
add esp, 4
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402bd2
test dl, dl
je 0x402bce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402bd2
add eax, 2
add ecx, 2
test dl, dl
jne 0x402bb2
xor eax, eax
jmp 0x402bd7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402c9a
fld dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
fisub dword [esp + 0x14]
fcomp qword [0x41f480]
fnstsw ax
test ah, 1
jne 0x402c0e
fld dword [0x42534c]
fsub qword [0x41f478]
fstp dword [0x42534c]
cmp dword [esp + 0x158], 0
je 0x402cb7
mov eax, dword [esp + 0x2c]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402c96
fld dword [0x424c98]
fadd qword [0x41f340]
fstp dword [0x424c98]
dec dword [0x424b84]
fld dword [0x424c98]
mov ecx, dword [esp + 0x18]
mov edx, dword [0x424b84]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fsubp st(2)
fsubrp st(1)
call fcn.0040ab70
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx eax, word [esp + 0x10]
add eax, 0x3621e55
push esi
mov word [esp + 0x14], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push esi
mov dword [esp + 0x2c], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402b92
jmp 0x402ccc
movzx edx, word [0x424930]
inc ebx
sub edx, 0x2d49cfd5
mov word [0x424930], dx
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.0040ac1b
mov ecx, dword [esp + 0x14c]
add esp, 4
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040b294
add esp, 0x140
ret
Function at 0x4036e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
fldz
push ebx
push esi
fstp qword [esp + 0x14]
push edi
push 3
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
push 0x4242c8
call fcn.00401930
fld qword [esp + 0x20]
fadd qword [0x41f340]
mov edi, eax
add esp, 8
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
mov ax, word [0x423294]
fsub qword [0x41f528]
movsx ecx, ax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
faddp st(1)
fld qword [esp + 0x18]
mov edx, dword [esp + 0x10]
fsub qword [0x41f520]
dec dword [esp + 0x10]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
faddp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x403777
mov eax, dword [0x425fcc]
mov ecx, dword [0x42374c]
lea edx, [ecx + eax + 0x2b93c363]
mov dword [0x425fcc], edx
jmp 0x403789
movzx eax, word [0x4252a4]
add eax, 0x262d7792
mov word [0x4252a4], ax
mov ebx, dword [esp + 0x24]
push edi
push ebx
call fcn.0040b9ad
mov esi, eax
add esp, 8
test esi, esi
jne 0x4037b8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
call fcn.0040b9ad
mov esi, eax
add esp, 8
test esi, esi
je 0x403822
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, 0x597d295b
sub edx, ecx
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld dword [0x4247f8]
fsub qword [0x41f518]
fucompp
fnstsw ax
fld dword [0x4247f8]
fadd qword [0x41f340]
fstp dword [0x4247f8]
test ah, 0x44
jnp 0x40380a
mov ecx, dword [esp + 0xc]
imul ecx, ecx, 0x1c094aa4
mov dword [esp + 0xc], ecx
push esi
push 1
lea edx, [esp + 0x30]
push 4
push edx
call fcn.0040bb26
push esi
call fcn.0040b553
add esp, 0x14
fld qword [0x424850]
xor eax, eax
fsub qword [0x41f510]
push edi
fadd dword [0x4230d0]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [0x424850]
fsub qword [0x41f340]
fstp qword [0x424850]
mov word [edi], ax
fldz
mov byte [edi + 2], al
mov dword [esp + 0x18], 0
fstp qword [esp + 0x1c]
mov eax, 0x1852
mov word [0x4236d4], ax
call fcn.0040ac1b
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40b294
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426130]
jne 0x40b29e
repz ret
jmp fcn.00410179

Function at 0x4161f4
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.004102f9
and dword [ebp - 4], 0
cmp dword [0x428394], 0
mov ebx, eax
jne 0x4162a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416356
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a88
push edi
call esi
test eax, eax
je 0x416356
push eax
call fcn.00410287
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428394], eax
call esi
push eax
call fcn.00410287
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428398], eax
call esi
push eax
call fcn.00410287
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42839c], eax
call esi
push eax
call fcn.00410287
pop ecx
mov dword [0x4283a4], eax
test eax, eax
je 0x4162a5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410287
pop ecx
mov dword [0x4283a0], eax
mov eax, dword [0x4283a0]
cmp eax, ebx
je 0x4162fd
cmp dword [0x4283a4], ebx
je 0x4162fd
push eax
call fcn.00410302
push dword [0x4283a4]
mov esi, eax
call fcn.00410302
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4162fd
test edi, edi
je 0x4162fd
call esi
test eax, eax
je 0x4162f4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4162f4
test byte [ebp - 0xc], 1
jne 0x4162fd
or dword [ebp + 0x10], 0x200000
jmp 0x416336
mov eax, dword [0x428398]
cmp eax, ebx
je 0x416336
push eax
call fcn.00410302
pop ecx
test eax, eax
je 0x416336
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416336
mov eax, dword [0x42839c]
cmp eax, ebx
je 0x416336
push eax
call fcn.00410302
pop ecx
test eax, eax
je 0x416336
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428394]
call fcn.00410302
pop ecx
test eax, eax
je 0x416356
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416358
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a3e1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000a3e1]
mov dword [0x101c0b9c], 0x1060
mov ecx, dword [0x101c0b98]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x1000a446
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x1000a446
mov eax, dword [ebp - 0x10]
mov dword [0x101c0b9c], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x1000a414

Function at 0x1000a473
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c0b98], 0x13a8
mov dword [0x101c0ba4], 0
mov byte [0x101c0ba8], 0
mov edi, dword [0x101c0b9c]
add edi, 0xffffea5b
mov dword [0x101c0b9c], edi
mov dword [0x101c0ba0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c0b9c]
add eax, 0xfffff29d
mov dword [0x101c0b98], eax
mov eax, dword [0x101c0ba0]
add eax, 1
mov dword [0x101c0ba0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a4ca
jmp 0x1000a5b1
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101c0bac], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c0b98], 0x21a0
mov edi, dword [0x101c0ba4]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c0bac], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101c0ba4], edx
mov dword [0x101c0b9c], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c0ba8], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101c0b98], 0x18ab
mov cl, byte [0x101c0ba8]
mov esi, dword [0x101c0ba4]
mov byte [ebx + esi], cl
mov esi, dword [0x101c0ba0]
add esi, 1
mov dword [0x101c0ba0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000a504
jmp 0x1000a5cf
xor eax, eax
mov dword [0x101c0b98], 0x119a
mov dword [0x101c0ba0], 0
mov dword [ebp - 0x20], eax
jmp 0x1000a504
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret