joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee12
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov edx, dword [0x10022418]
sub esp, 0x10
lea eax, [edx + 0x10]
push esi
push edi
cmp dword [0x10022414], eax
jle 0x1000efe5
mov ecx, dword [0x10022420]
lea eax, [ecx - 1]
cmp eax, dword [0x10022440]
jne 0x1000efe5
test ecx, ecx
je 0x1000efe5
mov eax, dword [0x10022424]
test eax, eax
je 0x1000ee74
dec eax
cmp eax, dword [0x10022444]
jne 0x1000efe5
movaps xmm0, xmmword [0x1001de20]
lea esi, [ebp - 0x10]
mov eax, dword [0x10022410]
sub esp, 0x10
mov edi, esp
add eax, 0x99
movups xmmword [ebp - 0x10], xmm0
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x40c00000
push 0x10
push 0x8c
push edx
push eax
call fcn.10005bd2
movaps xmm0, xmmword [0x1001de40]
lea esi, [ebp - 0x10]
mov eax, dword [0x10022410]
push str.Aimbot_Key
push 0x1001c7f4
push 0
push dword [0x10021f80]
movups xmmword [ebp - 0x10], xmm0
sub esp, 0x10
add eax, 6
mov edi, esp
push dword [0x10022418]
movsd dword es:[edi], dword [esi]
push eax
push 0x10021f7c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100062b8
mov ecx, dword [0x100217dc]
add esp, 0x2c
xor esi, esi
mov eax, dword [ecx]
push 0x6b
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x1000ef32
mov ecx, dword [0x10022410]
mov edx, dword [0x10022418]
push 0x10
push 0x8c
lea ecx, [ecx + 0x99]
call fcn.1000c9e1
pop ecx
pop ecx
test al, al
je 0x1000ef32
mov al, 1
mov byte [0x10023100], al
jmp 0x1000ef5e
mov al, byte [0x10023100]
test al, al
jne 0x1000ef62
mov ecx, dword [0x10021030]
cmp ecx, 0x7c
jbe 0x1000ef4d
mov esi, 0x1002244c
jmp 0x1000ef56
imul esi, ecx, 0x18
add esi, 0x1002244c
cmp dword [esi + 0x14], 0x10
jb 0x1000ef5e
mov esi, dword [esi]
test al, al
je 0x1000ef89
mov esi, 0x1001cfbc
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1000ef7c
inc edi
cmp edi, 0x7c
jl 0x1000ef69
jmp 0x1000ef89
mov dword [0x10021030], edi
mov byte [0x10023100], 0
movaps xmm0, xmmword [0x1001de40]
push esi
mov eax, dword [0x10022410]
lea esi, [ebp - 0x10]
push 0x1001c7f4
push 0
push dword [0x10021f80]
movups xmmword [ebp - 0x10], xmm0
sub esp, 0x10
add eax, 0x9f
mov edi, esp
push dword [0x10022418]
movsd dword es:[edi], dword [esi]
push eax
push 0x10021f7c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100062b8
mov eax, dword [0x10022418]
add esp, 0x2c
mov dword [0x1002241c], eax
add eax, 0x1a
and dword [0x10022448], 0
mov dword [0x10022418], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x10012392
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
call fcn.10012148
mov ecx, eax
test ecx, ecx
je 0x10012462
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10012462
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10012462
mov eax, dword [eax + ecx + 0x50]
xor esi, esi
add eax, ecx
mov edi, ebx
mov dword [ebp - 0xc], eax
cmp ecx, eax
jae 0x10012462
mov bl, byte [edi]
cmp bl, 0x3f
je 0x10012430
lea eax, [ebx - 0x30]
movzx edx, bl
cmp al, 9
ja 0x100123f8
add edx, 0xffffffd0
jmp 0x100123fe
and edx, 0xffffffdf
sub edx, 0x37
mov al, byte [edi + 1]
movzx ebx, al
sub al, 0x30
cmp al, 9
ja 0x1001240f
add ebx, 0xffffffd0
jmp 0x10012415
and ebx, 0xffffffdf
sub ebx, 0x37
movzx eax, byte [ecx]
shl edx, 4
or edx, ebx
cmp eax, edx
je 0x1001242e
test esi, esi
je 0x1001245c
mov edi, dword [ebp - 8]
mov ecx, esi
xor esi, esi
jmp 0x1001245c
mov bl, byte [edi]
test esi, esi
mov eax, ecx
cmovne eax, esi
cmp byte [edi + 2], 0
mov esi, eax
je 0x10012469
mov eax, 0x3f3f
cmp word [edi], ax
je 0x10012452
cmp bl, 0x3f
jne 0x10012452
push 2
jmp 0x10012454
push 3
pop eax
add edi, eax
cmp byte [edi], 0
je 0x10012469
inc ecx
cmp ecx, dword [ebp - 0xc]
jb 0x100123e2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, esi
jmp 0x10012464

