joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004362e
Capabilities:
Create thread
Terminate thread

Disassembly:
xor cl, cl
call fcn.10041bc9
mov eax, dword [0x1022d550]
test eax, eax
je 0x10042a6c
push ebx
mov ebx, dword [0x1022d79c]
push edi
mov edi, dword [0x1022d798]
cmp edi, ebx
je 0x10042a5d
push esi
mov ecx, dword [edi]
xor dl, dl
call fcn.1003e8d0
mov esi, dword [edi]
push 0xc
push esi
call fcn.10046ed4
pop ecx
pop ecx
test esi, esi
je 0x10042a4a
mov dword [edi], 0x8123
add edi, 4
cmp edi, ebx
jne 0x10042a2b
mov eax, dword [0x1022d550]
mov edi, dword [0x1022d798]
pop esi
push eax
mov dword [0x1022d79c], edi
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
pop edi
pop ebx
ret
mov byte [0x1022e434], cl
test cl, cl
jne 0x1004365a
mov eax, dword [0x1022e430]
test eax, eax
je 0x1004364a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10042a08
mov eax, dword [0x1022d6b0]
push esi
xor esi, esi
test eax, eax
je 0x10043680
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1022d6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1022d6b0], esi
push esi
push esi
push esi
push 0x1004370d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1022d6b0], eax
pop esi
ret

Function at 0x10044c51
Capabilities:
Encode data using xor

Disassembly:
push 0x60
mov eax, 0x1004a43e
call fcn.10047a7f
cmp byte [0x1022dafc], 0
jne 0x10044d5f
call fcn.10041462
push 0x680a180
push 0x10226f88
push 0x1022713c
push 0x10227140
push ecx
call fcn.1003f9e7
mov esi, eax
test esi, esi
jne 0x10044d3d
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.10044d65
mov ecx, eax
mov edx, ebx
mov eax, dword [ecx]
lea esi, [ecx + 4]
test eax, eax
je 0x10044cc1
mov al, byte [esi + edx]
sub al, byte [ecx + 0x41]
xor al, byte [ecx + 0x40]
mov byte [esi + edx], al
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x10044cae
push esi
lea ecx, [ebp - 0x14]
mov byte [eax + esi], bl
call fcn.1003da05
mov dword [ebp - 4], ebx
push 1
push ebx
push ebx
push ebx
push ebx
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], 0xcddad7ae
mov edx, esp
mov dword [ebp - 0x18], 0xe59c81ca
mov dword [ebp - 0x24], esp
call fcn.1003f60f
push eax
mov ecx, edx
call fcn.1003da05
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.1003dad1
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
mov edx, 0x1022dafc
call fcn.10040c86
add esp, 0x1c
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1003ccd7
test esi, esi
je 0x10044d5f
cmp dword [esi + 6], 0x94
jne 0x10044d5f
mov edx, 0x10044e2d
mov byte [0x1022dafc], 1
mov ecx, esi
mov dword [0x1022db00], esi
call fcn.1003e938
call fcn.10047a2e
ret
Function at 0x100464b9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
push 0x10227868
call fcn.10030dde
movss xmm1, dword [0x10227c40]
xorps xmm0, xmm0
pop ecx
call fcn.10010ca4
push str.Q:834179766
call fcn.10030cdc
pop ecx
call fcn.10033154
and dword [esp + 8], 0
lea edx, [esp + 8]
and dword [esp + 0xc], 0
xor esi, esi
push esi
mov ecx, str.
call fcn.100315cf
pop ecx
test al, al
je 0x1004651e
push esi
push esi
push esi
push 0x100466ee
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm1, dword [0x10227c40]
xorps xmm0, xmm0
call fcn.10010ca4
xorps xmm2, xmm2
mov edx, 0x1022db51
mov ecx, str.48KCtrl
call fcn.1003f3da
and dword [esp + 8], esi
lea edx, [esp + 8]
and dword [esp + 0xc], esi
mov ecx, str.Copy
push esi
call fcn.100315cf
pop ecx
test al, al
je 0x1004657e
call fcn.100422c9
cmp byte [0x1022d69b], 0
jne 0x1004657e
push esi
push 0x1022d69b
mov edx, str._
xor ecx, ecx
call fcn.1003f38c
pop ecx
pop ecx
mov ecx, str._copy___
call fcn.1003f200
movss xmm1, dword [0x10227c40]
xorps xmm0, xmm0
call fcn.10010ca4
xorps xmm2, xmm2
mov edx, 0x1022d874
mov ecx, 0x10227960
call fcn.1003f3da
mov ecx, str.__
call fcn.1003f200
mov edx, 0x1022d6cc
mov ecx, 0x102279a8
call fcn.100329b9
test al, al
je 0x100465ef
cmp byte [0x1022d6cc], 0
je 0x100465ef
cmp byte [0x1022d698], 0
jne 0x100465ef
mov byte [0x1022d698], 1
call fcn.10041259
call fcn.100412b8
call fcn.10041376
movss xmm1, dword [0x10227c40]
xorps xmm0, xmm0
call fcn.10010ca4
movss xmm0, dword [0x10227bd0]
call fcn.10010da7
sub esp, 0x10
call fcn.100343f1
call fcn.10010dfb
movss xmm1, dword [0x10227c40]
xorps xmm0, xmm0
call fcn.10010ca4
and dword [esp + 0x18], esi
lea edx, [esp + 0x18]
and dword [esp + 0x1c], esi
mov ecx, 0x102279bc
push esi
call fcn.100315cf
add esp, 0x14
test al, al
je 0x1004664c
call fcn.100413d9
push str._Q:834179766____
call fcn.10030d9c
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a07c]
jne 0x4015b7
repz ret
jmp fcn.0040222b

