joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f34f
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.0040a0b5
and dword [ebp - 4], 0
cmp dword [0x418b2c], 0
mov ebx, eax
jne 0x40f400
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f4b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f4b1
push eax
call fcn.0040a043
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418b2c], eax
call esi
push eax
call fcn.0040a043
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418b30], eax
call esi
push eax
call fcn.0040a043
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x418b34], eax
call esi
push eax
call fcn.0040a043
pop ecx
mov dword [0x418b3c], eax
test eax, eax
je 0x40f400
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a043
pop ecx
mov dword [0x418b38], eax
mov eax, dword [0x418b38]
cmp eax, ebx
je 0x40f458
cmp dword [0x418b3c], ebx
je 0x40f458
push eax
call fcn.0040a0be
push dword [0x418b3c]
mov esi, eax
call fcn.0040a0be
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f458
test edi, edi
je 0x40f458
call esi
test eax, eax
je 0x40f44f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f44f
test byte [ebp - 0xc], 1
jne 0x40f458
or dword [ebp + 0x10], 0x200000
jmp 0x40f491
mov eax, dword [0x418b30]
cmp eax, ebx
je 0x40f491
push eax
call fcn.0040a0be
pop ecx
test eax, eax
je 0x40f491
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f491
mov eax, dword [0x418b34]
cmp eax, ebx
je 0x40f491
push eax
call fcn.0040a0be
pop ecx
test eax, eax
je 0x40f491
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418b2c]
call fcn.0040a0be
pop ecx
test eax, eax
je 0x40f4b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f4b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10062a40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10148168
call fcn.1005dde1
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp esi, esp
call fcn.1005d076
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x10062a91
mov eax, 0x14c
jmp 0x10062abe
mov esi, esp
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp esi, esp
call fcn.1005d076
test eax, eax
je 0x10062ab9
cmp dword [ebp - 0x38], 0
je 0x10062ab9
mov eax, 0x14c
jmp 0x10062abe
mov eax, 0x8664
push edx
mov ecx, ebp
push eax
lea edx, [0x10062af0]
call fcn.1005cb49
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
add esp, 0xfc
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret
Function at 0x10062b70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x162c
call fcn.1005b843
push ebx
push esi
push edi
lea edi, [ebp - 0x102c]
mov ecx, 0x40b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10148168
call fcn.1005dde1
mov esi, esp
push 0x104
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.1005d076
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10062bd4
cmp dword [ebp - 0xc], 0x104
jne 0x10062c27
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1005d076
mov esi, esp
push eax
mov eax, dword [ebp - 0xc]
push eax
push str._GLOBAL_INJECT_LOG__GetModuleFileName_failed__i_is__d_and_GetLastError___is__u_n
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp esi, esp
call fcn.1005d076
mov esi, esp
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.1005d076
xor eax, eax
jne 0x10062bd4
xor eax, eax
jmp 0x10062ccd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x162c], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x162c], 0
je 0x10062c53
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax*2]
cmp edx, 0x5c
je 0x10062c53
jmp 0x10062c27
mov eax, dword [ebp + 0xc]
push eax
call fcn.1005d616
add esp, 4
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 2]
cmp edx, 0x104
jbe 0x10062caa
mov esi, esp
push str._GLOBAL_INJECT_LOG__JoinModulePathWithFileName_failed__file_name_too_long_n
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
cmp esi, esp
call fcn.1005d076
mov esi, esp
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.1005d076
xor eax, eax
jne 0x10062c6e
xor eax, eax
jmp 0x10062ccd
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [edx + ecx*2 + 2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, esp
call fcn.1005d076
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10062cfc]
call fcn.1005cb49
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
add esp, 0x162c
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret
Function at 0x10062da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
lea edi, [ebp - 0x74]
mov ecx, 0x1d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x10148168
call fcn.1005dde1
cmp dword [section..data], 0xffffffff
jne 0x10062e48
mov dword [section..data], 0
push 3
push 0
push 0
push 0
push 6
call fcn.10062280
add esp, 0x14
test eax, eax
je 0x10062e48
push 3
push 0
push 0
push 2
push 6
call fcn.10062280
add esp, 0x14
test eax, eax
jne 0x10062e48
mov esi, esp
push 0x1011c8e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.1005d076
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10062e48
mov esi, esp
push str.NtCreateThreadEx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.1005d076
mov dword [section..data], eax
cmp dword [section..data], 0
je 0x10062f14
mov dword [ebp - 0x6c], 0x24
mov dword [ebp - 0x68], 0x10003
mov dword [ebp - 0x64], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x10004
mov dword [ebp - 0x54], 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp + 0x18]
and eax, 4
je 0x10062ea6
mov dword [ebp - 0x134], 1
jmp 0x10062eb0
mov dword [ebp - 0x134], 0
mov esi, esp
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x1fffff
lea ecx, [ebp - 0x18]
push ecx
call dword [section..data]
cmp esi, esp
call fcn.1005d076
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x10062f0f
mov eax, dword [ebp - 0x24]
push eax
call fcn.1005e1ab
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.1005d076
xor eax, eax
jmp 0x10062f3b
mov eax, dword [ebp - 0x18]
jmp 0x10062f3b
mov esi, esp
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.1005d076
push edx
mov ecx, ebp
push eax
lea edx, [0x10062f6c]
call fcn.1005cb49
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
add esp, 0x134
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10064510
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
lea edi, [ebp - 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1006454d
cmp dword [ebp + 0xc], 0
jne 0x10064547
cmp dword [ebp + 0x10], 0
je 0x1006454d
cmp dword [ebp + 0x14], 0
jne 0x10064551
xor al, al
jmp 0x100645b5
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push 0x33
call fcn.10064568
push edx
mov ecx, ebp
push eax
lea edx, [0x100645e4]
call fcn.1005cb49
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
add esp, 0xe0
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret

Function at 0x10064c40
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
lea edi, [ebp - 0x14]
mov ecx, 5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10064c7d
cmp dword [ebp + 0xc], 0
jne 0x10064c77
cmp dword [ebp + 0x10], 0
je 0x10064c7d
cmp dword [ebp + 0x14], 0
jne 0x10064c7f
jmp 0x10064cd2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
push 0x33
call 0x10064c92
add dword [esp], 5
retf
push edx
mov ecx, ebp
push eax
lea edx, [0x10064d04]
call fcn.1005cb49
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
add esp, 0xd4
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret

Function at 0x10064e00
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
lea edi, [ebp - 0x14]
mov ecx, 5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
push 0x33
call fcn.10064e34
Function at 0x100681f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1006827a
mov dword [ebp - 4], 0
jmp 0x10068216
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1006825c
lfence
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1005d076
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1005d076
jmp 0x1006820d
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x10145bdc]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1005d076
pop esi
add esp, 4
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret
Function at 0x10069650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x10145ba8]
mov dword [ebp - 4], eax
jmp 0x10069677
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10069690
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1006968e
mov eax, dword [ebp - 4]
jmp 0x10069714
jmp 0x1006966f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1005d076
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10069711
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x40
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfc0
jbe 0x100696d3
mov edx, dword [ebp - 4]
mov eax, dword [0x10145ba8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10145ba8], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1005d076
mov esp, ebp
pop ebp
ret