Function at 0x100136be
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x1002100c]
xor eax, esp
mov dword [esp + 0x74], eax
push 0x58
lea eax, [esp + 0xc]
mov dword [esp + 8], ecx
push 0
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
and dword [esp + 0x24], 0
lea edx, [esp + 0x10]
and dword [esp + 0x28], 0
lea ecx, [esp + 0x14]
add esp, 8
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10013584
pop ecx
lea edx, [esp + 8]
lea ecx, [esp + 0x64]
call fcn.10013630
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6a]
xor ecx, esp
call fcn.10018992
mov esp, ebp
pop ebp
ret
Function at 0x4096cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41103c]
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.00405f4e
and dword [ebp - 0x14], 0
cmp dword [0x412ca0], 0
mov dword [ebp - 0x18], eax
jne 0x40977f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409827
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409827
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x412ca0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x412ca4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x412ca8], eax
call edi
push eax
call esi
mov dword [0x412cb0], eax
test eax, eax
je 0x40977f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x412cac], eax
mov eax, dword [0x412cac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4097d8
cmp dword [0x412cb0], ecx
je 0x4097d8
push eax
call esi
push dword [0x412cb0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4097d8
test ebx, ebx
je 0x4097d8
call edi
test eax, eax
je 0x4097cf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4097cf
test byte [ebp - 8], 1
jne 0x4097d8
or dword [ebp + 0x10], 0x200000
jmp 0x40980b
mov eax, dword [0x412ca4]
cmp eax, dword [ebp - 0x18]
je 0x40980b
push eax
call esi
test eax, eax
je 0x40980b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40980b
mov eax, dword [0x412ca8]
cmp eax, dword [ebp - 0x18]
je 0x40980b
push eax
call esi
test eax, eax
je 0x40980b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x412ca0]
call esi
test eax, eax
je 0x409827
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409829
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004030a6
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 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403203
pop dword [ebp - 0x50]
mov eax, 0x79b392fe
add eax, 0x868c9f05
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xbc2b4ccb
add dword [ebp - 0x60], 0x9226f880
mov dword [ebp - 0x5c], 0x41b5a604
sub dword [ebp - 0x5c], 0xf8259bf
mov dword [ebp - 0x58], 0xc0696545
sub dword [ebp - 0x58], 0x741d2117
mov dword [ebp - 0x54], 0x55571446
sub dword [ebp - 0x54], 0x55571446
lea eax, [ebp - 0x60]
push eax
mov eax, 0x2f630063
add eax, 0xd0dd7001
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xa7b179d
sub dword [ebp - 0x60], 0x9608ae47
mov dword [ebp - 0x5c], 0x19cc3e5
add dword [ebp - 0x5c], 0x3fcf9d90
mov dword [ebp - 0x58], 0x2cafd80b
sub dword [ebp - 0x58], 0xc9406b9f
mov dword [ebp - 0x54], 0x717488ff
add dword [ebp - 0x54], 0x8e8b7701
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35b65
push 0
call eax
mov ecx, 0x79aa5b92
sub ecx, 0x79aa1719
mov edx, eax
mov ebx, 0x67a899ae
add ebx, 0x98986652
add ebx, dword [ebp - 0x50]
mov edi, 0x1800d94e
add dword [ebp - 0x14], ebx
mov esi, dword [ebx]
sub dword [ebp - 0x14], 0x987d8ce7
sub esi, edi
sub dword [ebp - 0x3c], 0x38752e5e
mov dword [edx], esi
xor dword [ebp - 0x24], ebx
add edx, 0xf1aac1c5
sub edx, 0xf1aac1c1
add ebx, 4
loop 0x40331a
add eax, 0xfd71c059
sub eax, 0xfd70bba2
mov ebx, eax
add eax, 0x8a2997ed
add eax, 0x75d66818
mov ecx, 0x9fabcacb
sub ecx, 0x9f6bcacb
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x51a817a1
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
nop
mov dword [eax - 0x3ed66f70], edx
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e296df1
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

Function at 0x401353
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x402031
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.00401353
test eax, eax
jne 0x4020cb
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402f6b
sub eax, 0x402509
mov dword [esp], 0x402509
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4020cb
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401c8d
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0040241e
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c000
mov dword [esp], 0x40300c
call fcn.00402c6e
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x104c50b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104c5200
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 0x104c50d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c50c2
add dl, dl
jne 0x104c50e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c5134
xor eax, eax
add dl, dl
jne 0x104c50ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104c51d5
add dl, dl
jne 0x104c50fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c5108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c5113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c511e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104c512a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104c50cd
mov eax, 1
add dl, dl
jne 0x104c5142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104c514d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c5139
sub eax, ebx
mov ebx, 1
jne 0x104c5180
mov ecx, 1
add dl, dl
jne 0x104c5166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104c5171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c515d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c50cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104c5197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104c51a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104c518e
cmp eax, 0x7d00
jae 0x104c51c5
cmp eax, 0x500
jb 0x104c51c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c50cd
cmp eax, 0x7f
ja 0x104c51c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104c50cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104c51f6
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 0x104c50cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4e6b20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
jmp 0x4e6b3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e6b41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b30
mov eax, 1
add ebx, ebx
jne 0x4e6b53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e6b64
jne 0x4e6b83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b83
dec eax
add ebx, ebx
jne 0x4e6b70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e6b48
add ebx, ebx
jne 0x4e6b7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e6bd5
xor ecx, ecx
sub eax, 3
jb 0x4e6b9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e6c0a
sar eax, 1
mov ebp, eax
jmp 0x4e6ba6
add ebx, ebx
jne 0x4e6ba6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b74
inc ecx
add ebx, ebx
jne 0x4e6bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b74
add ebx, ebx
jne 0x4e6bc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e6bb6
jne 0x4e6bd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e6bb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e6bf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e6be6
jmp 0x4e6b36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e6bf4
add edi, ecx
jmp 0x4e6b36
pop esi
mov edi, esi
mov ecx, 0x110e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e6c12
cmp byte [edi], 0xd
jne 0x4e6c12
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 0x4e6c17
lea edi, [esi + 0xe4000]
mov eax, dword [edi]
or eax, eax
je 0x4e6c8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe73e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe7440]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e6c44
mov ecx, edi
jns 0x4e6c73
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 + 0xe7448]
or eax, eax
je 0x4e6c89
mov dword [ebx], eax
add ebx, 4
jmp 0x4e6c61
call dword [esi + 0xe7444]
mov ebp, dword [esi + 0xe744c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4e6cc3
sub esp, 0xffffff80
jmp 0x405638
Function at 0x68441729
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret

Function at 0x68441822
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x68441885
mov dword [esp], str.Open_file_error_
call sym._printf
mov eax, 0xffffffff
jmp 0x68441947
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._GetFileSize_8
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x684418ba
mov dword [esp], str.Get_file_size_error_
call sym._printf
mov eax, 0xffffffff
jmp 0x68441947
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x684418e4
mov dword [esp], str.Allocate_memory_error_
call sym._printf
mov eax, 0xffffffff
jmp 0x68441947
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ReadFile_20
sub esp, 0x14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x6844192b
mov dword [esp], str.Read_file_error_
call sym._printf
mov eax, 0xffffffff
jmp 0x68441947
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
leave
ret