joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e9a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca288
push 0x498ce4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00497180
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46eb50
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x46eb91
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x46ebfe
cmp dword [esp + 0x1c], 2
jne 0x46ebfe
cmp dword [esp + 0x10], 5
jne 0x46ebfe
cmp dword [esp + 0x14], 1
jne 0x46ebfe
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46ebe8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x46ebd9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x46ebe1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x46ebfe
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret
Function at 0x46f790
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00497aa0
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.004987ce
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46f93d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x46f93d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.0046f950
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.0046f950
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.0046f950
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.0046f950
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x46f93d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x4715e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00473486
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x471652
push 6
call fcn.004730cb
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4716c5
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.00473486
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4716bb
push 6
call fcn.004730cb
add esp, 4
jmp 0x4716cd
mov eax, dword [ebp - 4]
jmp 0x4716cd
mov esp, ebp
pop ebp
ret 8
Function at 0x4a917e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004b35b3
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a91af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004a91c2
pop edi
pop esi
pop ebx
ret 8

Function at 0x4aa796
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aa7ce
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a87df
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a87b7
jmp 0x4aa7da
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ac085
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ac0c7
call fcn.004b35b3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ac0c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ac0be
xor eax, eax
jmp 0x4ac0cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ac0d5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b3ae3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b3b11
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b3b2f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b3a49
jmp 0x4b3b2f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b3b2f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b3a49
test edi, edi
mov eax, edi
jne 0x4b3b19
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4080e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81b5e8]
jne 0x4080ef
repz ret
jmp fcn.0040ab52

Function at 0x408bec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x81b5e8]
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.00406194
and dword [ebp - 0x14], 0
cmp dword [0x81f1ac], 0
mov dword [ebp - 0x18], eax
jne 0x408c9f
push 0x4022d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408d47
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4022c4
push ebx
call edi
test eax, eax
je 0x408d47
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4022b4
push ebx
mov dword [0x81f1ac], eax
call edi
push eax
call esi
push 0x4022a0
push ebx
mov dword [0x81f1b0], eax
call edi
push eax
call esi
push 0x402284
push ebx
mov dword [0x81f1b4], eax
call edi
push eax
call esi
mov dword [0x81f1bc], eax
test eax, eax
je 0x408c9f
push 0x40226c
push ebx
call edi
push eax
call esi
mov dword [0x81f1b8], eax
mov eax, dword [0x81f1b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408cf8
cmp dword [0x81f1bc], ecx
je 0x408cf8
push eax
call esi
push dword [0x81f1bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408cf8
test ebx, ebx
je 0x408cf8
call edi
test eax, eax
je 0x408cef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408cef
test byte [ebp - 8], 1
jne 0x408cf8
or dword [ebp + 0x10], 0x200000
jmp 0x408d2b
mov eax, dword [0x81f1b0]
cmp eax, dword [ebp - 0x18]
je 0x408d2b
push eax
call esi
test eax, eax
je 0x408d2b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408d2b
mov eax, dword [0x81f1b4]
cmp eax, dword [ebp - 0x18]
je 0x408d2b
push eax
call esi
test eax, eax
je 0x408d2b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81f1ac]
call esi
test eax, eax
je 0x408d47
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408d49
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080e5
leave
ret
Function at 0x8029e0
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1424
call fcn.0040b0a0
cmp dword [0x2658160], 0x37
jne 0x802aa5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403290
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea ecx, [esp + 0x828]
push ecx
push 0x403298
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea edx, [esp + 4]
push edx
push 0x4032d0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [esp + 0xc24]
push eax
push 0
push 0x403350
push 0x40338c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x403394
push 0x4033a8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ecx, dword [0x2658164]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x8242c4]
mov byte [ecx + esi], al
add esp, 0x1424
ret

