Function at 0x100036a0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10028130
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10037018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
cmp dword [0x10037064], 8
mov eax, dword [0x10037050]
mov edi, ecx
jae 0x100036ec
mov eax, 0x10037050
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003751
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 0x10003650
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x10037064], 8
mov eax, dword [0x10037050]
jae 0x10003764
mov eax, 0x10037050
push eax
call sym.libBasic.dll_public:_static_char____cdecl_BASUtilityString::ConvertUnicodeToUtf8_wchar_t_const__
add esp, 4
push 0x10029680
mov ebx, 1
mov edi, 0x10037050
mov dword [esp + 0x14], eax
call fcn.10003d60
inc eax
push eax
xor ecx, ecx
lea esi, [esp + 0x50]
mov edx, edi
call fcn.10003a20
xor esi, esi
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x4c]
mov edi, 8
mov dword [esp + 0x20], esi
cmp dword [esp + 0x60], edi
jae 0x100037b1
lea eax, [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
push eax
call dword [0x100382b8]
mov eax, dword [esp + 0x54]
add esp, 8
cmp dword [esp + 0x60], edi
jae 0x100037ce
lea eax, [esp + 0x4c]
push eax
call sym.libBasic.dll_public:_static_char____cdecl_BASUtilityString::ConvertUnicodeToUtf8_wchar_t_const__
mov edi, dword [esp + 0x14]
mov ebx, eax
mov eax, edi
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100037f3
sub eax, edx
mov esi, eax
mov eax, edi
lea ecx, [esp + 0x30]
call fcn.10001c80
push 4
mov eax, str..zip
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 1
call fcn.10003a50
mov eax, dword [esp + 0x30]
mov esi, 0x10
cmp dword [esp + 0x44], esi
jae 0x10003831
lea eax, [esp + 0x30]
push eax
call sym.libBasic.dll_public:_static_wchar_t____cdecl_BASUtilityString::ConvertUtf8ToUnicode_char_const__
add esp, 4
mov edi, eax
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003840
sub eax, edx
sar eax, 1
push eax
mov eax, edi
mov ecx, 0x1003706c
call fcn.10003b30
lea ecx, [esp + 0x14]
call sym.libBasic.dll_public:_void___thiscall_BASUtilityZip::constructor_void_
push 0
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 2
call sym.libBasic.dll_public:_class_BASUtilityZip____thiscall_BASUtilityZip::AddDir_char_const___char_const__
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x10003887
lea eax, [esp + 0x30]
push str._.zip_
push eax
lea ecx, [esp + 0x1c]
call sym.libBasic.dll_public:_bool___thiscall_BASUtilityZip::ToZip_char_const___char_const__
mov ecx, dword [0x100382b4]
test ecx, ecx
je 0x100038b9
cmp dword [0x10037080], 8
mov eax, dword [0x1003706c]
jae 0x100038b3
mov eax, 0x1003706c
push eax
call ecx
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCR100.dll_free]
push eax
call esi
add esp, 4
push ebx
call esi
add esp, 4
push edi
call esi
mov byte [esp + 0x7c], 1
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x10003916
mov byte [esp + 0x78], 3
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x20]
call fcn.10015850
mov ecx, dword [esi + 4]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push ecx
call esi
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call esi
add esp, 4
jmp 0x1000391c
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x44], 0x10
jb 0x1000392d
mov eax, dword [esp + 0x30]
push eax
call esi
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x10003953
mov ecx, dword [esp + 0x4c]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100256d0
mov esp, ebp
pop ebp
ret