joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403275
Capabilities:
Get common file path

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40327b
call fcn.0040dfc0
push dword [esp + 0x2c]
call fcn.004051a0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00405060
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.00405060
call fcn.00402bc1
and eax, eax
je 0x4032cb
call fcn.0040559a
mov ebx, eax
cmp ebx, 0x41
je 0x4032cb
mov eax, 1
jmp 0x4032cd
xor eax, eax
and eax, eax
je 0x40343b
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040de80
pop edx
push eax
push 0x800
call fcn.004062c0
lea eax, [esp + 0xc]
push eax
call fcn.0040dec0
push 0x800
push dword [esp + 0xc]
call sub.KERNEL32.DLL_GetWindowsDirectoryW
push dword [esp + 8]
call sub.SHLWAPI.DLL_PathAddBackslashW
mov edx, dword [esp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
mov edx, 0x41704c
push edx
call fcn.0040e020
lea eax, [esp + 0xc]
push eax
call fcn.0040dec0
push dword [esp + 8]
call sub.SHLWAPI.DLL_PathAddBackslashW
mov edx, dword [esp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
mov edx, dword [esp + 4]
push edx
call fcn.0040e020
lea eax, [esp + 0x10]
push eax
call fcn.0040dec0
mov edx, dword [esp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
mov edx, dword [esp + 4]
push edx
call fcn.0040e020
mov edx, dword [esp + 8]
push edx
call fcn.0040e020
lea eax, [esp + 0x14]
push eax
call fcn.0040dec0
push dword [esp + 0xc]
push 0
call fcn.0040adc0
and eax, eax
je 0x4033bc
mov dword [esp + 0x14], 1
push 0
call fcn.0040a9d0
jmp 0x4033c4
mov dword [esp + 0x14], 0
push dword [esp + 0x10]
push 0
call fcn.0040adc0
and eax, eax
je 0x4033ea
mov dword [esp + 0x18], 1
push 0
call fcn.0040a9d0
jmp 0x4033f2
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x403439
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040de80
pop edx
push eax
push 0x800
call fcn.004062c0
lea eax, [esp + 0xc]
push eax
call fcn.0040dec0
push 0x800
push dword [esp + 0xc]
call sub.KERNEL32.DLL_GetSystemDirectoryW
push dword [esp + 8]
call sub.SHLWAPI.DLL_PathAddBackslashW
jmp 0x403476
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040de80
pop edx
push eax
push 0x800
call fcn.004062c0
lea eax, [esp + 0xc]
push eax
call fcn.0040dec0
push 0x800
push dword [esp + 0xc]
call sub.KERNEL32.DLL_GetSystemDirectoryW
push dword [esp + 8]
call sub.SHLWAPI.DLL_PathAddBackslashW
mov edx, dword [esp + 8]
push edx
call fcn.0040de80
pop edx
push eax
push edx
call fcn.0040e020
pop eax
push eax
call fcn.00405170
pop edx
add eax, edx
jmp 0x40349e
push dword [esp + 0x10]
call fcn.0040df50
push dword [esp]
call fcn.0040df50
push dword [esp + 4]
call fcn.0040df50
push dword [esp + 8]
call fcn.0040df50
push dword [esp + 0xc]
call fcn.0040df50
add esp, 0x1c
pop ebx
ret 8
Function at 0x40a6c5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x40a73d
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x40a71e
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x40a71b
cmp ecx, 0x5c
je 0x40a71b
cmp ecx, 0x2f
jne 0x40a728
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x40a708
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
jmp 0x40a73f
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40a745
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x40a753
jmp dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
ret 8

Function at 0x40a7b9
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp dword [esp + 4], 0
je 0x40a7e2
test byte [esp + 8], 2
je 0x40a7d6
push reloc.advapi32.dll_RegCreateKeyExA
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x40a7e4
xor eax, eax
ret 8

Function at 0x40aa40
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x40aa7c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x40ae80
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x40af74
cmp word [edx], 0
je 0x40af74
mov ecx, dword [esp + 0x10]
push esi
cmp ecx, 0x19
jne 0x40af0d
mov esi, dword [esp + 0xc]
mov ecx, edx
push edi
cmp dword [esi + 4], 0
lea edi, [ecx + 2]
je 0x40aee0
jmp 0x40aec0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aec0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0040b020
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40aee0
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x10]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.0040b130
mov esi, eax
test esi, esi
je 0x40af6b
mov eax, dword [esp + 0xc]
cmp dword [eax + 4], 0
je 0x40af48
push dword [esp + 0x10]
push esi
push eax
call fcn.0040b020
mov dword [esp + 4], eax
jmp 0x40af5c
push 0
lea ecx, [esp + 8]
push ecx
push dword [esp + 0x18]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
push 0
push dword [0x418010]
call dword [fcn.0041753c]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push reloc.advapi32.dll_RegCreateKeyExA
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4093f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x409407
pop dword [ebp - 0x1c]
mov eax, 0x409407
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x9217be05
add dword [ebp - 0x2c], 0xbc3a8746
mov dword [ebp - 0x28], 0x5dbd79c8
sub dword [ebp - 0x28], 0x2b8a2d83
mov dword [ebp - 0x24], 0xb46c1d38
sub dword [ebp - 0x24], 0x681fd90a
mov dword [ebp - 0x20], 0x38e3eb84
add dword [ebp - 0x20], 0xc71c147c
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x75e3f807
add eax, 0x8a5cd845
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x473bb485
sub dword [ebp - 0x2c], 0xd2c94b2f
mov dword [ebp - 0x28], 0x1a49a24a
sub dword [ebp - 0x28], 0xd8dd40d5
mov dword [ebp - 0x24], 0xffd2870c
add dword [ebp - 0x24], 0x639ce560
mov dword [ebp - 0x20], 0x743aa9c2
sub dword [ebp - 0x20], 0x743aa9c2
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x1c8fb900
sub eax, 0x1c4ee8b8
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x407ca
push 0
call eax
mov ecx, 0x640d
mov ebx, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x1c]
mov edx, 0x3919f604
sub edx, 0xbb3115fe
add dword [ebp - 4], 0xa16f10cf
mov esi, dword [edi]
xor dword [ebp - 0x14], ebx
xor esi, edx
sub dword [ebp - 0x18], 0xdf7f7720
mov dword [ebx], esi
xor dword [ebp - 8], 0x57e99426
add ebx, 4
add edi, 0x67a230c7
sub edi, 0x67a230c3
loop 0x409518
add eax, 0x7a91d4f8
add eax, 0x856fae0f
xor ebx, ebx
add ebx, eax
add eax, 0x82247f65
sub eax, 0x82247f60
mov ecx, 0xe674c520
sub ecx, 0xe634c520
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x40ed68
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40eae0
add ebx, ecx
call fcn.0040ed8b
add ebx, 0xfbd83fa3
or ebx, ebx
xor dword [edi], eax
and ecx, ecx
inc ebx
inc edi
cmp edi, esi
jne fcn.0040ed68
mov ebx, ecx
and ebx, ecx
ret
Function at 0x413370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4199e0], ecx
add edx, 1
cmp edx, 0x100
jb 0x413372
cmp edx, 0x800
jae 0x41345b
mov edi, edi
mov eax, dword [edx*4 + 0x4195e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4199e0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x4199dc], eax
jb 0x413430
mov dword [0x4199b4], 0x413ab0
call fcn.004135a0
test eax, eax
jne 0x413478
mov dword [0x4199b4], 0x4139d0
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x62a8d820
Capabilities:
Write file on windows

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x403e0c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x403e3e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x403e3e
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x403f16
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x403e66
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x403e8f
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0040bcb8
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x403ee0
sub eax, 1
je 0x403ee0
sub eax, 2
jne 0x403f16
push dword [esi + 0x4c]
push dword [ebp - 4]
call fcn.00401600
or ecx, 0xffffffff
test al, al
pop edi
cmove ebx, ecx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x403efd
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040c62f
add esp, 0x10
cmp edi, eax
jne 0x403f16
lea ecx, [ebp - 4]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 8], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x4054ec
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x4054db
jg 0x405458
test edx, edx
je 0x4054db
call fcn.00402f50
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x4054a6
jg 0x40546e
test esi, esi
je 0x4054a6
cmp ebx, eax
jg 0x40547d
jl 0x405478
cmp edi, esi
jae 0x40547d
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00407e40
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4054c8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x4054d5
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x405458
jl 0x4054d5
test edi, edi
jne 0x405458
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
test edx, edx
je 0x405510
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x405515
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, edx
cdq
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], edx
test edi, edi
jl 0x405574
jg 0x405528
test esi, esi
je 0x405574
test edx, edx
jl 0x40556f
jg 0x405532
test eax, eax
je 0x40556f
cmp edi, edx
jg 0x405544
jl 0x40553c
cmp esi, eax
jae 0x405544
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [ebp - 0x10]
call fcn.00407e40
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add ebx, edx
mov ecx, dword [ebp - 4]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x405577
mov ebx, dword [ebp + 8]
jmp 0x405581
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x40559a
jg 0x405581
test esi, esi
je 0x40559a
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x40559a
push eax
push esi
push 1
push ebx
call fcn.0040c62f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40752d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40756c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40756c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40756c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40756c
cmp dword [ecx + 0x74], 0xe
jbe 0x40756c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x412ab2
Capabilities:
Read file on windows

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

