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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6740b2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov esi, dword [ecx + 0x2c]
cmp dword [ecx + 0x28], esi
lea ebx, [ecx + 0x24]
mov dword [esp + 0x1c], ebx
jbe 0x67354fb5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x67354fc3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x3c]
push eax
mov edi, ebx
call fcn.673563f0
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
mov esi, eax
jne 0x67354fe4
mov dword [esp + 0x14], edi
jmp 0x67354ffa
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x67354fe7
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
cmp dword [esp + 0x14], edi
mov dword [esp + 0x80], edi
je 0x67355236
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x4c]
push edx
call fcn.67356020
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
mov byte [esp + 0x8c], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], edi
call fcn.673555f0
cmp eax, 1
sete al
test al, al
je 0x673551e6
mov esi, dword [esp + 0x4c]
test esi, esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jbe 0x673550b5
cmp edi, esi
mov edx, dword [esp + 0x5c]
jae 0x67355289
mov eax, dword [edx + edi*8]
test eax, eax
mov ecx, dword [edx + edi*8 + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
je 0x673550ae
test ecx, ecx
je 0x673550ae
lea ebx, [esp + 0x2c]
lea esi, [esp + 0x3c]
call fcn.67355f20
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x1c]
add edi, 1
cmp edi, esi
jb 0x6735507e
mov edx, dword [ebx + 4]
test edx, edx
jne 0x673550c0
xor ecx, ecx
jmp 0x673550c8
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 4
test edx, edx
je 0x67355105
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 4
cmp ecx, eax
jae 0x67355105
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx + 8]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
push esi
mov ecx, 1
call fcn.673589b0
add esp, 0x10
add esi, 0x10
mov dword [ebx + 8], esi
jmp 0x67355125
mov esi, dword [ebx + 8]
cmp edx, esi
jbe 0x67355112
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
push ecx
mov eax, ebx
call fcn.67356360
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp edi, ecx
mov esi, ecx
jbe 0x6735514f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp edi, ecx
jbe 0x6735514f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x44]
cmp edi, esi
je 0x6735518b
mov eax, ecx
sub eax, esi
sar eax, 3
cmp esi, ecx
lea ebx, [edi + eax*8]
mov edx, ecx
mov eax, esi
je 0x67355183
mov ecx, edi
sub ecx, esi
lea esp, [esp]
mov esi, dword [eax]
mov dword [ecx + eax], esi
mov esi, dword [eax + 4]
mov dword [ecx + eax + 4], esi
add eax, 8
cmp eax, edx
jne 0x67355170
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x673551a5
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
call sub.MFC80U.DLL_Ordinal_266
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
mov dword [esp + 0x60], 0
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx*2]
add esp, 4
cmp dword [esp + 0x18], edx
je 0x67355293
mov esi, dword [esp + 0x28]
xor edi, edi
jmp 0x67355022
cmp esi, dword [ebp + 8]
jne 0x6735524d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x67355203
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, dword [esp + 0x5c]
push eax
call sub.MFC80U.DLL_Ordinal_266
mov ecx, dword [esp + 0x5c]
add esp, 4
push ecx
mov dword [esp + 0x60], edi
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, edi
mov dword [esp + 0x58], edi
je 0x67355236
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x6735525f
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov edx, dword [esp + 0x5c]
push edx
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x5c]
add esp, 4
push eax
mov dword [esp + 0x60], edi
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x58], edi
cmp eax, edi
jmp 0x67355299
push 0x80004005
call fcn.67346d60
mov eax, dword [esp + 0x40]
test eax, eax
je 0x673552a4
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4