Function at 0x10123406
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x181c]
mov eax, 0x189c
call fcn.1013fed0
mov eax, dword [0x1019c828]
xor eax, ebp
mov dword [ebp + 0x1818], eax
push ebx
mov ebx, dword [ebp + 0x1828]
push esi
mov esi, dword [ebp + 0x182c]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x70], esi
je 0x10123e16
cmp dword [ebx], edi
je 0x10123e16
mov eax, dword [esi]
push 0x100
lea ecx, [ebp + 0x1c8]
push ecx
push edi
push esi
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x80], edi
call dword [eax + 0x68]
inc dword [esi + 0x10]
test byte [ebx + 0x30], 0x10
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
lea eax, [ebp + 0xae4]
je 0x10123486
push eax
push dword [ebx + 0xc]
call sym.rt3d.dll_bool___stdcall_e3GetPathFromFile_unsigned_short_int_const___unsigned_short_int__
jmp 0x10123492
push dword [ebx + 0xc]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp + 0xae4]
push eax
call fcn.100ecaf9
mov eax, dword [ebx]
cmp dword [eax + 0x1c], edi
pop ecx
mov dword [ebp - 0x74], edi
jle 0x10123df9
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10123b6a
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_void___stdcall_e3_GUID::SetNull_void_
mov eax, dword [ebx]
push dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x60], edi
je 0x1012352c
test byte [ebx + 0x30], 8
jne 0x1012352c
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x1012352c
and dword [ebp - 0x64], 0
test eax, eax
mov byte [ebp - 0x51], 1
jle 0x10123530
and dword [ebp - 0x58], 0
lea esi, [edi + 0x44]
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 0x58]
push esi
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::Compare_struct_e3_GUID_const__const
test al, al
jne 0x1012351c
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x58], 0x10
cmp eax, dword [ebx + 0x14]
jl 0x101234fa
jmp 0x10123530
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x60]
mov byte [ebp - 0x51], 0
jmp 0x10123530
mov byte [ebp - 0x51], 1
lea eax, [edi + 0x44]
push eax
mov dword [ebp - 0x68], eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::IsNull_void_const
test al, al
jne 0x10123583
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::IsNull_void_const
test al, al
je 0x10123583
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x10123583
and dword [ebp - 0x58], esi
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 0x58]
push dword [ebp - 0x68]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::Compare_struct_e3_GUID_const__const
test al, al
jne 0x10123576
add dword [ebp - 0x58], 0x10
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x10123557
jmp 0x10123583
mov esi, dword [ebp - 0x68]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::IsNull_void_const
test al, al
je 0x1012359d
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x60]
cmp byte [ebp - 0x51], 0
je 0x10123a0d
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0x35
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
je 0x10123ba2
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x101235c8
mov dword [eax + 0x14], esi
jmp 0x101235cb
mov dword [ebp - 0x78], esi
mov dword [esi + 0x10], edi
test word [ebx + 0x30], 0x2000
mov dword [ebp - 0x7c], esi
je 0x1012364b
lea eax, [ebp - 0x40]
push eax
push 0x104
call sym.rt3d.dll_int___stdcall_e3GetTempPath_int__unsigned_short_int__
lea eax, [ebp + 0x8dc]
push eax
push 0
push str.e3duuuu.___
lea eax, [ebp - 0x40]
push eax
call sym.rt3d.dll_int___stdcall_e3GetTempFileName_unsigned_short_int___unsigned_short_int___int__unsigned_short_int__
lea eax, [ebp + 0x8dc]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
pop ecx
pop ecx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x8dc]
push edx
inc edi
push eax
inc edi
call dword [ecx + 0x14]
test eax, eax
mov dword [esi], eax
je 0x10123ba2
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
mov dword [esi + 4], eax
je 0x10123ba2
mov byte [esi + 0x18], 1
jmp 0x10123a02
and dword [ebp - 0x6c], 0
mov edi, dword [ebp - 0x60]
push 0x104
lea eax, [ebp + 0xdf0]
push eax
add edi, 0x3c
push edi
call sym.rt3d.dll_public:_int___stdcall_e3_STRING::Get_unsigned_short_int___int_const
cmp dword [edi], 0
je 0x10123691
lea eax, [ebp + 0x1408]
push eax
lea eax, [ebp + 0x1610]
push eax
lea eax, [ebp + 0xdf0]
push eax
call fcn.10123395
add esp, 0xc
test al, al
jne 0x101239d5
test word [ebx + 0x30], 0x200
je 0x101237fc
xor edx, edx
cmp dword [edi], edx
je 0x101237fc
cmp word [ebp + 0xdf0], dx
lea eax, [ebp + 0xdf0]
je 0x101237fc
movzx ecx, word [ebp + 0xdf0]
cmp cx, 0x5c
jne 0x101236ca
lea edx, [eax + 2]
inc eax
inc eax
movzx ecx, word [eax]
test cx, cx
jne 0x101236c1
test edx, edx
je 0x101237fc
cmp word [edx], cx
je 0x101237fc
push edx
lea eax, [ebp + 0x1610]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
xor edx, edx
cmp word [ebp + 0x1610], dx
pop ecx
pop ecx
lea eax, [ebp + 0x1610]
je 0x101237fc
movzx ecx, word [ebp + 0x1610]
cmp cx, 0x2e
jne 0x10123719
mov edx, eax
inc eax
inc eax
movzx ecx, word [eax]
test cx, cx
jne 0x10123711
test edx, edx
je 0x101237fc
mov edi, dword [sym.imp.MSVCR80.dll_wcslen]
and word [edx], cx
lea eax, [ebp + 0x1610]
push eax
call edi
test eax, eax
pop ecx
je 0x101237fc
test word [ebx + 0x30], 0x1000
je 0x10123785
lea eax, [ebp + 0x1610]
push eax
call edi
cmp dword [ebp - 0x6c], 0
pop ecx
push 8
pop ecx
je 0x10123778
cmp dword [ebp - 0x6c], 0xa
jge 0x1012376c
push 7
pop ecx
jmp 0x10123778
xor ecx, ecx
cmp dword [ebp - 0x6c], 0x64
setl cl
add ecx, 5
cmp eax, ecx
jle 0x10123785
and word [ebp + ecx*2 + 0x1610], 0
cmp dword [ebp - 0x6c], 0
lea eax, [ebp + 0x1610]
je 0x101237b0
push dword [ebp - 0x6c]
push eax
push str._s_d.
lea eax, [ebp + 0x1408]
push 0x104
push eax
call sym.rt3d.dll_int___cdecl_e3sprintf_unsigned_short_int___unsigned_int__unsigned_short_int_const__
add esp, 0x14
jmp 0x101237ca
push eax
push 0x10166ac4
lea eax, [ebp + 0x1408]
push 0x104
push eax
call sym.rt3d.dll_int___cdecl_e3sprintf_unsigned_short_int___unsigned_int__unsigned_short_int_const__
add esp, 0x10
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x101237d4
push eax
jmp 0x101237e8
push 0
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_class_FILETYPE____stdcall_GetFileINFO_struct_e3_GUID_const___unsigned_int_
test eax, eax
je 0x101237fc
mov eax, dword [eax + 0x5c]
push dword [eax]
lea eax, [ebp + 0x1408]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
jmp 0x101238bf
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x58], eax
push 0
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_class_FILETYPE____stdcall_GetFileINFO_struct_e3_GUID_const___unsigned_int_
mov edi, eax
test edi, edi
je 0x101238a5
cmp dword [edi + 0x58], 0
je 0x101238a5
cmp dword [ebx + 0x38], 0
jne 0x101238a5
push 0x2e
push dword [ebp - 0x58]
call dword [sym.imp.MSVCR80.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
je 0x101238a5
add dword [ebp - 0x68], 2
and dword [ebp - 0x64], 0
cmp dword [edi + 0x58], 0
jle 0x1012386c
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x64]
push dword [eax + ecx*4]
push dword [ebp - 0x68]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x101238a5
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [edi + 0x58]
jl 0x10123849
push dword [ebp - 0x58]
lea eax, [ebp + 0x4cc]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
lea eax, [ebp + 0x4cc]
push 0x2e
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
mov ecx, dword [edi + 0x5c]
push dword [ecx]
inc eax
inc eax
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
lea eax, [ebp + 0x4cc]
add esp, 0x18
mov dword [ebp - 0x58], eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x1408]
push dword [ebp - 0x58]
push 0x104
push eax
call sym.rt3d.dll_int___cdecl_e3sprintf_unsigned_short_int___unsigned_int__unsigned_short_int_const__
add esp, 0x10
lea eax, [ebp + 0x1610]
push eax
lea eax, [ebp + 0x1408]
push eax
lea eax, [ebp + 0xae4]
push eax
call sym.rt3d.dll_bool___stdcall_e3GetAbsoluteName_unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int__
lea eax, [ebp + 0x1610]
push eax
call sym.rt3d.dll_bool___stdcall_e3IsFileExist_unsigned_short_int_const__
inc dword [ebp - 0x80]
inc dword [ebp - 0x6c]
movzx eax, al
test eax, eax
mov dword [esi + 8], eax
je 0x10123906
mov eax, dword [ebx + 0x30]
test al, 0x40
jne 0x10123906
test ax, 0x100
jne 0x1012364f
lea eax, [ebp + 0x3c8]
push eax
lea eax, [ebp + 0x1610]
push eax
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
xor edi, edi
cmp edi, dword [ebp - 0x74]
jge 0x10123950
mov eax, dword [ebx]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
test word [ebx + 0x30], 0x800
jne 0x1012394d
mov eax, dword [eax + 0x2c]
lea ecx, [ebp + 0x1610]
push ecx
push dword [eax]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1012364f
inc edi
jmp 0x1012391b
mov eax, dword [ebp - 0x60]
add eax, 0x3c
cmp dword [eax], 0
je 0x101239d5
cmp dword [0x10327444], 0
je 0x101239d5
push eax
call sym.rt3d.dll_public:_unsigned_short_int_const____stdcall_e3_STRING::GetBuffer_void_const
push eax
call fcn.100e91e1
mov edi, eax
lea eax, [ebp + 0x1610]
push eax
call fcn.100e91e1
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x1408]
push eax
call fcn.100e91e1
add esp, 0xc
test edi, edi
mov dword [ebp - 0x64], eax
je 0x10123b70
cmp dword [ebp - 0x58], 0
je 0x10123b70
test eax, eax
je 0x10123b70
mov eax, dword [0x10327444]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x30]
mov eax, dword [0x10327444]
push dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [0x10327444]
push dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1610]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1408]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
mov dword [esi + 4], eax
je 0x10123ba2
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x2c], esi
jmp 0x10123b4d
lea eax, [edi + 0x3c]
cmp dword [eax], 0
mov dword [ebp - 0x68], eax
je 0x10123b57
and dword [edi + 0x2c], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0x35
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
je 0x10123ba2
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
inc ecx
mov dword [edi + 0x2c], esi
or dword [esi + 0x31], ecx
test eax, eax
mov dword [esi + 0x10], edi
je 0x10123a4d
mov dword [eax + 0x14], esi
jmp 0x10123a50
mov dword [ebp - 0x78], esi
mov dword [esi + 8], ecx
test word [ebx + 0x30], 0x1000
mov dword [ebp - 0x7c], esi
push 0x104
je 0x10123a8d
lea eax, [ebp + 0xcec]
push eax
push dword [ebp - 0x68]
call sym.rt3d.dll_public:_unsigned_short_int_const____stdcall_e3_STRING::GetBuffer_void_const
push eax
call sym.rt3d.dll_int___stdcall_e3GetShortPathName_unsigned_short_int_const___char___int_
lea eax, [ebp + 0xff8]
push eax
lea eax, [ebp + 0xcec]
push eax
call sym.rt3d.dll_void___stdcall_AtoW_char_const___unsigned_short_int__
jmp 0x10123a9c
lea eax, [ebp + 0xff8]
push eax
push dword [ebp - 0x68]
call sym.rt3d.dll_public:_int___stdcall_e3_STRING::Get_unsigned_short_int___int_const
xor edi, edi
cmp word [ebp + 0xff8], di
lea eax, [ebp + 0xff8]
je 0x10123ac7
movzx ecx, word [ebp + 0xff8]
cmp cx, 0x5c
jne 0x10123abd
lea edi, [eax + 2]
inc eax
inc eax
movzx ecx, word [eax]
test cx, cx
jne 0x10123ab4
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0xff8]
push edx
push eax
call dword [ecx + 0x14]
test edi, edi
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
je 0x10123ae5
push edi
jmp 0x10123aec
lea edx, [ebp + 0xff8]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
mov dword [esi + 4], eax
je 0x10123ba2
test word [ebx + 0x30], 0x800
jne 0x10123b4d
lea eax, [ebp + 0x1304]
push eax
push dword [esi]
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1304]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
mov dword [esi], eax
je 0x10123ba2
lea eax, [ebp + 0x1304]
push eax
push dword [esi + 4]
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1304]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
mov dword [esi + 4], eax
je 0x10123ba2
lea edi, [esi + 0x19]
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x74]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax + 0x1c]
jl 0x101234ad
jmp 0x10123ba9
or dword [ebp - 0x5c], 0xffffffff
jmp 0x10123ba9
test edi, edi
mov dword [ebp - 0x5c], 0xfffffff4
je 0x10123b82
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x58], 0
je 0x10123b91
push dword [ebp - 0x58]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x64], 0
je 0x10123ba9
push dword [ebp - 0x64]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10123ba9
mov dword [ebp - 0x5c], 0xfffffff4
cmp dword [ebp - 0x78], 0
je 0x10123df9
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10123df9
cmp dword [ebp - 0x5c], eax
jle 0x10123df9
mov esi, dword [ebp - 0x78]
mov dword [ebx + 8], esi
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10123df9
mov ecx, dword [ebx + 0x30]
test cl, 0x20
jne 0x10123d8d
test byte [esi + 0x31], 1
jne 0x10123d8d
test cl, 0x40
je 0x10123c02
cmp dword [esi + 8], eax
jne 0x10123d8d
test cl, cl
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x5c]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x60], eax
jns 0x10123c2f
mov edx, 0x400
push edx
push edi
call fcn.101229bd
push edx
push dword [ebp - 0x60]
mov edi, eax
call fcn.101229bd
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x10123c44
cmp edi, eax
jle 0x10123c3c
mov edi, eax
cmp dword [ebp - 0x60], eax
jle 0x10123c44
mov dword [ebp - 0x60], eax
push dword [esi]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push str.Saving:__s
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x10]
add esp, 0x10
cmp edi, dword [eax + 0x5c]
jne 0x10123d56
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 0x60]
jne 0x10123d56
cmp dword [eax + 0x38], 0
mov byte [ebp - 0x51], 1
je 0x10123ccb
add eax, 0x44
push eax
lea eax, [esi + 0x19]
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::Compare_struct_e3_GUID_const__const
test al, al
je 0x10123ccb
push 0x201
push dword [esi]
push 0
call sym.rt3d.dll_public:_static_class_e3_STREAM____stdcall_e3_STREAM::CreateW_struct_HINSTANCE_____unsigned_short_int_const___unsigned_int_
mov edi, eax
test edi, edi
je 0x10123ccb
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push edi
push eax
call dword [ecx + 0x78]
mov eax, dword [edi]
push edi
mov byte [ebp - 0x51], 0
call dword [eax + 8]
push 0x1019bfc8
lea edi, [esi + 0x19]
push edi
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::Compare_struct_e3_GUID_const__const
test al, al
je 0x10123d38
mov eax, dword [esi + 0x10]
add eax, 0x44
push 0x1019bfc8
push eax
call sym.rt3d.dll_public:_bool___stdcall_e3_GUID::Compare_struct_e3_GUID_const__const
test al, al
je 0x10123d38
mov eax, dword [esi + 0x10]
add eax, 0x3c
cmp dword [eax], 0
je 0x10123d38
push 0x104
lea ecx, [ebp + 0x6d4]
push ecx
push eax
call sym.rt3d.dll_public:_int___stdcall_e3_STRING::Get_unsigned_short_int___int_const
push dword [esi]
lea eax, [ebp + 0x6d4]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10123d34
push dword [esi]
lea eax, [ebp + 0x6d4]
push eax
call fcn.100ed177
pop ecx
pop ecx
mov byte [ebp - 0x51], 0
cmp byte [ebp - 0x51], 0
je 0x10123d8d
mov eax, dword [esi + 0x10]
fld dword [ebx + 0x2c]
mov ecx, dword [eax]
push ecx
fstp dword [esp]
push dword [ebp - 0x70]
push edi
push dword [esi]
push eax
call dword [ecx + 0x44]
jmp 0x10123d8d
mov ecx, dword [eax]
push 0
push 1
push dword [ebp - 0x60]
push edi
push eax
call dword [ecx + 0xb4]
mov edi, eax
test edi, edi
je 0x10123df2
fld dword [ebx + 0x2c]
mov eax, dword [edi]
push ecx
fstp dword [esp]
push dword [ebp - 0x70]
lea ecx, [ebx + 0x1c]
push ecx
push dword [esi]
push edi
call dword [eax + 0x44]
mov eax, dword [edi]
push edi
call dword [eax + 8]
test word [ebx + 0x30], 0x800
jne 0x10123de5
test byte [esi + 0x31], 1
jne 0x10123de5
lea eax, [ebp + 0x1200]
push eax
push dword [esi]
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1200]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
mov dword [esi], eax
je 0x10123df2
lea eax, [ebp + 0x1200]
push eax
push dword [esi + 4]
call sym.rt3d.dll_void___stdcall_WtoA_unsigned_short_int_const___char__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp + 0x1200]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
mov dword [esi + 4], eax
je 0x10123df2
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10123bd0
jmp 0x10123df9
mov dword [ebp - 0x5c], 0xfffffff4
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
dec dword [eax + 0x10]
lea edx, [ebp + 0x1c8]
push edx
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x5c]
add esp, 0xc
jmp 0x10123e18
xor eax, eax
mov ecx, dword [ebp + 0x1818]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013fce4
add ebp, 0x181c
leave
ret 0xc