joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4263ab
Capabilities:
Terminate process

Disassembly:
push 0x48
mov eax, 0x590407
call fcn.0055a6d4
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x4263de
push eax
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x29], 0
test edi, edi
je 0x426415
mov ecx, dword [ebx]
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
push 0
push eax
push 2
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 1
jne 0x426415
mov byte [ebp - 0x29], 1
cmp byte [ebx + 0x18], al
je 0x426415
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00450fa0
pop ecx
pop ecx
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
cmp ebx, esi
je 0x4264fc
mov edi, dword [ebp - 0x34]
add ebx, 4
mov eax, dword [ebp - 0x38]
cmp dword [ebx + 4], eax
jne 0x42647b
cmp byte [ebp - 0x29], 0
jne 0x426468
push 0
push dword [ebx]
mov ecx, edi
call fcn.004263ab
jmp 0x4264eb
cmp byte [edi + 0x18], 0
je 0x4264eb
push 1
push dword [ebx]
call fcn.004511e0
pop ecx
pop ecx
jmp 0x4264eb
and dword [ebp - 0x18], 0
lea eax, [ebx + 8]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.004060b6
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0044c890
lea ecx, [ebp - 0x28]
mov dword [esp], 0x5a80e0
call fcn.0041c0e9
test al, al
je 0x4264df
push dword [ebx + 4]
call fcn.004265c4
pop ecx
test al, al
jne 0x4264df
cmp byte [ebp - 0x29], al
jne 0x4264ce
push 0
push dword [ebx]
mov ecx, edi
call fcn.004263ab
jmp 0x4264df
cmp byte [edi + 0x18], 0
je 0x4264df
push 1
push dword [ebx]
call fcn.004511e0
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404809
add ebx, 0x2c
lea eax, [ebx - 4]
cmp eax, esi
jne 0x42644a
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x426507
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4c]
call fcn.0040c3e6
call fcn.0055a67e
ret 8

Function at 0x4281a3
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4281ba
mov al, 1
jmp 0x4281db
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4281c9
push dword [ebp + 8]
call fcn.0042c092
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
pop esi
pop ebp
ret 4
Function at 0x42869b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
mov eax, ecx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [eax + 0x164]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4286d0
xor eax, eax
jmp 0x428725
push esi
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x4286ef
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x428724
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x428716
mov ecx, dword [ebp - 4]
push eax
call fcn.00428934
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x42a660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.0042a578
test esi, esi
je 0x42a68f
cmp dword [esi + 8], 0
je 0x42a68f
push dword [edi + 4]
push 0x5a9068
push dword [esi + 8]
call fcn.0042c09b
add esp, 0xc
mov ecx, edi
call fcn.0042b1be
test esi, esi
je 0x42a69f
mov eax, dword [esi + 8]
jmp 0x42a6a1
xor eax, eax
push eax
mov ecx, edi
call fcn.0042b4b9
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
push 0x2c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x42a72d
lea eax, [edi + 4]
mov ebx, 0x7d0
push dword [eax]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42a72d
test ebx, ebx
jle 0x42a6f6
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x64
mov dword [ebp + 8], eax
sub ebx, 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
test eax, eax
je 0x42a6d0
test ebx, ebx
jg 0x42a72d
test eax, eax
jne 0x42a72d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42a72d
push dword [ebp - 4]
push dword [0x6129dc]
call fcn.0042ba10
pop ecx
pop ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42a726
push 0x5a9080
call fcn.0042c092
xor eax, eax
jmp 0x42a7b7
lea ebx, [edi + 4]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi + 4]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 8], 0
jne 0x42a7a9
cmp eax, 5
jne 0x42a770
push ebx
push dword [0x6129dc]
call fcn.0042ba10
pop ecx
pop ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42a7b4
push 0x5a9080
call fcn.0042c092
jmp 0x42a7b4
cmp eax, 2
jne 0x42a785
test edi, edi
je 0x42a780
mov ecx, edi
call fcn.00428c45
xor eax, eax
inc eax
jmp 0x42a7b7
cmp dword [esi + 8], 0
je 0x42a79c
push eax
push 0x5a9118
push dword [esi + 8]
call fcn.0042c09b
add esp, 0xc
test edi, edi
je 0x42a7b4
mov ecx, edi
call fcn.00428c45
jmp 0x42a7b4
test edi, edi
je 0x42a7b4
mov ecx, edi
call fcn.00428c69
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42a7be
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
call fcn.00426a94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040525e
test esi, esi
je 0x42a837
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.0042a5cf
cmp dword [esi + 8], 0
mov edi, dword [esi + 4]
mov dword [ebp + 8], eax
je 0x42a816
push dword [ebx + 4]
push 0x5a9068
push dword [esi + 8]
call fcn.0042c09b
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x42a893
lea eax, [ebx + 4]
push dword [eax]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x42a841
test edi, edi
je 0x42a837
mov ecx, edi
call fcn.00428c69
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 8], 0
mov ebx, eax
je 0x42a860
push ebx
push 0x5a9160
push dword [esi + 8]
call fcn.0042c09b
add esp, 0xc
cmp ebx, 0x20
jne 0x42a886
push dword [ebp + 8]
push dword [0x6129dc]
call fcn.0042ba10
pop ecx
pop ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42a886
push 0x5a91b0
call fcn.0042c092
test edi, edi
je 0x42a8a4
mov ecx, edi
call fcn.00428c45
jmp 0x42a8a4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42a8a4
push 0x5a9258
call fcn.0042c092
xor eax, eax
jmp 0x42a83a