Function at 0x802ad0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov edx, dword [0x81be24]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x81be20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x81be28]
mov dword [esp + 0x20], edx
mov edx, dword [str.v_a__V_EO]
push edi
mov dword [esp + 0x14], eax
mov edi, 0xc6ef3720
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov ebp, 0x20
jmp 0x802b24
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 5
add ecx, dword [esp + 0x18]
mov edx, eax
shl edx, 4
add edx, dword [esp + 0x1c]
add eax, edi
xor ecx, edx
xor ecx, eax
sub esi, ecx
mov ecx, esi
shl ecx, 4
mov dword [0x26570e4], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
cmp dword [0x2658160], 0x1be
lea ebx, [edi + esi]
jne 0x802b79
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x24]
mov dword [0x26570e8], 0xff6b3619
xor eax, ebx
xor dword [esp + 0x10], eax
mov dword [0x26570ec], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add edi, 0x61c88647
dec ebp
jne 0x802b20
cmp dword [0x2658160], 0x8d4
jne 0x802bdf
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x60
ret 4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x60
ret 4
Function at 0x464ccf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x464cf8
push 0x18b
push 0x10137810
call fcn.004b015b
test eax, eax
je 0x464cf8
int3
xor ecx, ecx
test ecx, ecx
jne 0x464cdb
push 0x1c
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.0040c71b
add esp, 0xc
call fcn.004c3bb0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
push 0
push 0
push 1
push 0
call dword [0x10145578]
mov dword [ebp - 0xc], eax
push 0
push 0
push 1
push 0
call dword [0x10145578]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0xc], 0
je 0x464d50
cmp dword [ebp - 8], 0
jne 0x464d89
push 0x10137890
push 0x101378cc
call fcn.00431dc0
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x464d72
mov edx, dword [ebp - 0xc]
push edx
call dword [0x101453e0]
cmp dword [ebp - 8], 0
je 0x464d82
mov eax, dword [ebp - 8]
push eax
call dword [0x101453e0]
xor eax, eax
jmp 0x464ebe
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
push ecx
mov edx, dword [ebp + 8]
or edx, 4
push edx
lea eax, [ebp - 0x1c]
push eax
push 0x10061220
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004141db
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x28], 0
jne 0x464dc6
xor eax, eax
jmp 0x464ebe
mov ecx, dword [ebp - 0x20]
call fcn.004b89d7
cmp eax, 0xffffffff
jne 0x464de7
push 0x1a5
push 0x10137810
call fcn.004b015b
test eax, eax
je 0x464de7
int3
xor eax, eax
test eax, eax
jne 0x464dc6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x101453dc]
test eax, eax
je 0x464e11
push 0x1a6
push 0x10137810
call fcn.004b015b
test eax, eax
je 0x464e11
int3
xor edx, edx
test edx, edx
jne 0x464ded
mov eax, dword [ebp - 0xc]
push eax
call dword [0x101453e0]
mov ecx, dword [ebp + 8]
and ecx, 4
test ecx, ecx
je 0x464e57
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
push eax
call dword [0x10145598]
cmp eax, 0xffffffff
jne 0x464e51
push 0x1ab
push 0x10137810
call fcn.004b015b
test eax, eax
je 0x464e51
int3
xor ecx, ecx
test ecx, ecx
jne 0x464e2b
cmp dword [ebp - 4], 0
je 0x464eaf
push 0xffffffffffffffff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
push eax
call dword [0x101453dc]
test eax, eax
je 0x464e84
push 0x1b0
push 0x10137810
call fcn.004b015b
test eax, eax
je 0x464e84
int3
xor ecx, ecx
test ecx, ecx
jne 0x464e5d
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
push eax
call dword [0x101453e0]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 8]
push edx
call dword [0x101453e0]
xor eax, eax
jmp 0x464ebe
mov eax, dword [ebp - 8]
push eax
call dword [0x1014557c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7d2430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x243000]
push edi
jmp 0x7d244a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d2451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d2440
mov eax, 1
add ebx, ebx
jne 0x7d2463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d2474
jne 0x7d2493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d2493
dec eax
add ebx, ebx
jne 0x7d2480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d2458
add ebx, ebx
jne 0x7d248f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d24e5
xor ecx, ecx
sub eax, 3
jb 0x7d24ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d251a
sar eax, 1
mov ebp, eax
jmp 0x7d24b6
add ebx, ebx
jne 0x7d24b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d2484
inc ecx
add ebx, ebx
jne 0x7d24c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d2484
add ebx, ebx
jne 0x7d24d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d24c6
jne 0x7d24e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d24c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d2504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d24f6
jmp 0x7d2446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d2504
add edi, ecx
jmp 0x7d2446
pop esi
mov edi, esi
mov ecx, 0xf471
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d2522
cmp byte [edi], 0x2e
jne 0x7d2522
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 0x7d2527
lea edi, [esi + 0x3cf000]
mov eax, dword [edi]
or eax, eax
je 0x7d259f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3ebd84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3ebe9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d2554
mov ecx, edi
jns 0x7d2583
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 + 0x3ebea0]
or eax, eax
je 0x7d2599
mov dword [ebx], eax
add ebx, 4
jmp 0x7d2571
call dword [esi + 0x3ebeb0]
mov ebp, dword [esi + 0x3ebea4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x7d25d3
sub esp, 0xffffff80
jmp 0x5a7fae
Function at 0x40d3ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x40d488
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call fcn.00404d88
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov ecx, 0xa
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call fcn.00404bb4
lea edx, [ebp + 0x30]
mov byte [eax + esi - 1], dl
dec esi
test ebx, ebx
jne 0x40d414
cmp byte [esp], 0
je 0x40d459
mov eax, edi
call fcn.00404bb4
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x40d494
mov eax, edi
call fcn.00404bb4
push eax
mov eax, edi
call fcn.00404bb4
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.00402f58
mov edx, ebx
mov eax, edi
call fcn.00404d88
jmp 0x40d494
mov eax, edi
mov edx, 0x40d4a4
call fcn.0040473c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40db48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b44
xor eax, eax
push ebp
push 0x40dbb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040473c
mov eax, ebx
call fcn.00404bac
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x40db8c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x40dba0
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x40db95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbbd
lea eax, [ebp - 4]
call fcn.004046e8
ret

Function at 0x40e328
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x40e370
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call fcn.0040667c
test eax, eax
jne 0x40e366
cmp word [edi], 0x5a4d
jne 0x40e366
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x40e366
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40e37c
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x411804
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffedc
mov ebp, ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
push 0x1c
lea eax, [esp + 4]
push eax
push edi
call fcn.00406774
cmp eax, 0x1c
jne 0x411880
cmp dword [esp + 0x10], 0x1000
jne 0x411880
cmp dword [esp + 4], 0
je 0x411880
push 0x104
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.004065e4
test eax, eax
je 0x411880
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esi]
cmp word [eax], 0x5a4d
jne 0x411880
mov eax, dword [esi]
mov edx, dword [esi]
add edx, 0x3c
add eax, dword [edx]
cmp dword [eax], 0x4550
jne 0x411880
mov edx, dword [esi]
add edx, dword [eax + 0x78]
mov dword [ebp], edx
cmp dword [ebp], 0
setne bl
mov eax, ebx
add esp, 0x124
pop ebp
pop edi
pop esi
pop ebx
ret