Function at 0x10069d60
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10069da9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10069da9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10069da9
xor eax, eax
jmp 0x10069dea
mov dword [ebp - 4], 1
jmp 0x10069dbb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10069de5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10069de3
xor eax, eax
jmp 0x10069dea
jmp 0x10069db2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10105c10
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1005b843
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10145018]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x10105de8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x10105d37
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x10105d37
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x10105d15
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x10105c99
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10105da1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x10105e08
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x10105de3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10105e08
jmp 0x10105c72
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
mov esp, ebp
pop ebp
ret
Function at 0x10105ea0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1005b843
mov eax, dword [0x101434c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10145018]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1010608b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x10105fd6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x10105fd6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x10105fb2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x10105f29
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10106044
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x101060ab
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x10106086
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x101060ab
jmp 0x10105f02
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c3ab
mov esp, ebp
pop ebp
ret
Function at 0x4b6a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
jmp 0x4b6a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b6aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6a90
mov eax, 1
add ebx, ebx
jne 0x4b6ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b6ac4
jne 0x4b6ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6ae3
dec eax
add ebx, ebx
jne 0x4b6ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b6aa8
add ebx, ebx
jne 0x4b6adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b6b35
xor ecx, ecx
sub eax, 3
jb 0x4b6afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b6b6a
sar eax, 1
mov ebp, eax
jmp 0x4b6b06
add ebx, ebx
jne 0x4b6b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6ad4
inc ecx
add ebx, ebx
jne 0x4b6b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b6ad4
add ebx, ebx
jne 0x4b6b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b6b16
jne 0x4b6b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b6b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b6b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b6b46
jmp 0x4b6a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b6b54
add edi, ecx
jmp 0x4b6a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b6b72
cmp byte [edi], 0x11
jne 0x4b6b72
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 0x4b6b77
lea edi, [esi + 0xb2000]
mov eax, dword [edi]
or eax, eax
je 0x4b6bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbc4ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbc640]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b6ba4
mov ecx, edi
jns 0x4b6bd3
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 + 0xbc644]
or eax, eax
je 0x4b6be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b6bc1
call dword [esi + 0xbc654]
mov ebp, dword [esi + 0xbc648]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b6c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x402e40
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x403360
test edx, edx
je 0x403360
call fcn.00402e57
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x406b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406b49

Function at 0x413be8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x413c1c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.00414500
lea eax, [ebx + 1]
cmp eax, 2
jb 0x413c15
mov dword [esi], ebx
call fcn.00442c20
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4