joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ac7
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [0x409080]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
push 1
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x401b2e
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
je 0x401b25
push 4
lea eax, [ebp - 4]
push esi
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [esi + 4]
push 4
push eax
lea eax, [ebp - 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
mov ecx, dword [ebp + 8]
push dword [ebp - 8]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov dword [ecx], eax
call esi
mov ecx, dword [ebp + 0xc]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, dword [ebp - 8]
mov dword [ecx], eax
leave
ret 8

Function at 0x403ad6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x405c12
call sub.MSVCRT.dll__EH_prolog
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
mov dword [esi + 0x18], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esi + 0x34], al
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi], 0x406be0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x403d58
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x405c90
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x14c
push ebx
mov dword [ebp - 0x14], ecx
push edi
push 0x40941c
lea ecx, [ebp - 0x10]
xor bl, bl
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
push 0x40916c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x10]
push str..xml
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [ebp - 0x158]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004051f8
cmp edi, 0xffffffff
je 0x403e29
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x12c]
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403e45
test al, al
je 0x403e21
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x158]
push eax
push edi
call esi
test eax, eax
je 0x403e15
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403e45
mov bl, al
test bl, bl
je 0x403e15
lea eax, [ebp - 0x158]
push eax
push edi
call esi
test eax, eax
jne 0x403dea
test bl, bl
jne 0x403e21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004051f8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4013a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4013fb
cmp byte [esi + ebx - 1], 0xa
je 0x4013cf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x4040b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401b10
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4040b4]
movzx eax, al
bt eax, esi
jae 0x401b70
mov ecx, dword [0x4040a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401a16
test byte [0x40202c], 8
jne 0x401ab0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x40203c], 8
jne 0x401a60
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4019e5
cmp esi, 3
jbe 0x401a20
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x403128]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x4019e5
mov ecx, dword [0x4040b4]
test ecx, ecx
je 0x401b50
mov dword [esp], 0x40203c
call dword [0x4040b4]
test al, 8
je 0x4019bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x4019bc
mov ebx, dword [0x4040b4]
test ebx, ebx
je 0x401b30
mov dword [esp], 0x40202c
call dword [0x4040b4]
test al, 8
je 0x4019a9
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x4019af
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401970
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401aba
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4040b4
call sym._load_func.part.0
jmp 0x401a6e
mov eax, 0xffffffff
jmp 0x401a16
Function at 0x401ce0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x212b0441
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x5e7b1099
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b004]
jne 0x40100a
repz ret
jmp fcn.004017af

