joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f041
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x44f13e
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44f0f9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x44f0a9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x44f0f7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x44f0d7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x44f0f7
push 0
push 0x7422
push dword [ebp - 0x2c]
push 1
push 1
call fcn.004491c2
add esp, 0x14
jmp 0x44f0cc
jmp 0x44f13c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x2691
push 0x54a5
push dword [ebp - 0x38]
push 0
push 1
push dword [ebp - 0x3c]
push 1
push 0x4f99
push 0x20a2
push 0x6bcf
push 0x6afa
push 0x2a35
call fcn.0044fbee
add esp, 0x30
jmp 0x44f146
push 1
call fcn.00449c59
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44fd43
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44fe2a
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x44fdff
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x44fddd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x44fddb
push 1
push 0x2b4f
push 0x5db
push 0x1e49
push 0
push 1
push 0x3666
push 0
push 0x6e8e
push 0x3b98
call fcn.0044ddcf
add esp, 0x28
jmp 0x44fdfd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x44fdfd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x44fe28
push 1
push 1
push 0x583d
push 0
push 0
push 0x6d6e
push 0x2acc
push 0x9e2
push 0x7641
call fcn.0044e908
add esp, 0x24
jmp 0x44fe49
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 0x4f51
push 1
push 1
push 0x3683
push dword [ebp - 0x30]
call fcn.0044b6fa
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x4542c8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4543c9
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x45434b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x45432e
mov byte [ebp - 1], 0
push 0x6648
push 1
lea eax, [ebp - 1]
push eax
push 0x4c8f
push 1
push 0
call fcn.0045b0fd
add esp, 0x18
jmp 0x454349
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x454349
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4543c7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x45438e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x45438c
push 0
push 0xb95
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4543c7
mov byte [ebp - 3], 0
lea eax, [ebp - 3]
push eax
push 0x6dae
push 0x210b
push 1
push 0x6e3
push 0x1abd
push 0x415b
push 1
push 0x6401
push 0
push 0x7f7b
call fcn.00453220
add esp, 0x2c
jmp 0x4543eb
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push 1
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
push eax
push 0
push dword [ebp - 0x30]
call fcn.004542a6
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x457ddb
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x457e1b
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
push 0x36da
push 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push 0x30e2
push 1
push 0x36ef
push 0x1a1e
call fcn.00457f33
add esp, 0x1c
jmp 0x457f2f
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x457ecd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x457e88
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1b
jmp 0x457ecb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x457ecb
push 0x1a22
push 0x208a
push 0x19ce
push 0x8d
push 0x12ca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
jmp 0x457f2f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x457f13
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x457f2f
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x457f2f
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret
Function at 0x459f92
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x459fb3
push 1
push 0x7767
call fcn.0045a0ec
pop ecx
pop ecx
jmp 0x45a0e8
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x459fe6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 1
call fcn.00452ae3
pop ecx
pop ecx
jmp 0x45a0e8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x45a0e0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34], 0
jmp 0x45a03b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x34], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0xffffffe3
jg 0x45a0de
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0xfffffffa
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
je 0x45a069
jmp 0x45a0de
mov dword [ebp - 4], 0xa
jmp 0x45a079
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45a0d9
mov dword [ebp - 0x1c], 0xcc25
mov dword [ebp - 0x20], 0x65925ef2
lea eax, [ebp - 0x1c]
push eax
push 0x451e
push 0
push 1
push 0x54f1
lea eax, [ebp - 0x20]
push eax
push 0x2407
push 0x569d
push 0x5c15
push 1
push 0x4c73
push 0
push 1
push 0x6e7f
call fcn.0044a5d6
add esp, 0x38
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x24], eax
jmp 0x45a072
jmp 0x45a026
jmp 0x45a0e8
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x495036
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49a7c0]
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.004879db
mov dword [ebp - 0x14], eax
cmp dword [0xa937dc], esi
jne 0x495129
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4950b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x495209
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x495209
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x495209
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa937dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa937e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa937e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa937ec], eax
test eax, eax
je 0x495126
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa937e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x49514e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x495141
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x495163
push 4
pop eax
jmp 0x49520b
cmp dword [ebp - 0x14], esi
je 0x495163
push dword [0xa937dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x495148
mov eax, dword [0xa937e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4951c1
cmp dword [0xa937ec], edi
je 0x4951c1
push eax
call ebx
push dword [0xa937ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4951c1
test eax, eax
je 0x4951c1
call ecx
test eax, eax
je 0x4951b6
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 0x4951b6
test byte [ebp - 8], 1
jne 0x4951c1
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4951f1
mov eax, dword [0xa937e0]
cmp eax, edi
je 0x4951ee
push eax
call ebx
test eax, eax
je 0x4951ee
call eax
mov esi, eax
test esi, esi
je 0x4951ee
mov eax, dword [0xa937e4]
cmp eax, edi
je 0x4951ee
push eax
call ebx
test eax, eax
je 0x4951ee
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa937dc]
call ebx
test eax, eax
je 0x495209
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x49520b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004849bb
mov esp, ebp
pop ebp
ret
Function at 0x4132b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d020]
jne 0x4132bc
repz ret
jmp fcn.004134a3

Function at 0x415259
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.00413916
and dword [ebp - 4], 0
cmp dword [0x456030], 0
mov ebx, eax
jne 0x41530a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4153bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4153bb
push eax
call fcn.004138a4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x456030], eax
call esi
push eax
call fcn.004138a4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456034], eax
call esi
push eax
call fcn.004138a4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456038], eax
call esi
push eax
call fcn.004138a4
pop ecx
mov dword [0x456040], eax
test eax, eax
je 0x41530a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004138a4
pop ecx
mov dword [0x45603c], eax
mov eax, dword [0x45603c]
cmp eax, ebx
je 0x415362
cmp dword [0x456040], ebx
je 0x415362
push eax
call fcn.0041391f
push dword [0x456040]
mov esi, eax
call fcn.0041391f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415362
test edi, edi
je 0x415362
call esi
test eax, eax
je 0x415359
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415359
test byte [ebp - 0xc], 1
jne 0x415362
or dword [ebp + 0x10], 0x200000
jmp 0x41539b
mov eax, dword [0x456034]
cmp eax, ebx
je 0x41539b
push eax
call fcn.0041391f
pop ecx
test eax, eax
je 0x41539b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41539b
mov eax, dword [0x456038]
cmp eax, ebx
je 0x41539b
push eax
call fcn.0041391f
pop ecx
test eax, eax
je 0x41539b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456030]
call fcn.0041391f
pop ecx
test eax, eax
je 0x4153bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4153bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4264b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x428c48
push 0x67
push edi
call esi
push 0x64
push 0x428b80
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00402fa0
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x428c48
push 0x428b80
push 0
mov dword [0x428d10], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x402f8b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402f76
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402f65
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402f45
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408cf3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00408cf3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cafa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4264b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0040882a
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4067e6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004097f9
push 0x425428
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0040a27b
push edi
push esi
call fcn.004086fd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408cf3
mov esp, ebp
pop ebp
ret 4
Function at 0x41770f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4264b8]
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.0040c5db
mov dword [ebp - 0x14], eax
cmp dword [0x428b5c], esi
jne 0x417802
push 0x800
push esi
push 0x4227ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41778f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4178e2
push esi
push esi
push 0x4227ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4178e2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4178e2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x428b5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x428b60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x428b64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b6c], eax
test eax, eax
je 0x4177ff
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417827
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41781a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41783c
push 4
pop eax
jmp 0x4178e4
cmp dword [ebp - 0x14], esi
je 0x41783c
push dword [0x428b5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417821
mov eax, dword [0x428b68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41789a
cmp dword [0x428b6c], edi
je 0x41789a
push eax
call ebx
push dword [0x428b6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41789a
test eax, eax
je 0x41789a
call ecx
test eax, eax
je 0x41788f
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 0x41788f
test byte [ebp - 8], 1
jne 0x41789a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4178ca
mov eax, dword [0x428b60]
cmp eax, edi
je 0x4178c7
push eax
call ebx
test eax, eax
je 0x4178c7
call eax
mov esi, eax
test esi, esi
je 0x4178c7
mov eax, dword [0x428b64]
cmp eax, edi
je 0x4178c7
push eax
call ebx
test eax, eax
je 0x4178c7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x428b5c]
call ebx
test eax, eax
je 0x4178e2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4178e4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cf3
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x408b6a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
push 0x401060
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
mov dword [ebp - 0x18], ebx
call fcn.00409dde
mov dword [ebp - 0x14], eax
test esi, esi
js 0x408bed
mov ecx, dword [ebp - 8]
mov byte [ebp - 0xc], bl
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408bb2
push dword [ebp - 0xc]
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
call fcn.0040a6a3
add esp, 0xc
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10]
push eax
call fcn.004089ee
pop ecx
xor ecx, ecx
inc ecx
cmp dword [eax], 3
jne 0x408bf0
jmp 0x408bf2
mov ecx, dword [ebp - 0xc]
mov bl, 1
test cl, 1
je 0x408bff
lea ecx, [ebp - 0x30]
call fcn.00409a92
mov ecx, edi
test bl, bl
je 0x408c0c
push 0x406e6c
jmp 0x408c0f
push dword [ebp - 8]
call fcn.00409937
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aefd
leave
ret

Function at 0x408ecf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0xa0], edi
call fcn.00409dde
mov dword [ebp - 0x9c], eax
cmp dword [ebx + 0x10], edi
je 0x408f8e
lea edx, [ebp - 0xa0]
mov ecx, ebx
call fcn.004089ba
test al, al
je 0x408f8e
push 0x44
pop esi
push esi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.0040d610
xor eax, eax
mov dword [ebp - 0x88], esi
lea edi, [ebp - 0x98]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov esi, 0x406e70
stosd dword es:[edi], eax
push 0xf
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
jb 0x408f4f
mov ebx, dword [ebx]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408f8e
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x98]
call esi
mov al, 1
jmp 0x408f90
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aefd
leave
ret