Function at 0x42b1be
Capabilities:
Set file attributes

Disassembly:
push 0x80
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret
Function at 0x42b4b9
Capabilities:
Create process on windows

Disassembly:
push 0x1c4
mov eax, 0x590e6c
call fcn.0055a6d4
mov edi, dword [ebp + 8]
lea esi, [ecx + 4]
push esi
lea ecx, [ebp - 0x178]
call fcn.004284c6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.0042869b
test eax, eax
je 0x42b61f
push 0x5a8f40
lea ecx, [ebp - 0x178]
call fcn.00428653
test eax, eax
je 0x42b61f
push 0x5a8f50
lea ecx, [ebp - 0x178]
call fcn.00428653
test eax, eax
je 0x42b61f
push 0x5a8f64
lea ecx, [ebp - 0x178]
call fcn.00428653
test eax, eax
je 0x42b61f
push 0x5a8f78
lea ecx, [ebp - 0x178]
call fcn.00428653
test eax, eax
je 0x42b61f
test edi, edi
je 0x42b561
push 0x5a8f8c
mov ecx, edi
call fcn.0042c092
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x1d0]
push 0
push eax
call fcn.0055dac0
mov dword [ebp - 0x1d0], ebx
lea eax, [ebp - 0x18c]
push 0x10
xor ebx, ebx
push ebx
push eax
call fcn.0055dac0
add esp, 0x18
call fcn.00526109
push eax
lea ecx, [ebp - 0x17c]
call fcn.004049e5
push dword [esi]
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 1
push 0x5a8fbc
push eax
call fcn.00404dfe
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x18c]
add esp, 0xc
push eax
lea eax, [ebp - 0x1d0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42b607
push 0xbb8
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x188]
call edi
jmp 0x42b617
test edi, edi
je 0x42b617
push 0x5a8ff0
mov ecx, edi
call fcn.0042c092
lea ecx, [esi - 0x10]
call fcn.0040525e
lea ecx, [ebp - 0x178]
call fcn.00428535
call fcn.0055a67e
ret 4