Function at 0x405d6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b004]
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.00403529
and dword [ebp - 0x14], 0
cmp dword [0x42db6c], 0
mov dword [ebp - 0x18], eax
jne 0x405e1d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ec5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ec5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42db6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42db70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42db74], eax
call edi
push eax
call esi
mov dword [0x42db7c], eax
test eax, eax
je 0x405e1d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42db78], eax
mov eax, dword [0x42db78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e76
cmp dword [0x42db7c], ecx
je 0x405e76
push eax
call esi
push dword [0x42db7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e76
test ebx, ebx
je 0x405e76
call edi
test eax, eax
je 0x405e6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e6d
test byte [ebp - 8], 1
jne 0x405e76
or dword [ebp + 0x10], 0x200000
jmp 0x405ea9
mov eax, dword [0x42db70]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405ea9
mov eax, dword [0x42db74]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42db6c]
call esi
test eax, eax
je 0x405ec5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ec7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x415ce0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x415cfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415d01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415cf0
mov eax, 1
add ebx, ebx
jne 0x415d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415d08
jne 0x415d24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d08
xor ecx, ecx
sub eax, 3
jb 0x415d38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415daa
mov ebp, eax
add ebx, ebx
jne 0x415d43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415d74
inc ecx
add ebx, ebx
jne 0x415d60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415d55
jne 0x415d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415d94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415d85
jmp 0x415cf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415d94
add edi, ecx
jmp 0x415cf6
pop esi
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415dfc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16cac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415db1
mov ecx, edi
jns 0x415de0
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 + 0x16d70]
or eax, eax
je 0x415df6
mov dword [ebx], eax
add ebx, 4
jmp 0x415dce
call dword [esi + 0x16d6c]
mov ebp, dword [esi + 0x16d74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x415e30
sub esp, 0xffffff80
jmp 0x403966
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x408a5c
Capabilities:
Get file system object information
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
mov dword [ebp - 0x114], eax
mov eax, 0x4089e4
call fcn.00403da8
xor eax, eax
push ebp
push 0x408bb4
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x110]
call fcn.00403a24
lea edx, [ebp - 0x110]
mov eax, 0x40aee0
call fcn.00403538
mov eax, dword [0x40aee0]
call fcn.004036d0
push eax
push 0x408bc0
call sub.kernel32.dll_SetEnvironmentVariableA
call sub.comctl32.dll_InitCommonControls
push 0x105
push 0x40add8
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, 0x40add8
mov eax, dword [0x4092ec]
call fcn.004034c8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [0x4092ec]
mov eax, dword [eax]
call fcn.004036d0
push eax
call sub.kernel32.dll_CreateFileA
mov edx, dword [0x4092d0]
mov dword [edx], eax
mov eax, dword [0x4092d0]
cmp dword [eax], 0xffffffff
jne 0x408b3f
lea eax, [ebp - 0x114]
push eax
mov edx, dword [0x4092ec]
xor ecx, ecx
mov eax, 0x408bd0
call fcn.00406660
mov eax, dword [ebp - 0x114]
call fcn.004078cc
call fcn.00406ad4
call fcn.004060bc
mov eax, 0x40ac78
xor ecx, ecx
mov edx, 0x160
call fcn.004029bc
push 0x4001
push 0x160
push 0x40ac78
push 0
mov eax, dword [0x4092ec]
mov eax, dword [eax]
call fcn.004036d0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [0x4092e4]
mov dword [edx], eax
push 0x407f28
mov edx, 0x408bec
xor ecx, ecx
mov eax, dword [0x40a650]
call fcn.00404028
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408bbb
lea eax, [ebp - 0x114]
call fcn.004033d8
ret

Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1caf607c
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x2c5347d5
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40149b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.00401494
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d3988c]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401524
push 0x418238
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d3988c]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d39888]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d39888], eax
mov eax, dword [0x2d397e0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d397e0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d39884], 0xf4ea3dee
call fcn.00401471
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014ec
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015f4
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d3988c]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d397e4]
test esi, esi
je 0x40163a
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x401625
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.0040149b
add edi, 8
dec esi
je 0x401639
mov eax, dword [0x2d3988c]
jmp 0x40160d
pop ebx
pop edi
pop esi
ret 4
Function at 0x40cb08
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
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.00404de5
mov dword [ebp - 0x14], eax
cmp dword [0x43ff40], esi
jne 0x40cbfb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cb88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ccdb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ccdb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ccdb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43ff40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43ff44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43ff48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ff50], eax
test eax, eax
je 0x40cbf8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43ff4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cc20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cc13
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cc35
push 4
pop eax
jmp 0x40ccdd
cmp dword [ebp - 0x14], esi
je 0x40cc35
push dword [0x43ff40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cc1a
mov eax, dword [0x43ff4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cc93
cmp dword [0x43ff50], edi
je 0x40cc93
push eax
call ebx
push dword [0x43ff50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cc93
test eax, eax
je 0x40cc93
call ecx
test eax, eax
je 0x40cc88
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 0x40cc88
test byte [ebp - 8], 1
jne 0x40cc93
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ccc3
mov eax, dword [0x43ff44]
cmp eax, edi
je 0x40ccc0
push eax
call ebx
test eax, eax
je 0x40ccc0
call eax
mov esi, eax
test esi, esi
je 0x40ccc0
mov eax, dword [0x43ff48]
cmp eax, edi
je 0x40ccc0
push eax
call ebx
test eax, eax
je 0x40ccc0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43ff40]
call ebx
test eax, eax
je 0x40ccdb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ccdd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040cb
mov esp, ebp
pop ebp
ret