Function at 0x41cee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41cf0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41cf0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x425509
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x425509
lcall 0x5de5, 0x8b10c483
jmp loc.007b525c
Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0254
mov ecx, dword [ebp + 0x33]
push ebx
mov ecx, 0x18bf633
xor edx, dword [ebx - 0x47]
xor esi, esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x35]
push edi
inc eax
jne 0x4070db
mov dl, byte [0x84fc7589]
ror byte [ecx + 0x75890a75], 0xf0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
je 0x407b40
sbb dword [ebp + 0x14], ebx
cmp al, 0x25
je 0x40714b
mov ecx, dword [esp + esi*8]
sal byte ss:[ebp + ebp + 0x62], 0x45
fdiv qword [edx - 0x3c]
mov edi, dword [edi + 0x755850c]
call dword [ebp + 8]
les ax, [esp + ecx*4]
ror byte [edi], 0x85
fmul qword [edx]
add byte [eax], al
pop ebp
xor al, 0xb4
mov eax, dword [edi]
mov dword [ebp - 0x24], ecx
jns 0x40718e
adc byte [eax - 0x77], al
inc ebp
movsd dword es:[edi], dword [esi]
mov bl, byte [esi - 0x78]
dec eax
test eax, 0xe9ecca55
push esp
or al, byte [eax]
fimul word [ebx + 0xd8b107d]
adc eax, 0xde0040c1
mov dword [eax], 0xd2820000
inc edi
cmp dword [ecx], eax
mov edi, dword [ebp + 0x10]
mov ecx, dword [0x40c115]
faddp st(7)
add byte [eax], al
add byte [edx + 0x13947d2], al
mov dword [ebp - 0x44], eax
xchg edx, eax
jge 0x407124
call dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [ebp + 0x7f], edx
mov ebx, 0x889fc158
sub bh, bl
mov dword [ebp + 0x10], edi
jle 0x40718b
mov dl, byte [edi]
push 0xffffffffffffffb6
push edx
push eax
adc dword [eax - 0x3f], ebp
inc eax
add byte [ebx - 0x5ecc2d3c], al
jmp 0x40719d
mov ecx, dword [0xd7c178]
rcl edi, 0
xor eax, eax
mov al, byte [edi]
mov ecx, dword [ecx]
pop ds
add al, 0xe
and eax, 2
cmp eax, edx
invd
leave
add dword [esi - 0x11cd4700], esi
add byte [eax], al
wait
sub byte [ebp + 0x55890614], bh
lodsb al, byte [esi]
inc edi
jmp 0x4071aa
mov ecx, dword [ebp - 0x34]
movsd dword es:[edi], dword [esi]
leave
je 0x407b9f
mov ecx, dword [esi]
sar dh, 0xc9
jne 0x407b9f
mov edx, dword [ebp - 0x20]
fmul dword [ebp - 4]
in al, 0xd1
jbe 0x407b9f
ffree st(0)
je 0x407b8a
cmp eax, dword [ebp - 0x24]
jb 0x407b81
mov edi, dword [ebp + 0xc]
mov esp, dword [esi - 0xc]
push edi
mov dword [ecx], ebx
call dword [ebp + 8]
add esp, 4
test dword [ecx + 0xf8b4fd6], esp
out dx, al
mov ebp, 0xf44d8904
mov dword [ebp + 0x14], edx
mov eax, ecx
pop ebp
dec ebp
pop ss
mov byte [eax + eax*2], dh
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
inc ecx
imul esi, dword [ebx], 0xe04d8bec
dec ecx
cmp ecx, edx
mov dword [ebp - 0x20], ecx
ja 0x407b58
inc dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov al, byte [edx]
test al, al
stosd dword es:[edi], eax
test dword [ebp + esi*8 - 1], ebx
dec dword [ebx + 0x3a3a0c4d]
hlt
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5a5d59ab
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x900e34b5
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219