Function at 0x406b8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43a07c]
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.0040407d
and dword [ebp - 0x14], 0
cmp dword [0x43cd4c], 0
mov dword [ebp - 0x18], eax
jne 0x406c3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406ce5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406ce5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43cd4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43cd50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43cd54], eax
call edi
push eax
call esi
mov dword [0x43cd5c], eax
test eax, eax
je 0x406c3d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43cd58], eax
mov eax, dword [0x43cd58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406c96
cmp dword [0x43cd5c], ecx
je 0x406c96
push eax
call esi
push dword [0x43cd5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406c96
test ebx, ebx
je 0x406c96
call edi
test eax, eax
je 0x406c8d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406c8d
test byte [ebp - 8], 1
jne 0x406c96
or dword [ebp + 0x10], 0x200000
jmp 0x406cc9
mov eax, dword [0x43cd50]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406cc9
mov eax, dword [0x43cd54]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43cd4c]
call esi
test eax, eax
je 0x406ce5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406ce7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
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 0x414c1f
lea edi, [esi + 0x12000]
Function at 0x4172d8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
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.00408115
mov dword [ebp - 0x14], eax
cmp dword [0x43fae8], esi
jne 0x4173cb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x417358
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4174ab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4174ab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4174ab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43fae8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43faec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43faf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43faf8], eax
test eax, eax
je 0x4173c8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43faf4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4173f0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4173e3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417405
push 4
pop eax
jmp 0x4174ad
cmp dword [ebp - 0x14], esi
je 0x417405
push dword [0x43fae8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4173ea
mov eax, dword [0x43faf4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417463
cmp dword [0x43faf8], edi
je 0x417463
push eax
call ebx
push dword [0x43faf8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417463
test eax, eax
je 0x417463
call ecx
test eax, eax
je 0x417458
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 0x417458
test byte [ebp - 8], 1
jne 0x417463
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417493
mov eax, dword [0x43faec]
cmp eax, edi
je 0x417490
push eax
call ebx
test eax, eax
je 0x417490
call eax
mov esi, eax
test esi, esi
je 0x417490
mov eax, dword [0x43faf0]
cmp eax, edi
je 0x417490
push eax
call ebx
test eax, eax
je 0x417490
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43fae8]
call ebx
test eax, eax
je 0x4174ab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4174ad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004070bf
mov esp, ebp
pop ebp
ret
Function at 0x4013f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov edx, dword [0x85d154]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], esi
push edi
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], eax
cmp edx, 0x594
jne 0x40143a
push ebx
lea eax, [ebp - 0x84c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x85d154]
mov eax, dword [0x41b2f8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [str.K_bkGc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], eax
call fcn.004013ed
mov ebx, dword [ebp - 0x10]
add ebx, 0x23f
cmp edx, 0x14
jne 0x401474
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov ecx, dword [0x41b300]
mov edx, dword [0x41b304]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
mov dword [ebp - 0x14], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x85d154], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x85d150]
cmove eax, dword [ebp - 0x14]
and dword [ebp - 0x14], 0
cmp dword [0x85d154], 0x3eb
mov dword [0x85d150], eax
mov eax, dword [0x85d0a8]
cmove eax, dword [ebp - 0x14]
mov dword [0x85d0a8], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
add dword [ebp - 0xc], edx
lea edx, [ebx + edi]
mov ecx, dword [ebp - 4]
mov dword [0x85d14c], 0xf4ea3dee
call fcn.004013ca
mov ecx, dword [ebp - 0xc]
xor ecx, eax
mov dword [ebp - 4], eax
cmp dword [0x85d154], 0x213
mov dword [ebp - 0xc], ecx
jne 0x401553
lea eax, [ebp - 0x38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov ecx, dword [ebp - 0xc]
sub esi, ecx
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov eax, esi
mov edx, dword [ebp - 4]
shr eax, cl
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
lea eax, [ebx + esi]
xor edx, eax
cmp dword [0x85d154], 0xb03
mov dword [ebp - 4], edx
jne 0x401598
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
jmp 0x40159b
mov eax, dword [ebp - 0x14]
xor edx, eax
mov ecx, edi
mov dword [ebp - 4], edx
call fcn.004013f4
mov ecx, dword [ebp - 0x28]
mov edi, eax
mov edx, dword [ebp - 0x24]
add ebx, 0x61c88647
dec dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
jne 0x401490
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015d6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x85d154]
sub esp, 0x400
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x85d0ac]
test esi, esi
je 0x401624
cmp eax, 0x959
jne 0x401610
push 0
lea eax, [ebp - 0x400]
push eax
push str.peturoj
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004013f9
add edi, 8
dec esi
je 0x401624
mov eax, dword [0x85d154]
jmp 0x4015f5
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40cd32
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a420]
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.00407717
mov dword [ebp - 0x14], eax
cmp dword [0x443f14], esi
jne 0x40ce25
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cdb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cf05
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cf05
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cf05
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x443f14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x443f18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x443f1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443f24], eax
test eax, eax
je 0x40ce22
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443f20], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ce4a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ce3d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ce5f
push 4
pop eax
jmp 0x40cf07
cmp dword [ebp - 0x14], esi
je 0x40ce5f
push dword [0x443f14]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ce44
mov eax, dword [0x443f20]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cebd
cmp dword [0x443f24], edi
je 0x40cebd
push eax
call ebx
push dword [0x443f24]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cebd
test eax, eax
je 0x40cebd
call ecx
test eax, eax
je 0x40ceb2
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 0x40ceb2
test byte [ebp - 8], 1
jne 0x40cebd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ceed
mov eax, dword [0x443f18]
cmp eax, edi
je 0x40ceea
push eax
call ebx
test eax, eax
je 0x40ceea
call eax
mov esi, eax
test esi, esi
je 0x40ceea
mov eax, dword [0x443f1c]
cmp eax, edi
je 0x40ceea
push eax
call ebx
test eax, eax
je 0x40ceea
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x443f14]
call ebx
test eax, eax
je 0x40cf05
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cf07
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f3b
mov esp, ebp
pop ebp
ret
Function at 0x490e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
lea eax, [edi + 0x859ec]
push dword [eax]
mov dword [eax], 0x555b190c
push eax
push edi
or ebp, 0xffffffff
jmp 0x490e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x490e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x490e78
mov eax, 1
add ebx, ebx
jne 0x490e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x490eac
jne 0x490ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x490ecb
dec eax
add ebx, ebx
jne 0x490eb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x490e90
add ebx, ebx
jne 0x490ec7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x490f1d
xor ecx, ecx
sub eax, 3
jb 0x490ee3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x490f52
sar eax, 1
mov ebp, eax
jmp 0x490eee
add ebx, ebx
jne 0x490eee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x490ebc
inc ecx
add ebx, ebx
jne 0x490efc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x490ebc
add ebx, ebx
jne 0x490f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x490efe
jne 0x490f1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x490efe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x490f3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x490f2e
jmp 0x490e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x490f3c
add edi, ecx
jmp 0x490e7e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x490f5e
cmp byte [edi], 0x11
jne 0x490f5e
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 0x490f63
lea edi, [esi + 0x8c000]
mov eax, dword [edi]
or eax, eax
je 0x490fdb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x92338]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92524]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x490f90
mov ecx, edi
jns 0x490fbf
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 + 0x9252c]
or eax, eax
je 0x490fd5
mov dword [ebx], eax
add ebx, 4
jmp 0x490fad
call dword [esi + 0x92528]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x49100c
cmp al, 0xef
ja 0x490fff
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x490fe1
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x490fee
mov ebp, dword [esi + 0x92530]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x491040
sub esp, 0xffffff80
jmp 0x44a872