joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fea8
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0045fe21
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x460017
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x460017
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x45ffcc
jg 0x45ff04
test eax, eax
je 0x45ffc2
push 1
push 0x1000
call fcn.00450d4b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45ff27
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x45ffb9
push 0x8000
push ebx
call fcn.0044e711
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45ff50
jg 0x45ff4b
cmp ecx, 0x1000
jb 0x45ff50
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004559a8
add esp, 0x10
cmp eax, 0xffffffff
je 0x45ff95
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x45ff4b
jl 0x45ff7c
test ecx, ecx
jne 0x45ff3d
push dword [ebp - 0xc]
push ebx
call fcn.0044e711
push esi
call fcn.00450da8
add esp, 0xc
xor ebx, ebx
jmp 0x460025
cmp byte [edi + 0x24], 0
je 0x45ffac
cmp dword [edi + 0x20], 5
jne 0x45ffac
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x45ffb7
mov ebx, dword [edi + 0x18]
jmp 0x45ffb9
xor ebx, ebx
push esi
call fcn.00450da8
pop ecx
jmp 0x460025
test ecx, ecx
jg 0x45ff8e
jl 0x45ffcc
test eax, eax
jae 0x45ff8e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00453a58
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45ffec
cmp byte [edi + 0x1c], 0
je 0x45ff8e
jmp 0x46001d
push ebx
call fcn.0045973a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45ff8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x460025
cmp byte [edi + 0x1c], 0
je 0x460022
mov ebx, dword [edi + 0x18]
jmp 0x460025
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00453a58
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x461500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46152d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46152d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43415a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x434168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43414a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x434145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x434145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x4033f0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x180c
call fcn.0040c8c0
mov eax, dword [0x2b8ab9c]
mov ecx, dword [0x2b8ab10]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x4034fb
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b8ab9c], 0x959
jne 0x4034e1
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea ecx, [esp + 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea edx, [esp + 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0x402ce8
push 0x402d14
call esi
push 0
push 0x402d4c
push 0x402d60
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403230
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403434
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180c
ret
Function at 0x409b85
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430b90]
jne 0x409b8f
repz ret
jmp fcn.0040be0b

Function at 0x409ce7
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.0040713d
and dword [ebp - 4], 0
cmp dword [0x433d20], 0
mov ebx, eax
jne 0x409d98
push 0x401b84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409e49
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b78
push edi
call esi
test eax, eax
je 0x409e49
push eax
call fcn.004070cb
mov dword [esp], 0x401b68
push edi
mov dword [0x433d20], eax
call esi
push eax
call fcn.004070cb
mov dword [esp], 0x401b54
push edi
mov dword [0x433d24], eax
call esi
push eax
call fcn.004070cb
mov dword [esp], 0x401b38
push edi
mov dword [0x433d28], eax
call esi
push eax
call fcn.004070cb
pop ecx
mov dword [0x433d30], eax
test eax, eax
je 0x409d98
push 0x401b20
push edi
call esi
push eax
call fcn.004070cb
pop ecx
mov dword [0x433d2c], eax
mov eax, dword [0x433d2c]
cmp eax, ebx
je 0x409df0
cmp dword [0x433d30], ebx
je 0x409df0
push eax
call fcn.00407146
push dword [0x433d30]
mov esi, eax
call fcn.00407146
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409df0
test edi, edi
je 0x409df0
call esi
test eax, eax
je 0x409de7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409de7
test byte [ebp - 0xc], 1
jne 0x409df0
or dword [ebp + 0x10], 0x200000
jmp 0x409e29
mov eax, dword [0x433d24]
cmp eax, ebx
je 0x409e29
push eax
call fcn.00407146
pop ecx
test eax, eax
je 0x409e29
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409e29
mov eax, dword [0x433d28]
cmp eax, ebx
je 0x409e29
push eax
call fcn.00407146
pop ecx
test eax, eax
je 0x409e29
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433d20]
call fcn.00407146
pop ecx
test eax, eax
je 0x409e49
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409e4b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011cc
Capabilities:
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040b610
mov eax, dword [0x46798c]
mov ecx, dword [0x464784]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40125d
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x46798c], 0xae9
jne 0x401250
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.peraleyuwawusogeyodotu
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push esi
lea eax, [ebp - 0x804]
push eax
push str.tilibevigonisesayetecacimofizojokepabovobaciki
push str.saxaxo
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call fcn.00401050
add ebx, 8
dec edi
jne 0x4011f4
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40273f
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x46798c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x464784], eax
ret

