joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000aff0
Capabilities:
Acquire debug privileges
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10023210]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
push eax
push 0x28
mov edi, ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000b06d
lea ecx, [ebp - 0x14]
push ecx
push 0x1001fad8
push 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x38]
push 0
push 0
push 0x10
lea edx, [ebp - 0x18]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000b063
mov ecx, dword [ebp - 0x38]
push ecx
jmp 0x1000b067
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf01ff
mov ebx, eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x1000b09d
jmp dword [eax*4 + 0x1000b1a8]
cmp dword [ebp - 0x30], 1
jne case.default.0x1000b09d
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp case.default.0x1000b09d
cmp dword [ebp - 0x30], 1
je case.default.0x1000b09d
lea ecx, [ebp - 0x34]
push ecx
push 1
jmp 0x1000b0df
cmp dword [ebp - 0x30], 4
jne case.default.0x1000b09d
lea edx, [ebp - 0x34]
push edx
push 2
jmp 0x1000b0df
cmp dword [ebp - 0x30], 7
jne case.default.0x1000b09d
lea eax, [ebp - 0x34]
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x20]
push eax
mov ecx, edi
call fcn.10009620
mov esi, eax
test esi, esi
je 0x1000b12d
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp dword [edi + 8], 0
jne 0x1000b126
mov edi, dword [edi + 4]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 8]
push esi
mov ecx, edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x38]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000b193
lea edx, [ebp - 0x14]
push edx
push 0x1001fad8
push 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ecx, dword [ebp - 0x38]
push 0
push 0
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000b189
mov edx, dword [ebp - 0x38]
push edx
jmp 0x1000b18d
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ee72
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001c148
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10023210]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [ebx]
sub eax, ecx
sar eax, 3
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
lea esi, [esp + 0x2c]
call fcn.1000dd30
mov dword [esp + 0x48], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, edi
or ecx, edx
je 0x1000d7a2
cmp dword [ebx + 0x18], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
je 0x1000d762
push edx
mov edx, dword [ebx]
push edi
push eax
push ecx
push edx
call fcn.10006560
jmp 0x1000d779
push 0
push 0
push edi
push ecx
mov ecx, dword [ebx]
push 0
push 0
push ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x1000d7bd
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], eax
je 0x1000d7a2
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edx
push eax
push edi
push ecx
call fcn.100061b0
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000d81b
mov ebx, dword [ebx + 4]
push esi
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], 0
je 0x1000d800
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push edx
call fcn.100061b0
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
cmp dword [ebx + 0x18], eax
je 0x1000d866
cmp dword [ebx + 0x10], eax
je 0x1000d866
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push edx
call fcn.100062f0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.10006660
mov edx, edi
jmp 0x1000d8a8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], ebx
je 0x1000d8a6
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.100061b0
mov edx, ebx
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001c148
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10023210]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [ebx]
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
push eax
push ecx
lea esi, [esp + 0x2c]
call fcn.1000dd30
mov dword [esp + 0x48], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, edi
or ecx, edx
je 0x1000d980
cmp dword [ebx + 0x18], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
je 0x1000d940
push edx
mov edx, dword [ebx]
push edi
push eax
push ecx
push edx
call fcn.10006560
jmp 0x1000d957
push 0
push 0
push edi
push ecx
mov ecx, dword [ebx]
push 0
push 0
push ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x1000d99b
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], eax
je 0x1000d980
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edx
push eax
push edi
push ecx
call fcn.100061b0
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000d9f9
mov ebx, dword [ebx + 4]
push esi
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], 0
je 0x1000d9de
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push edx
call fcn.100061b0
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
cmp dword [ebx + 0x18], eax
je 0x1000da44
cmp dword [ebx + 0x10], eax
je 0x1000da44
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx]
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push edx
call fcn.100062f0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.10006660
mov edx, edi
jmp 0x1000da86
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x24], ebx
je 0x1000da84
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.100061b0
mov edx, ebx
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e7e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000e817
cmp dword [0x1002462c], eax
je 0x1000e817
cmp dword [0x10025354], eax
jne 0x1000e817
push eax
push eax
push eax
push 0x1000e6c0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10025354], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000e820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.127.0.0.1
call fcn.1000f6c8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x1000e6c0
push 0
push 0
mov dword [0x10024624], ecx
mov dword [0x10024628], edx
mov dword [0x1002462c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10025354], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x1000e890
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1000e6c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x1000ee72
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10023210]
jne 0x1000ee7c
repz ret
jmp fcn.1001005b
Function at 0x100149bc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10023210]
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.10011eae
and dword [ebp - 0x14], 0
cmp dword [0x1002531c], 0
mov dword [ebp - 0x18], eax
jne 0x10014a6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10014b17
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10014b17
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002531c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10025320], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10025324], eax
call edi
push eax
call esi
mov dword [0x1002532c], eax
test eax, eax
je 0x10014a6f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10025328], eax
mov eax, dword [0x10025328]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10014ac8
cmp dword [0x1002532c], ecx
je 0x10014ac8
push eax
call esi
push dword [0x1002532c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10014ac8
test ebx, ebx
je 0x10014ac8
call edi
test eax, eax
je 0x10014abf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10014abf
test byte [ebp - 8], 1
jne 0x10014ac8
or dword [ebp + 0x10], 0x200000
jmp 0x10014afb
mov eax, dword [0x10025320]
cmp eax, dword [ebp - 0x18]
je 0x10014afb
push eax
call esi
test eax, eax
je 0x10014afb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10014afb
mov eax, dword [0x10025324]
cmp eax, dword [ebp - 0x18]
je 0x10014afb
push eax
call esi
test eax, eax
je 0x10014afb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002531c]
call esi
test eax, eax
je 0x10014b17
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10014b19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ee72
leave
ret
Function at 0x9d22c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2de000]
push edi
or ebp, 0xffffffff
jmp 0x9d22e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9d22e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d22d8
mov eax, 1
add ebx, ebx
jne 0x9d22fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9d230c
jne 0x9d232b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d232b
dec eax
add ebx, ebx
jne 0x9d2318
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9d22f0
add ebx, ebx
jne 0x9d2327
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9d237d
xor ecx, ecx
sub eax, 3
jb 0x9d2343
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9d23b2
sar eax, 1
mov ebp, eax
jmp 0x9d234e
add ebx, ebx
jne 0x9d234e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d231c
inc ecx
add ebx, ebx
jne 0x9d235c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9d231c
add ebx, ebx
jne 0x9d2369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9d235e
jne 0x9d237a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9d235e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9d239c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9d238e
jmp 0x9d22de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9d239c
add edi, ecx
jmp 0x9d22de
pop esi
mov edi, esi
mov ecx, 0x3bcb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9d23ba
cmp byte [edi], 0x13
jne 0x9d23ba
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 0x9d23bf
lea edi, [esi + 0x5cb000]
mov eax, dword [edi]
or eax, eax
je 0x9d242e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d312c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d3184]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9d23ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d318c]
or eax, eax
je 0x9d2428
mov dword [ebx], eax
add ebx, 4
jmp 0x9d2409
call dword [esi + 0x5d3188]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9d2468
cmp al, 0xef
ja 0x9d2452
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9d2434
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x9d2441
mov eax, dword [edi]
add edi, 4
jmp 0x9d2441
mov ebp, dword [esi + 0x5d3190]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x9d249c
sub esp, 0xffffff80
jmp 0x47420f
Function at 0x40139e
Capabilities:
Check for peb beingdebugged flag
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x49b008]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
call fcn.00477152
push 0x320
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00477152
movsd xmm0, qword [0x499570]
sub eax, esi
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
ja 0x401542
xor ebx, ebx
mov byte [esp + 0xb], bl
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [esp + 0xb], al
cmp byte [esp + 0xb], bl
jne 0x401542
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x48f169
lea ecx, [esp + 0x2c]
call fcn.0040161c
mov esi, ebx
movzx eax, byte [esi + str.Z_:C_BT5]
lea ecx, [esp + 0x28]
push eax
call fcn.0040158c
inc esi
cmp esi, 0x428
jl 0x40141f
sub esp, 0x18
mov ecx, esp
push str.LEkYHOW0gK3mf
call fcn.0040161c
lea edx, [esp + 0x40]
lea ecx, [esp + 0x28]
call fcn.00401314
add esp, 0x18
lea ecx, [esp + 0x28]
push eax
call fcn.004015d1
lea ecx, [esp + 0x10]
call fcn.00401020
sub esp, 0x18
mov ecx, esp
push str.9W8PILJZj7JSU
call fcn.0040161c
lea edx, [esp + 0x40]
lea ecx, [esp + 0x28]
call fcn.00401314
add esp, 0x18
lea ecx, [esp + 0x28]
push eax
call fcn.004015d1
lea ecx, [esp + 0x10]
call fcn.00401020
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.0040115d
push eax
lea ecx, [esp + 0x2c]
call fcn.004015d1
lea ecx, [esp + 0x10]
call fcn.00401020
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x74726956
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 0x416c6175
push eax
mov dword [esp + 0x5c], 0x636f6c6c
mov byte [esp + 0x60], bl
mov dword [esp + 0x48], 0x6e72656b
mov dword [esp + 0x4c], 0x32336c65
mov byte [esp + 0x50], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push dword [esp + 0x40]
push ebx
call eax
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x28]
push dword [esp + 0x38]
cmovae ecx, dword [esp + 0x2c]
mov esi, eax
push ecx
push esi
call fcn.00476870
add esp, 0xc
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemGeoID]
lea ecx, [esp + 0x28]
call fcn.00401020
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00473c7a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47d9e1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047d6a1

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x8870b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00887200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8870d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8870c2
add dl, dl
jne 0x8870e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x887134
xor eax, eax
add dl, dl
jne 0x8870ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8871d5
add dl, dl
jne 0x8870fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x887108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x887113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88711e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x88712a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8870cd
mov eax, 1
add dl, dl
jne 0x887142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x88714d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x887139
sub eax, ebx
mov ebx, 1
jne 0x887180
mov ecx, 1
add dl, dl
jne 0x887166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x887171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x88715d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8870cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x887197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8871a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x88718e
cmp eax, 0x7d00
jae 0x8871c5
cmp eax, 0x500
jb 0x8871c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8870cd
cmp eax, 0x7f
ja 0x8871c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8870cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8871f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8870cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10