joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c0ca
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.00408870
mov dword [ebp - 0x14], eax
cmp dword [0x81eb18], esi
jne 0x40c1bd
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c29d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c29d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c29d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81eb18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81eb1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x81eb20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81eb28], eax
test eax, eax
je 0x40c1ba
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81eb24], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c1e2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1d5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c1f7
push 4
pop eax
jmp 0x40c29f
cmp dword [ebp - 0x14], esi
je 0x40c1f7
push dword [0x81eb18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c1dc
mov eax, dword [0x81eb24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c255
cmp dword [0x81eb28], edi
je 0x40c255
push eax
call ebx
push dword [0x81eb28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c255
test eax, eax
je 0x40c255
call ecx
test eax, eax
je 0x40c24a
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 0x40c24a
test byte [ebp - 8], 1
jne 0x40c255
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c285
mov eax, dword [0x81eb1c]
cmp eax, edi
je 0x40c282
push eax
call ebx
test eax, eax
je 0x40c282
call eax
mov esi, eax
test esi, esi
je 0x40c282
mov eax, dword [0x81eb20]
cmp eax, edi
je 0x40c282
push eax
call ebx
test eax, eax
je 0x40c282
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81eb18]
call ebx
test eax, eax
je 0x40c29d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c29f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d87
mov esp, ebp
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x133a03c4
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x76a555a7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000a618
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000a618]
mov dword [0x102db29c], 0x1060
mov ecx, dword [0x102db298]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
jmp 0x1000a65e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1000a673
jmp 0x1000a683
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x1000a64d
jmp 0x1000a683
mov eax, dword [ebp - 0x14]
mov dword [0x102db29c], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x1000a65e

Function at 0x1000a6b0
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 [0x102db298], 0x13a8
mov dword [0x102db2a4], 0
mov byte [0x102db2a8], 0
mov edi, dword [0x102db29c]
add edi, 0xffffea5b
mov dword [0x102db29c], edi
mov dword [0x102db2a0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000a724
xor eax, eax
mov dword [0x102db298], 0x119a
mov dword [0x102db2a0], 0
mov dword [ebp - 0x20], eax
jmp 0x1000a75b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102db29c]
add eax, 0xfffff29d
mov dword [0x102db298], eax
mov eax, dword [0x102db2a0]
add eax, 1
mov dword [0x102db2a0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a724
jmp 0x1000a709
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102db2ac], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102db298], 0x21a0
mov edi, dword [0x102db2a4]
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 [0x102db2ac], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102db2a4], edx
mov dword [0x102db29c], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102db2a8], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102db298], 0x18ab
mov cl, byte [0x102db2a8]
mov esi, dword [0x102db2a4]
mov byte [ebx + esi], cl
mov esi, dword [0x102db2a0]
add esi, 1
mov dword [0x102db2a0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000a75b
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a89f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102d469f]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102db29c], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000a80e
mov eax, dword [0x102db298]
add eax, 0x23bd
mov dword [0x102db298], eax
call fcn.1000b1a4
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a360
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000a9c3
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102db298], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a513
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102db29c], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x3c], ecx
mov dword [0x102db298], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a9c3
mov eax, dword [0x102db29c]
mov ecx, dword [ebp - 0x44]
add ecx, 0x1000
add eax, 0xffffec01
mov dword [0x102db29c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000aa6e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x102db298], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000b551
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000aab4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102db29c], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102db298], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000abe9
jmp 0x1000ab76
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x102db298], 0xacb
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x1000ab8b
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x54]
add edx, 1
mov ah, byte [ebp - 0x55]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1000ab8b
jmp 0x1000abb8
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102db298], 0x1919
mov dword [ebp - 0x34], edi
jmp 0x1000abe9
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x1000ab00
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x55], cl
jne 0x1000ab26
mov al, byte [ebp - 0x55]
test al, 1
jne 0x1000ab51
jmp 0x1000abc1
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], eax
jb 0x1000ab00
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b2c4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102db29c], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102db298], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102db298]
add edx, 0xfffffa13
mov dword [0x102db298], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102db29c], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000b37d
mov eax, 1
mov dword [0x102db298], 0x26a1
mov dword [ebp - 0x14], eax
jmp 0x1000b457
mov eax, 0xfffff83a
mov dword [0x102db298], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b40e
jmp 0x1000b44a
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
je 0x1000b3d0
jmp 0x1000b44a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1000b3aa
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1000b37d
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x102db298], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1000b361
jmp 0x1000b44a
mov eax, 0x1137
mov dword [0x102db298], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x1000b44a
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b337
jmp 0x1000b44a
mov eax, 0xffffee12
mov dword [0x102db298], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1000b44a
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b320
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x102db29c], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x1000b6c7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x1541
mov dword [0x102db2a0], 0
mov dword [0x102db2a4], 0
mov dword [0x102db2b0], 0
mov dword [0x102db298], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
jne 0x1000b740
mov dword [0x102db29c], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add edx, 0xffffe50f
add eax, 1
mov ebx, esi
add ebx, 1
mov dword [0x102db298], edx
cdq
idiv edi
mov dword [0x102db2a0], edx
mov dword [0x102db29c], 0x1c5a
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x102db2a4], edx
mov dword [0x102db298], 0xe53
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
mov cl, byte [ecx + edi]
mov byte [0x102db2a8], cl
mov dword [0x102db29c], 0x1303
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x102db2a8]
mov edx, dword [0x102db2a4]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov edx, dword [0x102db298]
mov ecx, edx
add ecx, 0x1414
mov dword [0x102db298], ecx
mov ecx, dword [0x102db2a0]
movzx ecx, byte [edi + ecx]
mov edi, dword [0x102db2a4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edi]
mov ecx, dword [ebp - 0x38]
add edi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x102db298], ecx
and edi, 0xff
mov dword [0x102db2b0], edi
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov ch, byte [edi + esi]
add edx, 0xffffe34d
mov dword [0x102db298], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
je 0x1000b72e
mov eax, dword [0x102db298]
mov ecx, dword [0x102db2a4]
mov edx, dword [0x102db2a0]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000b740
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x4182e8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0xae0264], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x84c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x4182f0]
mov edx, dword [0x4182f4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae0264], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xae0260]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xae0264], 0x3eb
mov dword [0xae0260], eax
mov eax, dword [0xae01b8]
cmove eax, dword [ebp - 8]
mov dword [0xae01b8], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [0xae025c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0xae0264], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40135a
push edx
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x38]
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
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0xae0264], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139d
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
jne 0x40127f
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b744
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417594]
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.004072a5
mov dword [ebp - 0x14], eax
cmp dword [0x43ba4c], esi
jne 0x40b837
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40b7c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40b917
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40b917
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40b917
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43ba4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43ba50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43ba54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ba5c], eax
test eax, eax
je 0x40b834
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ba58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40b85c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b84f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40b871
push 4
pop eax
jmp 0x40b919
cmp dword [ebp - 0x14], esi
je 0x40b871
push dword [0x43ba4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40b856
mov eax, dword [0x43ba58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40b8cf
cmp dword [0x43ba5c], edi
je 0x40b8cf
push eax
call ebx
push dword [0x43ba5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40b8cf
test eax, eax
je 0x40b8cf
call ecx
test eax, eax
je 0x40b8c4
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 0x40b8c4
test byte [ebp - 8], 1
jne 0x40b8cf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40b8ff
mov eax, dword [0x43ba50]
cmp eax, edi
je 0x40b8fc
push eax
call ebx
test eax, eax
je 0x40b8fc
call eax
mov esi, eax
test esi, esi
je 0x40b8fc
mov eax, dword [0x43ba54]
cmp eax, edi
je 0x40b8fc
push eax
call ebx
test eax, eax
je 0x40b8fc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43ba4c]
call ebx
test eax, eax
je 0x40b917
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40b919
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403773
mov esp, ebp
pop ebp
ret