Function at 0x406c7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461408]
jne 0x406c84
repz ret
jmp fcn.0040a7d2

Function at 0x40729c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x461408]
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.004063d6
and dword [ebp - 0x14], 0
cmp dword [0x462f80], 0
mov dword [ebp - 0x18], eax
jne 0x40734f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4073f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4073f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x462f80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x462f84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x462f88], eax
call edi
push eax
call esi
mov dword [0x462f90], eax
test eax, eax
je 0x40734f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x462f8c], eax
mov eax, dword [0x462f8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4073a8
cmp dword [0x462f90], ecx
je 0x4073a8
push eax
call esi
push dword [0x462f90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4073a8
test ebx, ebx
je 0x4073a8
call edi
test eax, eax
je 0x40739f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40739f
test byte [ebp - 8], 1
jne 0x4073a8
or dword [ebp + 0x10], 0x200000
jmp 0x4073db
mov eax, dword [0x462f84]
cmp eax, dword [ebp - 0x18]
je 0x4073db
push eax
call esi
test eax, eax
je 0x4073db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4073db
mov eax, dword [0x462f88]
cmp eax, dword [ebp - 0x18]
je 0x4073db
push eax
call esi
test eax, eax
je 0x4073db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x462f80]
call esi
test eax, eax
je 0x4073f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4073f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c7a
leave
ret
Function at 0x405960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3cd8d95
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x3cf6124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x3cf732c
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004251b0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x3cf6cb4
push eax
call fcn.004251b0
mov esi, dword [0x3cf733c]
xor ebx, ebx
mov edi, dword [0x3cf7340]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x3cf9ac8], bl
mov eax, ebx
mov ecx, 0x3cf732c
cmovae ecx, dword [0x3cf732c]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x3cf9bd8], al
inc ebx
cmp ebx, 0x100
jl 0x4059e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x3cf9ac8]
movzx eax, byte [esi + 0x3cf9bd8]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x405a34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x3cf9ac8]
mov byte [esi + 0x3cf9ac8], al
inc esi
mov byte [edi + 0x3cf9ac8], dl
cmp esi, 0x100
jl 0x405a10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00405640
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405a89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405adf
push edx
push ecx
call fcn.0042af96
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x405acb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405adf
push edx
push ecx
call fcn.0042af96
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042fca5
int3
Function at 0x408c70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x3cf6124]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call dword [0x3ce110c]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x408e59
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x408e59
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0042c5b0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call dword [0x3ce1094]
test eax, eax
je 0x408e59
push 4
push 0x1000
push 4
push 0
call dword [0x3ce10f0]
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call dword [0x3ce1080]
test eax, eax
je 0x408e59
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x3cedbb0
push dword [esp + 0x30]
call dword [0x3ce1090]
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x408d7c
push 0x3cedbb4
push 0x3cedbcc
call dword [0x3ce10c8]
push eax
call dword [0x3ce1084]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call dword [0x3ce1110]
mov dword [esp + 0x14], eax
test eax, eax
je 0x408e59
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call dword [0x3ce1108]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x408e13
mov dword [esp + 0xc], eax
call fcn.00408ab0
push eax
call dword [0x3ce10b8]
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [0x3ce1108]
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x408dc2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [0x3ce1108]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call dword [0x3ce109c]
push dword [esp + 0x24]
call dword [0x3ce10cc]
push 0x8000
push 0
push esi
call dword [0x3ce10fc]
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
Function at 0x40da00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3cd99bb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x3cf6124]
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 - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00432a73
push eax
call fcn.0042f06c
add esp, 8
call fcn.0042f04b
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0042f04b
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0042f04b
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00404fe0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x40dab0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40dac6
push 0x40
push 0
push 0x3cfbc98
sub esi, ecx
call fcn.0042c5b0
add esp, 0xc
mov dword [0x3cfbc8c], 0
mov edx, esi
mov dword [0x3cfbc88], 0
lea ecx, [ebp - 0x410]
mov dword [0x3cfbc78], 0x67452301
mov dword [0x3cfbc7c], 0xefcdab89
mov dword [0x3cfbc80], 0x98badcfe
mov dword [0x3cfbc84], 0x10325476
call fcn.004067a0
call fcn.00406860
mov ecx, 0x3cf9cd8
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40db60
sub ecx, edx
push ecx
push 0x3cf9cd8
lea ecx, [ebp - 0x42c]
call fcn.004251b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x40dbbb
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc81
push edx
push ecx
call fcn.0042af96
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x40dc7c
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.004251b0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x40dc5e
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dc81
push edx
push ecx
call fcn.0042af96
add esp, 8
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.0042a920
mov esp, ebp
pop ebp
ret
call fcn.004256c0
call fcn.0042fca5
int3
Function at 0x424a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x3cf6124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x424afa
cmp byte [esi + 0x3d], 0
je 0x424afa
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x424ae8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x424ab0
sub eax, 1
je 0x424ab4
sub eax, 2
jne 0x424ae8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x424ad1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00431e06
add esp, 0x10
cmp edi, eax
jne 0x424ae8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a920
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0042a920
mov esp, ebp
pop ebp
ret

