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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x783ab22d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x783c8018]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
xor ebx, ebx
cmp dword [ecx], ebx
je 0x78360b0f
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push 0x10
lea eax, [esp + 0x54]
push ebx
push eax
mov dword [esp + 0xac], ebx
call sub.MSVCR80.dll_memset
mov edi, dword [ebp + 0x18]
add esp, 0xc
cmp edi, ebx
je 0x7836063f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x58], eax
test byte [ebp + 0xc], 0xc
mov dword [esp + 0x20], 0xfffffffd
je 0x7836065d
lea eax, [esp + 0x20]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], sym.MFC80U.DLL_Ordinal_3249
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x78360894
xor ecx, ecx
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.MFC80U.DLL_Ordinal_762
mov esi, eax
mov eax, dword [esp + 0x5c]
shl eax, 4
push eax
push ebx
push esi
mov dword [esp + 0x60], esi
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x68]
shl eax, 4
add esp, 0x10
cmp byte [edi], 0
lea esi, [esi + eax - 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
je 0x78360894
mov eax, dword [ebp + 0x1c]
lea edi, [esi + 8]
lea esi, [eax - 4]
add eax, 0xfffffff8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movzx ax, byte [eax]
test al, 0x40
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
je 0x78360703
and ax, 0xffbf
or ax, 0x4000
mov word [ecx], ax
movzx eax, word [ecx]
mov ecx, 0x4002
cmp eax, ecx
jg 0x783607fd
je case.0x78360807.16387
dec eax
dec eax
cmp eax, 0x13
ja case.0x78360807.16398
jmp dword [eax*4 + 0x78360b2a]
add dword [esp + 0x10], 4
add esi, 4
mov al, byte [esi]
mov byte [edi], al
jmp case.0x78360807.16398
add dword [esp + 0x10], 4
add esi, 4
mov ax, word [esi]
jmp 0x783607d5
mov eax, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x10], eax
add esi, 8
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp case.0x78360807.16398
add dword [esp + 0x10], 8
mov eax, dword [esp + 0x10]
fld qword [eax]
add esi, 8
fstp dword [edi]
jmp case.0x78360807.16398
add dword [esp + 0x10], 8
mov eax, dword [esp + 0x10]
fld qword [eax]
add esi, 8
fstp qword [edi]
jmp case.0x78360807.16398
add dword [esp + 0x10], 4
add esi, 4
mov eax, dword [esi]
jmp 0x7836075a
add dword [esp + 0x10], 4
add esi, 4
mov ebx, dword [esi]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test ebx, ebx
mov dword [edi], eax
je case.0x78360807.16398
test eax, eax
jne case.0x78360807.16398
call sym.MFC80U.DLL_Ordinal_1178
add dword [esp + 0x10], 4
add esi, 4
mov eax, dword [esi]
neg eax
sbb eax, eax
mov word [edi], ax
jmp case.0x78360807.16398
add dword [esp + 0x10], 4
mov edi, dword [esp + 0x14]
add esi, 4
mov dword [esp + 0x24], esi
mov esi, dword [esi]
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 [esp + 0x1c]
mov esi, dword [esp + 0x24]
jmp case.0x78360807.16398
sub eax, 0x4003
cmp eax, 0x12
ja case.0x78360807.16398
jmp dword [eax*4 + 0x78360b7a]
add dword [esp + 0x10], 4
add esi, 4
mov eax, dword [esi]
mov ecx, dword [eax]
neg ecx
sbb ecx, ecx
and dword [esp + 0x38], 0
and ecx, 0xffff
mov dword [eax], ecx
mov dword [edi], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea ebx, [esp + 0x30]
lea eax, [esp + 0x60]
mov byte [esp + 0xa0], 2
call fcn.78360397
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x38], 0
je case.0x78360807.16398
push dword [esp + 0x30]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
jmp case.0x78360807.16398
add dword [esp + 0x10], 4
add esi, 4
mov eax, dword [esi]
mov dword [edi], eax
sub dword [esp + 0x14], 0x10
sub edi, 0x10
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
mov dword [esp + 0x1c], edi
jne 0x783606e5
mov edi, dword [ebp + 0x18]
xor ebx, ebx
lea eax, [esp + 0x3c]
push eax
xor esi, esi
call sym.MFC80U.DLL_Ordinal_1194
cmp word [ebp + 0x10], bx
je 0x783608aa
lea esi, [esp + 0x3c]
push 0x20
lea eax, [esp + 0x78]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x78]
push edx
push esi
lea edx, [esp + 0x5c]
push edx
push dword [ebp + 0xc]
push ebx
push 0x782e2160
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
call fcn.78360c98
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x7836091e
mov ecx, dword [esp + 0x50]
shl eax, 4
lea esi, [eax + ecx - 0x10]
jmp 0x78360919
cmp byte [edi], 8
jne 0x78360915
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
sub esi, 0x10
inc edi
cmp byte [edi], 0
jne 0x78360909
push dword [esp + 0x50]
call dword [sym.imp.MSVCR80.dll_free]
cmp dword [esp + 0x1c], ebx
pop ecx
mov dword [esp + 0x50], ebx
jge 0x78360a29
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x18], 0x80020009
je 0x78360955
push dword [esp + 0x18]
call sym.MFC80U.DLL_Ordinal_1182
cmp dword [esp + 0x8c], ebx
je 0x7836096a
lea eax, [esp + 0x74]
push eax
call dword [esp + 0x90]
push 0x20
call sym.MFC80U.DLL_Ordinal_762
pop ecx
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0xa0], 3
je 0x78360991
push dword [esp + 0x74]
mov ecx, eax
push ebx
push ebx
call sym.MFC80U.DLL_Ordinal_463
mov ebx, eax
mov byte [esp + 0xa0], 1
push dword [esp + 0x78]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call edi
test eax, eax
je 0x783609b5
push dword [esp + 0x78]
lea ecx, [ebx + 0x18]
call sym.MFC80U.DLL_Ordinal_6014
push dword [esp + 0x78]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [esp + 0x7c]
call edi
test eax, eax
je 0x783609d7
push dword [esp + 0x7c]
lea ecx, [ebx + 0xc]
call sym.MFC80U.DLL_Ordinal_6014
push dword [esp + 0x7c]
call esi
push dword [esp + 0x80]
call edi
test eax, eax
je 0x783609f9
push dword [esp + 0x80]
lea ecx, [ebx + 0x14]
call sym.MFC80U.DLL_Ordinal_6014
push dword [esp + 0x80]
call esi
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x1c], eax
push 0x783b0360
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], ebx
call sub.MSVCR80.dll__CxxThrowException
mov esi, dword [ebp + 0x10]
cmp si, bx
je case.0x78360a6f.14
cmp si, 0xc
je 0x78360a60
push esi
push ebx
lea eax, [esp + 0x44]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov edi, eax
cmp edi, ebx
jge 0x78360a60
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
jmp 0x78360950
movzx eax, si
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x78360a6f.14
jmp dword [eax*4 + 0x78360bc6]
mov eax, dword [ebp + 0x14]
mov cl, byte [esp + 0x44]
mov byte [eax], cl
jmp case.0x78360a6f.14
mov eax, dword [ebp + 0x14]
mov cx, word [esp + 0x44]
mov word [eax], cx
jmp case.0x78360a6f.14
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
jmp case.0x78360a6f.14
fld dword [esp + 0x44]
mov eax, dword [ebp + 0x14]
fstp dword [eax]
jmp case.0x78360a6f.14
fld qword [esp + 0x44]
mov eax, dword [ebp + 0x14]
fstp qword [eax]
jmp case.0x78360a6f.14
push dword [esp + 0x44]
push dword [ebp + 0x14]
call sym.MFC80U.DLL_Ordinal_1023
push dword [esp + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp case.0x78360a6f.14
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp word [esp + 0x44], bx
setne al
mov dword [ecx], eax
jmp case.0x78360a6f.14
mov edi, dword [ebp + 0x14]
lea esi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x78360a6f.14
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
lea esi, [esp + 0x60]
call fcn.78360304
cmp dword [esp + 0x50], ebx
je 0x78360b0f
push dword [esp + 0x50]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18