Function at 0x42c9e6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ecx + 0x2c]
push edi
mov edi, dword [ecx + 0x30]
mov eax, edi
sub eax, esi
push 0x2c
cdq
pop ebx
idiv ebx
test eax, eax
je 0x42caab
call fcn.0042c660
test eax, eax
je 0x42caab
cmp esi, edi
je 0x42caab
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42ca31
push dword [esi + 4]
push 0x5a94fc
push ebx
call fcn.0042c09b
add esp, 0xc
push dword [esi + 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
test eax, eax
je 0x42ca87
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42ca6e
test ebx, ebx
je 0x42ca6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a9528
push ebx
call fcn.0042c09b
add esp, 0xc
push 0x5dc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42caa0
test ebx, ebx
je 0x42caa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a9578
push ebx
call fcn.0042c09b
add esp, 0xc
add esi, 0x2c
cmp esi, edi
jne 0x42ca1c
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x432590
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x60b4e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2b8]
push edi
push 0x2b4
push 0
push eax
mov ebx, ecx
or edi, 0xffffffff
call fcn.0055dac0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x101
push 0x2b4
push eax
push 0
push dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43260d
cmp dword [ebp - 0x2b8], 0
je 0x43260d
push dword [ebp - 0x2b8]
push edi
push dword [ebx + 0x84]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2b8]
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a658
leave
ret 4
Function at 0x437470
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5925f2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60b4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x4374cc
mov dword [esi], 0x5a7604
mov dword [esi + 0x10], 0x5a760c
mov dword [esi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
push 0
lea edi, [esi + 0x18]
mov ecx, esi
push edi
call fcn.0041f698
lea edx, [esi + 0x10]
mov dword [ebp + 0xc], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
push 8
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp + 0xc], edi
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00525a98
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43755c
push 1
mov byte [ebp - 4], 5
call fcn.0055c239
add esp, 4
mov dword [ebx + 4], eax
jmp 0x43755e
xor ebx, ebx
lea eax, [edi + 4]
mov dword [edi + 0x34], ebx
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [edi + 0x10], ecx
mov dword [ecx], 0
mov ecx, ebx
mov eax, dword [edi + 0x20]
not ecx
and ecx, 1
shl ecx, 2
mov edx, ecx
mov dword [eax], 0
or edx, 2
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
and al, 2
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, ebx
mov dword [edi + 0x38], 0
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
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 8
Function at 0x438ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
push edi
dec dword [esi + 0x44]
dec dword [esi + 0x38]
cmp byte [esi + 4], 0
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 8]
mov edi, dword [eax + edx*4]
je 0x438f3f
mov eax, dword [esi + 0x40]
test eax, eax
je 0x438f1e
push eax
push 2
push 1
push 0x5ab0fc
call fcn.00567264
add esp, 0x10
jmp 0x438fcd
push 2
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov cx, word [0x5ab0fc]
mov word [eax - 1], cx
mov byte [eax + 1], 0
jmp 0x438fcd
cmp dword [esi + 0x48], 0
jge 0x438f5a
test bl, bl
jne 0x438f5a
push 0xa
call fcn.0043b0e0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x438f75
push eax
push 2
push 1
push 0x5ab100
call fcn.00567264
add esp, 0x10
jmp 0x438f91
push 2
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov cx, word [0x5ab100]
mov word [eax - 1], cx
mov byte [eax + 1], 0
push edi
mov ecx, esi
call fcn.0043c000
mov eax, dword [esi + 0x40]
test eax, eax
je 0x438fb4
push eax
push 1
push 1
push 0x5ab078
call fcn.00567264
add esp, 0x10
jmp 0x438fcd
push 1
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov cl, byte [0x5ab078]
mov byte [eax - 1], cl
mov byte [eax], 0
mov eax, dword [esi + 0x44]
cmp dword [esi + 0x48], eax
jne 0x438fdc
mov dword [esi + 0x48], 0xffffffff
test eax, eax
jne 0x439013
test bl, bl
jne 0x439013
mov eax, dword [esi + 0x40]
test eax, eax
je 0x439000
push eax
push 0xa
call fcn.00566f28
add esp, 8
mov byte [esi + 4], bl
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 1
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov word [eax - 1], 0xa
pop edi
mov byte [esi + 4], 0
pop esi
pop ebx
pop ebp
ret 4

Function at 0x439b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00438e30
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call fcn.0056ae91
push edi
call fcn.0056a7cd
add esp, 0x10
cmp eax, 0xffffffff
jne 0x439b7c
push edi
call fcn.0056a75b
add esp, 4
test eax, eax
je 0x439b7c
push 0
push 0
push 5
push esi
call fcn.0043b2d0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.0056ae91
push edi
call fcn.0056b403
push 0
push 0
push edi
mov ebx, eax
call fcn.0056ae91
add esp, 0x1c
cmp ebx, 0xffffffff
jne 0x439bba
push 0
push 0
push 5
push esi
call fcn.0043b2d0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4
cmp ebx, 0xffffffff
jae 0x439ba1
test ebx, ebx
jne 0x439bda
push ebx
push ebx
push 0xd
push esi
call fcn.0043b2d0
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.00525ad5
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.0056aaa6
add esp, 0x14
cmp eax, ebx
jne 0x439ba1
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00439ea0
mov eax, dword [esi + 0x38]
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x439d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
je 0x439d69
mov eax, dword [esi + 0x40]
mov byte [esi + 4], 0
test eax, eax
je 0x439d56
push eax
push 0x3e
call fcn.00566f28
add esp, 8
jmp 0x439d69
push 1
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov word [eax - 1], 0x3e
mov eax, dword [esi + 0x38]
lea ecx, [eax + 1]
cmp ecx, dword [esi + 0x34]
jle 0x439dc2
lea edi, [ecx + ecx]
mov edx, 4
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00525ad5
mov ecx, dword [esi + 0x38]
mov ebx, eax
shl ecx, 2
push ecx
push dword [esi + 8]
push ebx
call fcn.0055cfc0
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
add esp, 0x10
cmp ecx, eax
je 0x439db7
push ecx
call fcn.00525ad0
add esp, 4
mov eax, dword [esi + 0x38]
mov dword [esi + 8], ebx
mov dword [esi + 0x34], edi
jmp 0x439dc5
mov ebx, dword [esi + 8]
mov edi, dword [ebp + 8]
mov dword [ebx + eax*4], edi
inc dword [esi + 0x38]
cmp dword [esi + 0x48], 0
jge 0x439deb
cmp byte [esi + 0x3c], 0
jne 0x439deb
cmp byte [ebp + 0xc], 0
jne 0x439dfb
push 0xa
mov ecx, esi
call fcn.0043b0e0
jmp 0x439df1
cmp byte [ebp + 0xc], 0
jne 0x439dfb
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x44]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x439e16
push eax
push 1
push 1
push 0x5ab03c
call fcn.00567264
add esp, 0x10
jmp 0x439e2f
push 1
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov cl, byte [0x5ab03c]
mov byte [eax - 1], cl
mov byte [eax], 0
mov ebx, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x439e34
mov eax, dword [esi + 0x40]
sub ebx, ecx
test eax, eax
je 0x439e63
push eax
push ebx
push 1
push edi
call fcn.00567264
add esp, 0x10
mov byte [esi + 4], 1
inc dword [esi + 0x44]
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push ebx
lea ecx, [esi + 0xd0]
call fcn.0043ad60
push ebx
push dword [ebp + 8]
lea edi, [eax - 1]
push edi
call fcn.0055cfc0
add esp, 0xc
mov byte [ebx + edi], 0
inc dword [esi + 0x44]
mov byte [esi + 4], 1
mov byte [esi + 0x3c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43aa90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jle 0x43aada
nop
mov eax, dword [edi + 0x40]
test eax, eax
je 0x43aabb
push eax
push 4
push 1
push 0x5ab0ec
call fcn.00567264
add esp, 0x10
jmp 0x43aad5
push 4
lea ecx, [edi + 0xd0]
call fcn.0043ad60
mov ecx, dword [0x5ab0ec]
mov dword [eax - 1], ecx
mov byte [eax + 3], 0
sub esi, 1
jne 0x43aaa0
pop edi
pop esi
pop ebp
ret 4
Function at 0x43aae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [ecx + 0x4c], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ebx
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edi
je 0x43acc8
movzx eax, byte [ebp + 0xc]
mov dl, byte [ebx]
push esi
shl eax, 6
lea esi, [ecx + 0x4e]
add esi, eax
mov dword [ebp - 8], esi
test dl, dl
je 0x43ac98
nop word [eax + eax]
lea eax, [edx - 1]
cmp al, 0x3e
ja 0x43ac61
movzx eax, dl
cmp byte [eax + esi], 0
je 0x43ac61
cmp ebx, edi
jae 0x43ab92
nop dword [eax]
mov esi, edi
mov eax, SysReAllocString
sub esi, ebx
cmp esi, 0x7fffffff
cmova esi, eax
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x43ab68
push eax
push esi
push 1
push ebx
call fcn.00567264
add esp, 0x10
jmp 0x43ab89
push esi
add ecx, 0xd0
call fcn.0043ad60
push esi
push ebx
lea edi, [eax - 1]
push edi
call fcn.0055cfc0
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ebx, esi
cmp ebx, edi
jb 0x43ab40
mov dl, byte [edi]
xor esi, esi
mov eax, 0x5aab48
nop dword [eax + eax]
cmp byte [eax], dl
je 0x43abb4
add eax, 0xc
inc esi
cmp eax, 0x5aab84
jl 0x43aba0
jmp 0x43ac5a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x43abc8
push eax
push 0x26
call fcn.00566f28
add esp, 8
jmp 0x43abdb
push 1
add ecx, 0xd0
call fcn.0043ad60
mov word [eax - 1], 0x26
lea eax, [esi + esi*2]
mov esi, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x5aab44]
mov eax, dword [eax*4 + 0x5aab40]
mov dword [ebp + 0xc], ecx
mov edx, dword [esi + 0x40]
mov dword [ebp + 8], eax
test edx, edx
je 0x43ac0b
push edx
push ecx
push 1
push eax
call fcn.00567264
add esp, 0x10
jmp 0x43ac33
push ecx
lea ecx, [esi + 0xd0]
call fcn.0043ad60
push dword [ebp + 0xc]
push dword [ebp + 8]
lea esi, [eax - 1]
push esi
call fcn.0055cfc0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x43ac47
push eax
push 0x3b
call fcn.00566f28
add esp, 8
jmp 0x43ac5a
push 1
lea ecx, [esi + 0xd0]
call fcn.0043ad60
mov word [eax - 1], 0x3b
mov ecx, dword [ebp - 4]
inc ebx
mov esi, dword [ebp - 8]
mov dl, byte [edi + 1]
inc edi
mov dword [ebp + 8], edi
test dl, dl
jne 0x43ab20
cmp ebx, edi
jae 0x43ac98
sub edi, ebx
mov eax, SysReAllocString
cmp edi, 0x7fffffff
cmova edi, eax
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x43aca1
push eax
push edi
push 1
push ebx
call fcn.00567264
add esp, 0x10
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add ecx, 0xd0
call fcn.0043ad60
push edi
push ebx
lea esi, [eax - 1]
push esi
call fcn.0055cfc0
add esp, 0xc
mov byte [esi + edi], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
call fcn.0043c000
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8