joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40626f
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
cmp dword [esp + 0x2c], esi
push edi
je 0x4062db
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push esi
push esi
lea eax, [esp + 0x18]
push esi
push eax
call edi
test eax, eax
je 0x406368
push dword [0x410ecc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4062bb
lea eax, [esp + 0x10]
push eax
push dword [0x410ecc]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4062d1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
lea eax, [esp + 0x18]
push esi
push eax
jmp 0x40628c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push esi
mov edi, eax
push esi
push esi
lea eax, [esp + 0x1c]
push esi
add edi, 0x1f4
push eax
call ebp
test eax, eax
je 0x40636d
call ebx
cmp eax, edi
jae 0x40636d
cmp dword [esp + 0x14], 0x12
je 0x406361
push dword [0x410ecc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x406332
lea eax, [esp + 0x10]
push eax
push dword [0x410ecc]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x406356
push esi
push esi
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push esi
push eax
jmp 0x4062fa
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
pop eax
jmp 0x40636f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x406762
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x406774
push 0x40f45c
jmp 0x406775
push esi
push dword [ebp + 8]
push str.INSTALL.EXE
call fcn.004067be
add esp, 0xc
push esi
push dword [ebp + 8]
push str.ZDATA.DLL
call fcn.004067be
push esi
push dword [ebp + 8]
push str.WUTL95I.DLL
call fcn.004067be
add esp, 0x18
cmp dword [0x40f214], esi
pop esi
je 0x4067b9
push dword [0x410ed4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
pop eax
pop ebp
ret

Function at 0x4067be
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
lea eax, [ebp - 0x324]
push eax
push dword [ebp + 8]
push dword [0x410db0]
call fcn.004041aa
lea eax, [ebp - 0x21f]
push eax
lea eax, [ebp - 0x108]
push dword [ebp + 0xc]
push eax
call fcn.00406fbf
cmp dword [ebp + 0x10], 0
je 0x406807
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push eax
call fcn.0040718a
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
pop eax
leave
ret
Function at 0x4068a5
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x214
and dword [esp], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
push esi
push edi
mov edi, dword [esp + 0x228]
mov esi, str.NOT_POSSIBLE_VALUE
mov ebp, str.main
push dword [esp + 0x10]
push str.file_d
push edi
call ebx
add esp, 0xc
lea eax, [esp + 0x14]
push dword [0x410ed4]
push 0x105
push eax
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40690e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x14
jl 0x4068cb
push dword [0x410ed4]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [esp + 0x230]
push ebp
push edi
call esi
push dword [0x410ed4]
push dword [esp + 0x234]
push 0x40f4ac
push edi
call esi
push dword [0x410f14]
lea eax, [esp + 0x120]
push 0x40f05c
push eax
call ebx
add esp, 0xc
lea eax, [esp + 0x11c]
push dword [0x410ed4]
push eax
push str.exeostype
push edi
call esi
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret

Function at 0x4069b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x105
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
push edi
call fcn.00406f04
push str._iserr31.ini
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x220]
push 0x20a
mov esi, 0x1b9c
push eax
push esi
call fcn.0040550b
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x14]
push 0x40f05c
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call fcn.00406bd1
add esp, 0x10
lea eax, [ebp - 0x220]
mov ebx, str.SharedErrors
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call edi
lea eax, [ebp - 0x220]
push 0x20a
push eax
push 0x1b97
call fcn.0040550b
push 0x1b97
lea eax, [ebp - 0x14]
push 0x40f05c
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call fcn.00406bd1
add esp, 0x10
lea eax, [ebp - 0x220]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call edi
lea eax, [ebp - 0x220]
push 0x20a
push eax
push 0x1b98
call fcn.0040550b
push 0x1b98
lea eax, [ebp - 0x14]
push 0x40f05c
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call fcn.00406bd1
add esp, 0x10
lea eax, [ebp - 0x220]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call edi
push 0x20a
lea eax, [ebp - 0x220]
push eax
push 0x1bc6
call fcn.0040550b
push 0x1bc6
lea eax, [ebp - 0x14]
push 0x40f05c
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call fcn.00406bd1
add esp, 0x10
lea eax, [ebp - 0x220]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x298068a3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x298529aa
call fcn.29802379
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x298069b3
cmp byte [edi + 0x3d], bl
je 0x298069b3
mov eax, dword [edi]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x298583e0]
mov ecx, edi
call esi
cmp eax, 0xffffffff
jne 0x298068e4
xor al, al
jmp 0x298069b5
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2980706a
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x38]
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x2980693d
sub eax, 1
je 0x29806940
dec eax
sub eax, 1
jne 0x298069a0
inc eax
jmp 0x2980699e
mov byte [edi + 0x3d], bl
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edx, dword [ebp - 0x2c]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x30], edx
je 0x2980697c
push dword [edi + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [ebp - 0x30]
add esp, 0x10
cmp edx, eax
jne 0x2980699c
mov esi, dword [ebp - 0x14]
cmp byte [edi + 0x3d], 0
je 0x2980699a
test edx, edx
jne 0x29806902
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.29806fa0
jmp 0x298068ff
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.29814e33
mov al, bl
jmp 0x298069b5
mov al, 1
call fcn.29802cf8
ret
Function at 0x298076c0
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x29852b5e
call fcn.29802379
mov ebx, ecx
or edi, 0xffffffff
cmp dword [ebp + 8], edi
jne 0x298076dd
xor eax, eax
jmp 0x29807843
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29807711
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov edx, dword [ebx + 0x20]
mov esi, dword [eax]
add esi, dword [edx]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x29807711
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov ecx, dword [ebp + 8]
mov byte [eax], cl
mov eax, ecx
jmp 0x29807843
cmp dword [ebx + 0x4c], 0
je 0x29807841
mov ecx, ebx
call fcn.29806d41
xor ecx, ecx
cmp dword [ebx + 0x38], ecx
jne 0x29807745
push dword [ebx + 0x4c]
mov ebx, dword [ebp + 8]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x29807841
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x29], al
mov dword [ebp - 0x14], 0xf
call fcn.2980706a
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp esi, 0x10
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x29807832
cmp eax, 1
jg 0x29807817
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edx, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x298077e8
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [ebp - 0x34]
add esp, 0x10
cmp edx, eax
jne 0x29807832
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x29]
mov byte [ebx + 0x3d], 1
cmp dword [ebp - 0x38], eax
jne 0x29807812
test edx, edx
jne 0x2980776a
cmp dword [ebp - 0x18], 0x20
jae 0x29807832
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.29806fa0
jmp 0x29807767
mov edi, dword [ebp + 8]
jmp 0x29807832
cmp eax, 3
jne 0x29807832
push dword [ebx + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
pop ecx
cmovne edi, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.29814e33
mov eax, edi
call fcn.29802cf8
ret 4
Function at 0x29814e33
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x29814e42
pop dword [ebp - 0x48]
mov eax, 0x5e06242
add eax, 0x23a0ec00
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x8d9b4701
add dword [ebp - 0x58], 0xc0b6fe4a
mov dword [ebp - 0x54], 0x2bdad8a8
add dword [ebp - 0x54], 0x658739d
mov dword [ebp - 0x50], 0xd2bea900
sub dword [ebp - 0x50], 0x867264d2
mov dword [ebp - 0x4c], 0x36d17c4f
add dword [ebp - 0x4c], 0xc92e83b1
lea eax, [ebp - 0x58]
push eax
mov eax, 0xe39d548
sub eax, 0xe4b45488
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xbf8a58e7
add dword [ebp - 0x58], 0xb4e8106f
mov dword [ebp - 0x54], 0xb3b7b958
add dword [ebp - 0x54], 0x8db4a81d
mov dword [ebp - 0x50], 0xd068118f
sub dword [ebp - 0x50], 0x6cf8a523
mov dword [ebp - 0x4c], 0x86c5219c
add dword [ebp - 0x4c], 0x793ade64
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4762b
push 0
call eax
mov ecx, 0xeda1abc7
sub ecx, 0xeda16548
mov edx, eax
mov edi, 0x29898600
add edi, dword [ebp - 0x48]
mov esi, 0xfc27dcbd
add esi, 0x32325e28
sub dword [ebp - 0x3c], ecx
mov ebx, dword [edi]
add dword [ebp - 0x10], eax
add ebx, esi
xor dword [ebp - 0x3c], edx
mov dword [edx], ebx
add dword [ebp - 0x40], edx
add edx, 4
add edi, 0x8928f53
add edi, 0xf76d70b1
loop 0x29814f59
add eax, 0x233ffdb6
sub eax, 0x233ef0e7
xor ebx, ebx
add ebx, eax
add eax, 0x1ef9eee1
sub eax, 0x1ef9eedc
mov ecx, 0x29800000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4014e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409f88
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x412018]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x84], ecx
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x401528
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x2c]
call fcn.00402030
mov ecx, esi
lea edx, [ebp - 0x80]
mov dword [ebp - 4], ebx
call fcn.004013d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x40155f
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x84]
mov eax, 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], eax
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401581
sub eax, edx
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x64]
call fcn.00402030
mov ecx, esi
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004013d0
cmp dword [ebp - 0x50], 0x10
jb 0x4015b7
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [0x421dfc]
mov edi, 8
cmp dword [0x421e10], edi
jae 0x4015cf
mov edx, 0x421dfc
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x4015da
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4015e5
lea eax, [ebp - 0x80]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp dword [ebp - 0x34], edi
jb 0x401603
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x6c], edi
jb 0x401625
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
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.004068bb
mov esp, ebp
pop ebp
ret 4
Function at 0x4068bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412018]
jne 0x4068c5
repz ret
jmp fcn.00406cd4

