Function at 0x1000b8c0
Capabilities:
Extract resource via kernel32 functions
Resume thread
Suspend thread
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015889
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x1001b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0xd4]
push dword [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.1000c490
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.1000c4c0
mov byte [ebp - 0xd8], 0
lea ecx, [ebp - 0x74]
push dword [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.1000c4f0
add esp, 0xc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1000b750
test al, al
je 0x1000b993
cmp dword [0x1001c05c], 0
je 0x1000b993
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1001bf8c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push str.bad_config_file
push str.your_config.ini_file_cannot_be_properly_read__go_to_troubleshooting_section_of_Ezorsia_v2_setup_guide_at_https:__github.com_444Ro666_MapleEzorsia_v2_for_more_details__or_delete_your_config.ini_to_have_a_new_one_generated_with_default_settings
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x74]
call fcn.1000b750
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
test al, al
jne 0x1000ba75
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push str.config.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x1000ba75
push 0x10016ee0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x65
push edi
mov dword [ebp - 0xd8], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp - 0xd8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [ebp - 0xd8], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x1001bf8c]
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
call edi
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xd8]
push esi
mov esi, dword [ebp - 0xdc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000babb
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x14], eax
jne 0x1000babb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x1001bf8c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xd4]
call fcn.1000b750
test al, al
jne 0x1000bade
lea ecx, [ebp - 0xbc]
call fcn.1000b750
test al, al
jne 0x1000bade
push 0x14
call esi
push dword [0x1001bf8c]
call edi
push 0
push str.missing_.wz_.img_file
push str.Either_Base.wz_is_missing_from_your_game_directory_OR_you_are_loading_from_.img_and_zmap.img_is_not_in_your_Data_directory__please_reinstall_and_make_sure_relevant_file_s__exist
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.bad_config_file
push str.your_config.ini_file_doesnt_exist__please_re_download_config.ini_from_Ezorsia_v2_releases_at_https:__github.com_444Ro666_MapleEzorsia_v2
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x14]
mov byte [0x1001be92], 1
mov byte [0x1001be91], 1
call fcn.1000c520
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
call fcn.1000c550
add esp, 8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.1000b750
test al, al
je 0x1000bb3a
mov byte [0x1001be92], 1
mov byte [0x1001be93], 0
jmp 0x1000bb5c
lea ecx, [ebp - 0x8c]
call fcn.1000b750
movzx ecx, byte [0x1001be92]
test al, al
mov edx, 1
cmovne ecx, edx
mov byte [0x1001be92], cl
movsd xmm0, qword [0x10017fd0]
lea ecx, [ebp - 0x5c]
cmp dword [0x1001c058], 0x10
mov eax, 0x1001c044
movsd qword [0x1001b050], xmm0
xorps xmm0, xmm0
cmovae eax, dword [0x1001c044]
push 0xa
push str.CUSTOM.dll
mov dword [0x1001b174], 0x500
mov dword [0x1001b178], 0x2d0
mov dword [0x1001b058], 6
mov byte [0x1001b04e], 1
mov byte [0x1001b04d], 1
mov byte [0x1001b04c], 1
mov dword [0x1001b048], 0x8c
mov byte [0x1001c008], 0
mov dword [str.127.0.0.1], eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.1000a950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.CUSTOM2.dll
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
call fcn.1000a950
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.CUSTOM3.dll
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.1000a950
mov byte [ebp - 4], 8
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x14], edx
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xd8], ecx
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xdc], eax
mov dword [str.CUSTOM2.dll], ecx
mov ecx, str.CUSTOM.dll
mov dword [str.CUSTOM3.dll], eax
mov eax, edx
mov dword [str.CUSTOM.dll], edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bca8
test dl, dl
je 0x1000bca4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bca8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bc88
xor eax, eax
jmp 0x1000bcad
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bcfc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000bce6
push 0x14
call esi
push dword [0x1001bf8c]
call edi
push 0
push str.Missing_file
push str.Failed_to_find_the_first_custom_dll_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [str.CUSTOM2.dll]
mov dword [ebp - 0xd8], eax
mov eax, dword [str.CUSTOM3.dll]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
mov ecx, str.CUSTOM2.dll
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bd27
test dl, dl
je 0x1000bd23
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bd27
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bd07
xor eax, eax
jmp 0x1000bd2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bd75
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000bd68
push 0x14
call esi
push dword [0x1001bf8c]
call edi
push 0
push str.Missing_file
push str.Failed_to_find_the_second_custom_dll_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [str.CUSTOM3.dll]
mov dword [ebp - 0xdc], eax
jmp 0x1000bd7b
mov eax, dword [ebp - 0xdc]
mov ecx, str.CUSTOM3.dll
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000bda0
test dl, dl
je 0x1000bd9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000bda0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bd80
xor eax, eax
jmp 0x1000bda5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000bde2
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000bde2
push 0x14
call esi
push dword [0x1001bf8c]
call edi
push 0
push str.Missing_file
push str.Failed_to_find_the_third_custom_dll_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
jne 0x1000bdef
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1000be28
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000be1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x1000be6e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000be64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x1000beb4
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000beaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 8
jb 0x1000bf03
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 8
jb 0x1000bf5a
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bf50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp ecx, 8
jb 0x1000bfb1
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bfa7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 8
jb 0x1000c001
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000bff7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c050
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp ecx, 8
jb 0x1000c060
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c056
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c056
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10014415
add esp, 8
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1000c078
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0xe0]
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.100142e5
mov esp, ebp
pop ebp
ret 0x28