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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fa06
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, esi
mov dword [esp + 0x20], esi
call fcn.00438710
call fcn.00437460
mov edi, eax
mov dword [esp + 0x98], edi
call fcn.004374c0
xor edx, edx
cmp edi, edx
mov dword [esp + 0x4c], eax
jne 0x437bbd
cmp eax, 4
jbe 0x437bf2
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x3fd
add esi, 8
call fcn.00435510
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_LogicalCount__0__PrimaryCount___4.
push edi
call eax
add esp, 0xc
xor eax, eax
jmp 0x4386ec
jbe 0x437bf2
cmp eax, 3
jbe 0x437bf2
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x403
add esi, 8
call fcn.00435510
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_LogicalCount___0__PrimaryCount___3.
push edi
call ecx
add esp, 0xc
xor eax, eax
jmp 0x4386ec
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x2f8], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov byte [esp + 0x2f8], 1
xor edi, edi
mov ecx, dword [esi + 0xc]
cmp ecx, edx
mov dword [esp + 0x14], edi
je 0x437cda
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x437cda
cmp ecx, edx
je 0x437c53
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x437c59
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov ebx, dword [edx + edi*4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov ecx, ebx
mov dword [esp + 0x18], ebx
call edx
test al, al
je 0x437cd0
mov edi, dword [esp + 0x38]
test edi, edi
mov edx, dword [esp + 0x3c]
je 0x437ca4
mov ecx, dword [esp + 0x40]
mov eax, edx
sub eax, edi
sub ecx, edi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x437ca4
mov edi, dword [esp + 0x14]
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0x3c], edx
add edi, 1
xor edx, edx
jmp 0x437c24
cmp edi, edx
mov ebx, edx
jbe 0x437cb0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x88]
push ecx
lea eax, [esp + 0x44]
call fcn.0043a2c0
mov edi, dword [esp + 0x14]
add edi, 1
xor edx, edx
jmp 0x437c24
xor esi, esi
or edi, 0xffffffff
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x437de2
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x437de2
mov edx, ecx
mov esi, dword [edx + esi*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
test eax, eax
jne 0x437dd4
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
mov dword [esp + 0x74], eax
mov eax, dword [esi]
mov ebx, edx
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x74]
add ecx, eax
adc ebx, edx
cmp ebx, dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
jb 0x437d88
ja 0x437d5a
mov edx, dword [esp + 0x5c]
cmp ecx, edx
jbe 0x437d88
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
add ebx, eax
mov eax, dword [esp + 0x48]
adc eax, edx
add ebx, 0xffffffff
adc eax, 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
sub eax, ebx
mov ecx, 0
sbb edx, ecx
cmp edx, edi
ja 0x437dd4
jb 0x437db1
cmp eax, dword [esp + 0x54]
jae 0x437dd4
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
sub eax, ebx
mov dword [esp + 0x54], eax
mov edi, edx
mov eax, 0
sbb edi, eax
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
jmp 0x437cf3
push 0x48
xor esi, esi
lea eax, [esp + 0xa0]
push esi
push eax
mov dword [esp + 0x64], edi
call sub.ntdll.dll_memset
add esp, 0xc
xor edx, edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x14], edx
lea ebx, [esp + 0xa4]
jmp 0x437e20
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x437f9d
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x437f9d
mov eax, dword [esp + 0x14]
cmp eax, 4
mov edi, dword [ecx + eax*4]
je 0x437f9d
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
test eax, eax
je 0x437f9d
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov dword [esp + 0x78], edx
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x5c]
mov ecx, edi
call eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x78]
mov ecx, esi
sub ecx, 1
sbb edx, 0
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
adc eax, edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push edx
push eax
push esi
lea esi, [esp + 0x54]
call fcn.00437a30
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
add esp, 0x10
mov ecx, edi
call eax
mov edx, dword [edi]
neg eax
sbb al, al
mov ecx, edi
and eax, 0x80
mov byte [esp + 0x24], al
mov eax, dword [edx + 0x64]
call eax
mov edx, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x5c]
mov ecx, edi
call eax
mov edx, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x25], cl
mov ecx, dword [esp + 0x48]
mov edx, eax
shrd edx, ecx, 8
shl dl, 6
or dl, byte [esp + 0x18]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x70]
shr ecx, 8
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 4]
push edx
call fcn.00437a30
movzx ecx, byte [esp + 0x2c]
mov eax, dword [esp + 0x54]
add esp, 0x10
mov byte [esp + 0x29], cl
mov ecx, dword [esp + 0x48]
add dword [esp + 0x14], 1
mov edx, eax
shrd edx, ecx, 8
shl dl, 6
or dl, byte [esp + 0x18]
shr ecx, 8
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x2a], dl
mov edx, dword [esp + 0x24]
mov dword [ebx], edx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x14]
add ebx, 0x10
jmp 0x437e20
mov ebx, dword [esp + 0x54]
mov eax, ebx
and eax, dword [esp + 0x58]
cmp eax, 0xffffffff
je 0x438099
cmp dword [esp + 0x98], 0
jbe 0x438099
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
lea esi, [esp + 0x54]
call fcn.00437a30
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov al, byte [esp + 0x28]
mov edi, esi
sub edi, ebx
sbb edx, dword [esp + 0x68]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x54]
add edi, 1
adc edx, 0
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x58]
mov ecx, eax
shrd ecx, edx, 8
shl cl, 6
or cl, byte [esp + 0x24]
mov byte [esp + 0x37], al
mov byte [esp + 0x36], cl
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax + 4]
shr edx, 8
mov edx, dword [esp + 0x78]
push edx
push esi
lea esi, [esp + 0x64]
mov byte [esp + 0x44], 0
mov byte [esp + 0x48], 0xf
call fcn.00437a30
mov cl, byte [esp + 0x38]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x49], cl
mov ecx, dword [esp + 0x68]
mov edx, eax
shrd edx, ecx, 8
shl dl, 6
or dl, byte [esp + 0x34]
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x6c]
shr ecx, 8
add esp, 0x20
mov byte [esp + 0x2a], dl
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shl eax, 4
lea eax, [esp + eax + 0xa4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
lea eax, [esp + 0x9c]
lea esi, [esp + 0x88]
call fcn.0043a160
push 0x48
lea edx, [esp + 0xa0]
push 0
push edx
call sub.ntdll.dll_memset
add esp, 0xc
xor esi, esi
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x18], esi
je 0x43848e
mov eax, dword [esp + 0x3c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x43848e
mov edi, dword [ecx + esi*4]
mov eax, dword [edi]
mov edx, dword [eax + 0x58]
mov ecx, edi
call edx
test eax, eax
jne 0x4383e2
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
xor ebx, ebx
call edx
sub eax, esi
sbb edx, ebx
mov dword [esp + 0x9c], eax
mov eax, dword [edi]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x78]
mov ebx, eax
mov eax, esi
sub eax, 1
sbb ecx, 0
add ebx, eax
adc edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, dword [edx + 4]
push esi
lea esi, [esp + 0x5c]
call fcn.00437a30
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
add esp, 0x10
mov ecx, edi
mov byte [esp + 0x24], 0
call edx
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
mov ecx, edi
call edx
mov edx, dword [esp + 0x50]
mov byte [esp + 0x28], al
mov al, byte [esp + 0x1c]
mov byte [esp + 0x25], al
mov eax, dword [esp + 0x4c]
mov ecx, eax
shrd ecx, edx, 8
shl cl, 6
or cl, byte [esp + 0x14]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], cl
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 4]
shr edx, 8
mov edx, dword [esp + 0x88]
push edx
push ebx
call fcn.00437a30
mov cl, byte [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x39], cl
mov ecx, dword [esp + 0x60]
mov edx, eax
shrd edx, ecx, 8
shl dl, 6
or dl, byte [esp + 0x24]
mov byte [esp + 0x3b], al
mov byte [esp + 0x3a], dl
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x40]
shr ecx, 8
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xac], ecx
jne 0x43824d
xor ecx, ecx
jmp 0x438254
mov ecx, edx
sub ecx, eax
sar ecx, 2
mov edi, dword [esp + 0x18]
lea esi, [edi + 1]
cmp esi, ecx
jae 0x4383b7
xor ebx, ebx
cmp eax, ebx
je 0x438272
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x43827c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
mov esi, dword [eax + edi*4 + 4]
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
test eax, eax
jne 0x4383ea
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
mov ecx, esi
call edx
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov edi, eax
sub edi, dword [esp + 0x44]
mov ebx, edx
mov eax, 0
sbb ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov ecx, edi
sub ecx, 1
mov esi, ebx
sbb esi, 0
add eax, ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
adc edx, esi
mov dword [esp + 0x70], edx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x20]
push eax
push ebx
push edi
lea esi, [esp + 0x5c]
call fcn.00437a30
mov dl, byte [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov byte [esp + 0x6d], dl
mov edx, ecx
shrd edx, esi, 8
shl dl, 6
or dl, byte [esp + 0x24]
mov byte [esp + 0x6f], cl
mov eax, edi
sub eax, dword [esp + 0x64]
mov byte [esp + 0x6e], dl
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
mov ebx, eax
push ecx
mov ecx, dword [edx + 4]
sub ebx, edi
shr esi, 8
push eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x7c], 0
add ebx, 1
mov byte [esp + 0x80], 0xf
call fcn.00437a30
mov al, byte [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov byte [esp + 0x81], al
mov eax, dword [esp + 0x6c]
mov ecx, eax
shrd ecx, edx, 8
shl cl, 6
add esp, 0x20
shr edx, 8
or cl, byte [esp + 0x14]
mov byte [esp + 0x63], al
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x62], cl
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
lea eax, [esp + 0x9c]
lea esi, [esp + 0x88]
call fcn.0043a160
push 0x48
lea eax, [esp + 0xa0]
push 0
push eax
call sub.ntdll.dll_memset
mov esi, dword [esp + 0x24]
add esp, 0xc
add esi, 1
jmp 0x4380c2
test byte [0x503544], 1
jne 0x43841b
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x497
add esi, 8
call fcn.00435510
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Sort_error.
push 0x503520
call ecx
mov byte [esp + 0x304], 0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, ebx
je 0x43845c
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x2f8], 0xffffffff
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp eax, ebx
je 0x438487
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
jmp 0x4386ec
xor edi, edi
xor ebx, ebx
mov esi, dword [esp + 0x8c]
test esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
je 0x4386a1
mov ecx, dword [esp + 0x90]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4386a1
push 0x1ff
xor edi, edi
lea edx, [esp + 0xe9]
push edi
push edx
add ebx, esi
mov byte [esp + 0xf0], 0
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 0xc
push edi
push 1
push eax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0xf4]
push eax
call edx
test eax, eax
je 0x43856f
mov eax, dword [esp + 0x20]
lea esi, [ebx + 8]
mov ecx, 0x10
lea edi, [esp + 0x2a2]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov byte [esp + 0x2e2], 0x55
mov byte [esp + 0x2e3], 0xaa
mov eax, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
xor edi, edi
push edi
push 1
push eax
mov eax, dword [ebx]
push eax
lea eax, [esp + 0xf4]
push eax
call edx
test eax, eax
je 0x438606
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
add edi, 1
add ebx, 0x48
jmp 0x438492
test byte [0x503544], 1
jne 0x4385a0
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x4bd
add esi, 8
call fcn.00435510
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Read_sector_for_UpdatePartTable2_failed.
push 0x503520
call eax
mov byte [esp + 0x304], 0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, edi
je 0x4385e1
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [esp + 0x2f8], 0xffffffff
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
cmp eax, edi
jmp 0x43847c
test byte [0x503544], 1
jne 0x438637
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x4c7
add esi, 8
call fcn.00435510
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_Write_sector_for_UpdatePartTable2_failed.
push 0x503520
call ecx
mov byte [esp + 0x304], 0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp eax, edi
je 0x4385e1
push eax
call sub.MFC80U.DLL_Ordinal_764
mov dword [esp + 0x2fc], 0xffffffff
mov eax, dword [esp + 0x90]
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
cmp eax, edi
jmp 0x43847c
mov byte [esp + 0x2f8], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4386c1
push eax
call sub.MFC80U.DLL_Ordinal_764
mov esi, dword [esp + 0x90]
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2f8], 0xffffffff
je 0x4386e7
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret