Function at 0x10086070
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x1024a9a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebp + 0x68]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp + 0x3c], eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x6c]
push 0x80000
mov dword [ebp + 0x34], eax
mov dword [ebp - 0xb8], eax
movlpd qword [ebp + 4], xmm0
mov dword [ebp + 0x4c], esi
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0xd0], vtable.WM::GMBuffer_unsigned_char_.0
mov dword [ebp - 0xc4], esi
call fcn.1006e70d
add esp, 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], 0x80000
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x50], vtable.WM::GMFile.0
mov dword [ebp + 0x54], 0xffffffff
mov byte [ebp - 4], 2
lea edx, [ebp - 0xc0]
mov ecx, dword [ebx + 0xa8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x74]
mov edi, dword [ebp + 0x70]
mov dword [ebp + 0x44], eax
mov dword [ebp - 0x14], eax
movlpd qword [ebp - 0xc0], xmm0
mov eax, dword [ecx]
push edx
mov byte [ebp + 0x5b], 0
mov byte [ebp + 0x6f], 0
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x48], edi
mov dword [ebp - 0x10], edi
call eax
test al, al
jne 0x100861ac
mov eax, dword [ebx]
mov edi, dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0xf8], 0
xor eax, eax
mov dword [ebp - 0xf4], 7
push eax
push 0x10255fec
lea ecx, [ebp - 0x108]
mov word [ebp - 0x108], ax
call fcn.1001a600
push esi
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 3
push eax
push 0x10000002
mov ecx, ebx
call edi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.1001a5a0
mov edi, dword [ebp + 0x70]
xor esi, esi
cmp dword [ebp + 0x74], 0
jne 0x100861ba
test edi, edi
je 0x10086884
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x40], eax
nop
cmp dword [ebp + 0x44], 0
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
jb 0x100861f4
ja 0x100861ed
mov eax, dword [ebp + 0x48]
cmp eax, 0x80000
jbe 0x100861f7
mov eax, 0x80000
jmp 0x100861f7
mov eax, dword [ebp + 0x48]
lea esi, [ebp + 0x18]
push esi
push eax
push dword [ebp - 0xc8]
call edx
test al, al
je 0x10086a0f
mov ecx, dword [ebp + 0x48]
sub ecx, dword [ebp + 0x18]
mov dword [ebp + 0x48], ecx
sbb dword [ebp + 0x44], 0
cmp byte [ebx + 0xf4], 0
jne 0x10086a6a
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x14], 0
test eax, eax
je 0x10086872
mov eax, dword [ebx + 0xf8]
test eax, eax
je 0x1008625b
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1008625b
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0x78]
mov byte [ebp], 0
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x34], 0
jg 0x10086278
jl 0x10086274
cmp dword [ebp + 0x3c], eax
ja 0x10086278
mov byte [ebp], 1
mov ecx, dword [ebp + 0x78]
lea esi, [ebp + 0x28]
push dword [ebp]
push esi
mov eax, dword [ecx]
push dword [ebp + 0x24]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0xc8]
push eax
call edx
mov esi, dword [ebp + 0x4c]
test al, al
je 0x100868f3
mov ecx, dword [ebp + 0x78]
mov eax, dword [ebp + 0x28]
add dword [ebp + 0x14], eax
sub dword [ebp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x10086865
mov ecx, dword [ebp + 0x78]
lea edx, [ebp + 0x74]
mov dword [ebp + 0x74], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movlpd qword [ebp + 0x1c], xmm0
test eax, eax
je 0x1008685d
mov ecx, dword [ebp + 0x74]
test ecx, ecx
je 0x1008685d
mov eax, dword [ebp + 0x20]
sub dword [ebp + 0x3c], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x1c]
sbb dword [ebp + 0x34], 0
mov dword [ebp + 0x2c], eax
nop
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10086a6a
mov edx, dword [ebp + 0x4c]
mov esi, dword [ecx + esi*8]
mov dword [ebp + 4], esi
mov ecx, dword [ecx + edx*8 + 4]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x10086335
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
push esi
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.100200c0
lea eax, [esi + 0xc]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa4]
call fcn.1001a380
lea eax, [esi + 0x24]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x8c]
call fcn.1001a380
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x3c], eax
lea eax, [esi + 0x78]
mov dword [ebp - 0x38], vtable.WM::GMBuffer_unsigned_char_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp eax, ecx
je 0x1008646f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [esi + 0x7c]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x1008646f
push eax
call fcn.1006e70d
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10086431
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x10086441
cmp ecx, dword [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10086441
push eax
call fcn.1006e708
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
push dword [esi + 0x7c]
push dword [esi + 0x80]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esi + 0x84]
add esp, 0xc
cmp ecx, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x24], eax
cmp byte [ebp + 0x5b], 0
mov byte [ebp - 4], 0xa
jne 0x100866ba
lea eax, [ebp - 0x8c]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x100864e7
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
call sym.WMCommon.dll_private:_bool___thiscall_WM::GMUnpacker::RemoveOrRenameFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
test al, al
jne 0x100864e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x8c]
push eax
push esi
mov edx, dword [ecx + 0x30]
mov ecx, ebx
call edx
test al, al
jne 0x10086646
push esi
lea ecx, [ebp - 0x8c]
push ecx
push 0x10000004
jmp 0x10086635
cmp byte [ebp + 0x6f], 0
jne 0x1008664a
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x7c]
or edi, 0x8000000
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
cmp esi, 2
jae 0x1008650f
xor al, al
jmp 0x1008657c
cmp ecx, 8
lea eax, [ebp - 0x8c]
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x10086534
cmp ecx, 8
lea eax, [ebp - 0x8c]
cmovae eax, edx
cmp word [eax + 2], 0x5c
je 0x1008657a
cmp ecx, 8
lea eax, [ebp - 0x8c]
cmovae eax, edx
cmp word [eax + 2], 0x3a
je 0x1008654b
xor al, al
jmp 0x1008657c
cmp esi, 2
jbe 0x1008657a
cmp ecx, 8
lea eax, [ebp - 0x8c]
cmovae eax, edx
cmp word [eax + 4], 0x2f
je 0x1008657a
cmp ecx, 8
lea eax, [ebp - 0x8c]
cmovae eax, edx
cmp word [eax + 4], 0x5c
je 0x1008657a
xor al, al
jmp 0x1008657c
mov al, 1
test al, al
je 0x100865ae
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x138]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::GetDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xa
call fcn.1001a5a0
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x50]
mov esi, dword [eax + 0xc]
cmp eax, vtable.WM::GMFile.0
jne 0x10086aca
mov eax, dword [ebp + 0x54]
cmp eax, 0xffffffff
je 0x100865e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x100865e2
mov dword [ebp + 0x54], 0xffffffff
push 0
push edi
push 4
push 0
cmp ecx, 8
lea eax, [ebp - 0x8c]
push 1
cmovae eax, edx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x54], eax
cmp eax, 0xffffffff
jne 0x1008664a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebp - 0x8c]
push eax
push esi
mov edx, dword [ecx + 0x30]
mov ecx, ebx
call edx
test al, al
jne 0x10086646
push esi
lea ecx, [ebp - 0x8c]
push ecx
push 0x10000001
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x100868a7
mov byte [ebp + 0x6f], 1
cmp dword [ebp - 0x40], 0
jne 0x1008666c
cmp dword [ebp - 0x3c], 0
jne 0x1008666c
mov edi, dword [ebp - 0x58]
add dword [ebp + 0x38], edi
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp - 0x54]
adc esi, eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x30], esi
jmp 0x1008668d
mov edi, dword [ebp - 0xb4]
sub edi, dword [ebp + 0x38]
mov esi, dword [ebp - 0xb8]
mov eax, dword [ebp + 0x3c]
sbb esi, dword [ebp + 0x30]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
push 0
push dword [ebp + 0x28]
mov byte [ebp + 0x5b], 1
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x100866ba
mov eax, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
call dword [eax + 8]
cmp byte [ebp + 0x6f], 0
mov dword [ebp + 0x10], 0
jne 0x1008670e
mov esi, dword [ebp + 0x74]
cmp edi, esi
mov ecx, dword [ebp - 0x1c]
cmovb esi, edi
add ecx, dword [ebp + 0x2c]
je 0x1008688b
mov eax, dword [ebp + 0x54]
cmp eax, 0xffffffff
je 0x1008688b
push 0
lea edx, [ebp + 0x10]
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1008688b
mov eax, dword [ebp + 0x10]
cmp esi, eax
jne 0x1008688b
mov ecx, dword [ebp + 0x74]
jmp 0x1008671b
mov ecx, dword [ebp + 0x74]
cmp edi, ecx
mov eax, ecx
cmovb eax, edi
mov dword [ebp + 0x10], eax
mov esi, dword [ebp + 0x40]
cmp edi, eax
jne 0x100867d2
test esi, esi
jne 0x100867d2
mov esi, dword [ebp + 0x4c]
sub ecx, eax
inc esi
mov dword [ebp + 0x74], ecx
add dword [ebp + 0x2c], eax
mov eax, dword [ebp - 0x64]
adc dword [ebp + 0xc], 0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x4c], esi
cmp eax, 0xffffffff
je 0x100867ba
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp + 0x54]
cmp eax, 0xffffffff
je 0x100867ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x54]
test eax, eax
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [ebp + 0x54], ecx
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, ebx
mov byte [ebp + 0x5b], 0
mov byte [ebp + 0x6f], 0
call dword [eax + 0x28]
jmp 0x100867f8
sub edi, eax
mov dword [ebp + 0x74], 0
xorps xmm0, xmm0
sbb esi, 0
movlpd qword [ebp + 0x1c], xmm0
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x40], esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp + 0x2c], esi
mov esi, dword [ebp + 0x4c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.WM::GMBuffer_unsigned_char_.0
test eax, eax
je 0x10086816
push eax
call fcn.1006e708
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x8c]
call fcn.1001a5a0
lea ecx, [ebp - 0xa4]
call fcn.1001a5a0
lea ecx, [ebp - 0xb0]
call fcn.100203e0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1001eb30
cmp dword [ebp + 0x74], 0
ja 0x10086300
mov eax, dword [ebp + 0x28]
add dword [ebx + 0x108], eax
adc dword [ebx + 0x10c], 0
mov ecx, dword [ebp + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp + 0x24], 0
ja 0x10086242
mov ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x44], 0
ja 0x100861d0
test ecx, ecx
jne 0x100861d0
mov bl, 1
jmp 0x10086a6c
mov eax, dword [ebx]
mov esi, dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
push 0x10000003
call esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.WM::GMBuffer_unsigned_char_.0
test eax, eax
je 0x100868c5
push eax
call fcn.1006e708
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x8c]
call fcn.1001a5a0
lea ecx, [ebp - 0xa4]
call fcn.1001a5a0
lea ecx, [ebp - 0xb0]
call fcn.100203e0
lea ecx, [ebp + 8]
call fcn.1001eb30
jmp 0x10086a6a
mov edi, dword [ebp - 0x10]
sub edi, dword [ebp + 0x48]
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [ebp + 0x44]
add edi, dword [ebp - 0xc0]
mov esi, dword [eax]
adc ecx, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0x4c]
sub eax, esi
sar eax, 3
cmp edx, eax
jae 0x100869ff
mov ecx, dword [esi + edx*8]
mov esi, dword [esi + edx*8 + 4]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], esi
test esi, esi
je 0x10086946
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
push ecx
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 5
call sym.WMCommon.dll_public:_void___thiscall_WM::GMTocNode::constructor_class_WM::GMTocNode_const__
mov edi, dword [ebp - 0x160]
sub edi, dword [ebp + 0x48]
mov eax, dword [ebp - 0x15c]
sbb eax, dword [ebp + 0x44]
add edi, dword [ebp - 0x10]
mov dword [ebp - method.WM::GMBuffer_unsigned_char_.virtual_0], vtable.WM::GMBuffer_unsigned_char_.0
adc eax, dword [ebp - 0x14]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x10086998
push eax
call fcn.1006e708
add esp, 4
mov dword [ebp - 0x148], 0
lea ecx, [ebp - 0x1a4]
call fcn.1001a5a0
lea ecx, [ebp - 0x1bc]
call fcn.1001a5a0
lea ecx, [ebp - 0x1c8]
call fcn.100203e0
mov byte [ebp - 4], 2
test esi, esi
je 0x100869fc
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100869fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x100869fc
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x10086add
push 1
call dword [edx]
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebx]
push ecx
push edi
push 0x30000003
mov ecx, ebx
call dword [eax + 0x38]
jmp 0x10086a6a
mov eax, dword [ebx]
mov edi, dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x110], 0
xor eax, eax
mov dword [ebp - 0x10c], 7
push eax
push 0x10255fec
lea ecx, [ebp - 0x120]
mov word [ebp - 0x120], ax
call fcn.1001a600
push esi
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 4
push eax
push 0x10000002
mov ecx, ebx
call edi
lea ecx, [ebp - 0x120]
call fcn.1001a5a0
xor bl, bl
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x50], vtable.WM::GMFile.0
cmp eax, 0xffffffff
je 0x10086a92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x54]
test eax, eax
mov eax, 0xffffffff
cmovne ecx, eax
mov dword [ebp + 0x54], ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp + 0x50], vtable.WM::GMBaseFile.0
test eax, eax
je 0x10086aac
push eax
call fcn.1006e708
add esp, 4
lea ecx, [ebp + 0x7c]
call fcn.1001eb30
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x5c]
pop ebp
ret 0x1c
lea ecx, [ebp + 0x50]
call esi
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
jmp 0x100865e2
call eax
jmp 0x100869fc