Function at 0x408f10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, eax
test ebx, ebx
je 0x40900b
test edi, edi
je 0x40900b
test esi, esi
je 0x40900b
push 2
push esi
lea eax, [ebp - 4]
push eax
push edi
call fcn.004078d0
add esp, 0x10
cmp eax, 2
je 0x408f50
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x5a4d
cmp word [ebp - 4], cx
jne 0x408f46
push 4
lea edx, [esi + 0x3c]
push edx
lea eax, [ebp - 8]
push eax
push edi
call fcn.004078d0
add esp, 0x10
cmp eax, 4
jne 0x408f46
mov eax, dword [ebp + 8]
add esi, dword [ebp - 8]
test eax, eax
je 0x408f7f
mov dword [eax], esi
push 2
lea edx, [esi + 4]
push edx
lea eax, [ebp - 4]
push eax
push edi
call fcn.004078d0
add esp, 0x10
cmp eax, 2
jne 0x408f46
movzx eax, word [ebp - 4]
cmp eax, 0x14c
je 0x408fd8
cmp eax, 0x8664
jne 0x408f46
push 0x108
push esi
push ebx
push edi
call fcn.004078d0
add esp, 0x10
cmp eax, 0x108
jne 0x408f46
mov eax, dword [ebx]
sub eax, 0x4550
neg eax
sbb eax, eax
and eax, 0x80003fc5
add eax, 0x40
pop esi
mov esp, ebp
pop ebp
ret
push 0xf8
push esi
push ebx
push edi
call fcn.004078d0
add esp, 0x10
cmp eax, 0xf8
jne 0x408f46
mov eax, dword [ebx]
sub eax, 0x4550
neg eax
sbb eax, eax
and eax, 0x80003fe5
add eax, 0x20
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xe02a70
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
cmp dword [ecx + 0x18], 0x10
mov eax, dword [ecx + 0x14]
jb 0xe02ab9
mov ecx, dword [ecx + 4]
push ecx
mov ecx, esi
call fcn.00e02ad0
mov eax, esi
ret
add ecx, 4
push ecx
mov ecx, esi
call fcn.00e02ad0
mov eax, esi
ret
Function at 0xe042e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xec37c9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0xee97a0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xee97a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70]
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], edi
mov esi, 1
push ebp
mov dword [esp + 0x6c], esi
call fcn.00e04560
mov dword [esp + 0x18], esi
cmp ebx, edi
je 0xe044c2
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xe04346
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x88], eax
jb 0xe044c2
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x7c]
xor eax, eax
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], ax
call fcn.00e02510
mov byte [esp + 0x68], 2
cmp dword [esp + 0x54], edi
jbe 0xe044ae
jmp 0xe043a4
mov ebx, dword [esp + 0x38]
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xe043b0
sub eax, edx
sar eax, 1
push ebx
mov ebx, eax
xor eax, eax
lea edx, [esp + 0x44]
call fcn.00e04670
mov esi, eax
cmp esi, edi
jl 0xe04489
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0xe043e6
lea eax, [esp + 0x44]
push esi
xor edx, edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
call fcn.00e02890
lea eax, [esp + 0x1c]
push eax
mov ebx, ebp
mov byte [esp + 0x6c], 3
call fcn.00e045c0
mov bl, 2
mov byte [esp + 0x68], bl
cmp dword [esp + 0x34], 8
jb 0xe0442f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00e6b828
add esp, 4
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
add esi, eax
push esi
lea ecx, [esp + 0x48]
xor edx, edx
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], dx
call fcn.00e02510
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 4
call fcn.00e02510
mov byte [esp + 0x68], bl
cmp dword [esp + 0x34], 8
jb 0xe044a4
mov eax, dword [esp + 0x20]
push eax
call fcn.00e6b828
add esp, 4
jmp 0xe044a4
lea ecx, [esp + 0x40]
push ecx
mov ebx, ebp
call fcn.00e045c0
push edi
push 0xed5e48
lea ecx, [esp + 0x48]
call fcn.00e02890
cmp dword [esp + 0x54], edi
ja 0xe043a0
cmp dword [esp + 0x58], 8
jb 0xe044c2
mov edx, dword [esp + 0x44]
push edx
call fcn.00e6b828
add esp, 4
cmp dword [esp + 0x8c], 8
jb 0xe044d9
mov eax, dword [esp + 0x78]
push eax
call fcn.00e6b828
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00e6b567
add esp, 0x58
ret
Function at 0xe072f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.00e6c2c7
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0xe07469
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0xe07343
mov eax, dword [esi + 0x40]
jmp 0xe07346
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], 0xeda5f8
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.00e05940
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0xe07404
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0xe07388
cmp byte [edi], dl
jmp 0xe0738c
cmp word [edi], 0
sete dl
test edx, edx
je 0xe073b6
test eax, eax
je 0xe073af
cmp edi, eax
je 0xe073af
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.00e6da70
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0xe0737b
test eax, eax
je 0xe073d9
cmp edi, eax
je 0xe073d9
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.00e6da70
add esp, 0xc
test ebp, ebp
je 0xe07404
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], 0xeda604
call fcn.00e05940
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0xe0745b
test byte [esi + 4], 0x80
je 0xe0745b
mov esi, dword [esi + 0x1c]
test esi, esi
je 0xe07436
jmp 0xe07420
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0xe07420
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0xeda620
mov eax, dword [esp + 0x28]
push eax
call fcn.00e05940
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00e070d0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0xe07980
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0xe0799c
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0xe07a16
test edx, edx
jne 0xe079d5
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e676b6
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.00e72800
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0xe079f2
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0xe079e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], 0xeda620
call fcn.00e05940
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.00e6d164
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0xe07a3b
push edi
call fcn.00e6bf56
add esp, 4
test bl, bl
je 0xe07a7e
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0xe07a5b
mov eax, dword [esi + 0x40]
jmp 0xe07a5e
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], 0xeda6a4
call fcn.00e05940
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.00e070d0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4