Function at 0x425370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3cdc5e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x3cf6124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], 0x3cede58
call fcn.0042ad15
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004297ae
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439ac1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439937
Function at 0x10001016
Capabilities:
Encode data using xor
Resolve function by fnv-1a hash

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, dword [0x1004a0cc]
test ecx, ecx
jne 0x100010d9
mov esi, dword [0x1004a0c4]
test esi, esi
jne 0x10001052
mov ecx, 0xf8f45725
call fcn.1000171e
mov esi, eax
mov dword [0x1004a0c4], eax
mov dword [esp + 0xe], 0xeac4f4e2
mov dword [esp + 0x12], 0xeae7eb
mov word [esp + 0xc], 0xe748
movsd xmm0, qword [esp + 0xd]
xorps xmm0, xmmword [0x1003f1c0]
movlps qword [esp + 0xd], xmm0
mov ecx, dword [0x1004a0c8]
test ecx, ecx
jne 0x10001096
mov ecx, 0x53b2070f
call fcn.1000171e
mov ecx, eax
mov dword [0x1004a0c8], eax
mov dword [esp + 2], 0xeae0eaf1
mov word [esp + 6], 0xbab4
mov byte [esp + 8], 0
mov word [esp], 0xe76b
xor eax, eax
inc eax
mov edx, eax
add dl, 0x81
xor byte [esp + eax], dl
inc eax
cmp eax, 8
jne 0x100010b3
mov eax, esp
mov byte [eax + 8], 0
push eax
call ecx
lea ecx, [esp + 0xc]
push ecx
push eax
call esi
mov ecx, eax
mov dword [0x1004a0cc], eax
push ebp
push ebx
push edi
call ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x100010e8
Capabilities:
Encode data using xor
Resolve function by fnv-1a hash

Disassembly:
push esi
sub esp, 0x1c
mov ecx, dword [0x1004a0d0]
test ecx, ecx
jne 0x100011ae
mov esi, dword [0x1004a0c4]
test esi, esi
jne 0x10001115
mov ecx, 0xf8f45725
call fcn.1000171e
mov esi, eax
mov dword [0x1004a0c4], eax
mov dword [esp + 0xe], 0xe9f7d4f7
mov dword [esp + 0x12], 0xf9faede4
mov dword [esp + 0x16], 0xfeece9c3
mov byte [esp + 0x1a], 0
mov word [esp + 0xc], 0xe747
xor eax, eax
inc eax
mov ecx, eax
add cl, 0x81
xor byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0xe
jne 0x1000113c
mov byte [esp + 0x1a], 0
mov ecx, dword [0x1004a0c8]
test ecx, ecx
jne 0x1000116b
mov ecx, 0x53b2070f
call fcn.1000171e
mov ecx, eax
mov dword [0x1004a0c8], eax
mov dword [esp + 2], 0xeae0eaf1
mov word [esp + 6], 0xbab4
mov byte [esp + 8], 0
mov word [esp], 0xe76b
xor eax, eax
inc eax
mov edx, eax
add dl, 0x81
xor byte [esp + eax], dl
inc eax
cmp eax, 8
jne 0x10001188
mov eax, esp
mov byte [eax + 8], 0
push eax
call ecx
lea ecx, [esp + 0xc]
push ecx
push eax
call esi
mov ecx, eax
mov dword [0x1004a0d0], eax
call ecx
add esp, 0x1c
pop esi
ret