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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x4ae008]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [0x4b39d0]
push ebx
mov eax, dword [eax + 0xc]
shr eax, 5
and eax, 1
mov ebx, ecx
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, ebx
shr eax, 4
mov edi, ebx
not eax
push 0
push dword [0x4b39a4]
shr edi, 6
and eax, 1
and edi, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x78], 0
call dword [sym.imp.MMFS2.dll_Ordinal_34]
mov dword [esp + 0x88], eax
test eax, eax
je 0x438465
mov esi, dword [0x4b39b4]
shr esi, 4
and esi, 1
mov ecx, 1
mov dword [esp + 0x6c], esi
mov dword [esp + 0xa0], ecx
test ebx, 0x108
je 0x437ccf
call fcn.00429e10
mov eax, dword [esp + 0x88]
mov ecx, eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
call dword [sym.imp.MMFS2.dll_Ordinal_585]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xac], eax
call dword [sym.imp.MMFS2.dll_Ordinal_520]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x80], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x7c], ecx
dec ecx
dec eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x84], eax
test ebx, 0x10c
je 0x437d8b
mov eax, dword [0x4b39d0]
xor esi, esi
cmp dword [eax + 0x2c], esi
jle 0x437d87
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [0x4b39d0]
mov edi, dword [eax + 0x30]
test dword [edi + ebx + 0x2c], 0x40000
je 0x437d5e
mov edx, 1
mov ecx, esi
call fcn.0042c8c0
test dword [edi + ebx + 0x2c], 0x20000
je 0x437d71
xor edx, edx
mov ecx, esi
call fcn.0042c8c0
mov eax, dword [0x4b39d0]
inc esi
add ebx, 0x60
cmp esi, dword [eax + 0x2c]
jl 0x437d40
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x6c]
test edi, edi
jne 0x437dae
test bl, bl
jns 0x437dae
mov eax, dword [0x4b39d0]
mov eax, dword [eax + 0x30]
test dword [eax + 0x2c], 0x10000
mov eax, 1
cmove edi, eax
mov dword [esp + 0x38], edi
mov eax, dword [0x4b39d0]
xor ebx, ebx
test esi, esi
sete bl
mov dword [esp + 0x28], ebx
cmp ebx, dword [eax + 0x2c]
jge 0x437e51
lea esi, [ebx + ebx*2]
shl esi, 5
mov dword [esp + 0x50], esi
mov ecx, dword [0x4b39d0]
mov eax, dword [ecx + 0x30]
test dword [eax + esi + 0x2c], 0x20000
je 0x437e37
mov edx, dword [eax + esi + 0x38]
mov eax, dword [eax + esi + 0x3c]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x44], edx
lea eax, [eax + eax*8]
test edx, edx
jle 0x437e37
lea ebx, [ecx + 0x14]
lea ebx, [ebx + eax*4]
mov esi, ebx
mov edi, 4
mov eax, dword [esi]
test eax, eax
je 0x437e20
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_79]
mov dword [esi], 0
add esi, 4
dec edi
jne 0x437e07
add ebx, 0x24
dec dword [esp + 0x44]
jne 0x437e00
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x50]
mov eax, dword [0x4b39d0]
inc ebx
add esi, 0x60
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], esi
cmp ebx, dword [eax + 0x2c]
jl 0x437dd1
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
test bl, 4
je 0x437e97
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_76]
test bl, bl
jns 0x437e70
push 1
push 0
push dword [0x4b39a4]
call esi
mov ecx, dword [0x4b39d0]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x1c]
call fcn.0042c530
push 1
push 0
push dword [0x4b39a4]
or ebx, 0x200
mov dword [esp + 0x28], ebx
call esi
test edi, edi
jne 0x437f32
mov eax, dword [0x4b39d0]
mov eax, dword [eax + 0xc]
test al, 2
je 0x437ebb
test bl, 8
je 0x437f32
call fcn.00442280
jmp 0x437f32
cmp dword [esp + 0x6c], 0
jne 0x437f32
test al, 4
jne 0x437f32
mov ecx, dword [0x4b39d0]
mov eax, dword [ecx + 0x30]
mov ebx, dword [eax + 0x2c]
test bl, 0x20
jne 0x437ee7
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x7c]
add eax, edx
js 0x437f2e
cmp edx, dword [ecx + 0x3c]
jge 0x437f2e
test bl, 0x40
jne 0x437f05
mov ecx, dword [0x4b39d0]
mov eax, dword [esp + 0x80]
mov edx, dword [ecx + 0x20]
add eax, edx
js 0x437f2e
cmp edx, dword [ecx + 0x40]
jge 0x437f2e
mov eax, dword [0x4b39d0]
mov eax, dword [eax + 8]
or eax, 0x2000000
push eax
push dword [esp + 0x88]
push dword [esp + 0x7c]
push 0
push 0
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_43]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
test edx, edx
je 0x437f93
test edi, edi
jne 0x437f93
cmp dword [esp + 0x64], edi
je 0x437f52
push edi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_114]
push 0
test bl, 0x20
jne 0x437f67
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_104]
jmp 0x437f87
push 0x7fff
push 0x7fff
push 0xffff8001
push 0xffff8001
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_105]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x5c], 1
mov ecx, dword [0x4b39d0]
test edi, edi
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x58], eax
mov edi, 0
mov eax, 1
cmovne edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], edi
cmp edi, dword [ecx + 0x2c]
jge 0x438360
mov eax, dword [0x4b39d0]
lea ecx, [edi + edi*2]
mov ebx, dword [eax + 0x30]
shl ecx, 5
add ebx, ecx
mov dword [esp + 0x80], ecx
mov eax, dword [ebx + 0xc]
add dword [ebx + 4], eax
mov eax, dword [ebx + 0x10]
add dword [ebx + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x9c], ebx
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
test eax, 0x40000
je 0x43800a
or eax, 0x10
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x2c]
test al, 0x10
jne 0x438029
test edi, edi
jne 0x438349
test edx, edx
je 0x438349
mov dword [esp + 0x70], 1
test byte [esp + 0x1c], 0x80
je 0x43803b
test eax, 0x10000
je 0x438349
and eax, 0xfffeffff
mov ecx, eax
shr ecx, 6
and ecx, 1
mov edx, eax
shr edx, 5
and edx, 1
mov dword [esp + 0x8c], ecx
or ecx, edx
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [0x4b39d0]
mov dword [esp + 0x94], edx
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
test al, 3
je 0x4380a2
test al, 1
je 0x43808e
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x30]
cvttss2si edx, xmm0
test al, 2
je 0x4380a2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x34]
cvttss2si ecx, xmm0
add edx, dword [ebx + 4]
add ecx, dword [ebx + 8]
cmp dword [esp + 0x94], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], ecx
je 0x4380c5
mov eax, edx
cdq
idiv dword [esp + 0x58]
mov dword [esp + 0x60], edx
cmp dword [esp + 0x8c], 0
je 0x4380d8
mov eax, ecx
cdq
idiv esi
mov dword [esp + 0x38], edx
test edi, edi
js 0x438111
mov ecx, dword [0x4b39d0]
cmp edi, dword [ecx + 0x2c]
jge 0x438111
mov esi, dword [ecx + 0x30]
add esi, dword [esp + 0x80]
push dword [esi + 0x24]
call fcn.0046d5c7
add esp, 4
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
lea ecx, [eax + eax*8]
mov eax, dword [0x4b39d0]
mov dword [esp + 0x7c], esi
mov eax, dword [eax + 0x50]
lea edx, [eax + ecx*4]
mov eax, dword [ebx + 0x2c]
mov ecx, eax
mov dword [esp + 0x10], edx
and ecx, 0x20000
je 0x438150
mov esi, dword [esp + 0x70]
test edi, edi
cmove esi, dword [esp + 0xa0]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x7c]
test ecx, ecx
je 0x43815c
test edi, edi
jne 0x43830e
mov ecx, eax
shr ecx, 2
not ecx
and ecx, 1
mov dword [esp + 0x98], ecx
test eax, 0x40000
je 0x43817c
and eax, 0xfffbffff
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], eax
test esi, esi
jle 0x43830e
jmp 0x4381a0
movzx ecx, word [edx + 0x12]
mov dword [esp + 0x44], eax
add eax, 5
mov dword [esp + 0x54], ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x40], eax
cmp ecx, 2
jge 0x4381d9
mov edi, dword [edx + 4]
sub edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xa4], edi
mov esi, dword [edx + 8]
sub esi, dword [esp + 0x38]
jmp 0x4384a1
movzx ecx, word [edx + 2]
mov eax, dword [0x4b39cc]
cmp ecx, dword [eax + 0x194]
jl 0x4381fd
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
jmp 0x438293
mov edx, dword [0x4b39cc]
mov eax, dword [edx + 0x198]
movzx ecx, word [eax + ecx*2]
mov eax, dword [edx + 0x19c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x439072
mov eax, dword [eax + 0x14]
test eax, eax
je 0x439072
test byte [eax + 0x10], 2
mov dword [esp + 0x30], eax
je 0x438281
mov eax, dword [0x4b39d4]
xor edx, edx
mov esi, dword [eax + 0x3c]
mov ecx, dword [eax + 0x1278]
test esi, esi
jle 0x438279
mov edi, dword [esp + 0x10]
movzx edi, word [edi]
cmp dword [ecx], 0
jne 0x43825f
add ecx, 8
cmp dword [ecx], 0
je 0x438257
mov ebx, dword [ecx]
mov dword [esp + 0x3c], ebx
movsx eax, word [ebx + 0x10]
cmp edi, eax
je 0x43847a
inc edx
add ecx, 8
cmp edx, esi
jl 0x438252
mov dword [esp + 0x3c], 0
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
cmp word [edx + 0x10], 0
ja 0x4382a1
cmp dword [esp + 0x6c], 0
je 0x4382da
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx]
test eax, eax
je 0x4382da
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_79]
test dword [esp + 0x1c], 0x200
je 0x4382d0
push dword [ebx]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_80]
mov dword [ebx], 0
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x48]
je 0x4382e9
dec ebx
sub edx, 0x24
mov eax, dword [esp + 0x20]
inc ebx
add edx, 0x24
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], edx
cmp ebx, dword [esp + 0x7c]
jl 0x4381a0
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x4c]
cmp dword [ebx + 0x18], 0
je 0x438333
push dword [esp + 0x5c]
mov edx, edi
push dword [esp + 0x88]
mov ecx, ebx
push dword [esp + 0x7c]
push dword [esp + 0x28]
call fcn.004374a0
add esp, 0x10
mov eax, dword [ebx + 0x2c]
mov esi, dword [esp + 0x2c]
test eax, 0x20000
je 0x438349
and eax, 0xfffdffef
mov dword [ebx + 0x2c], eax
mov eax, dword [0x4b39d0]
mov edx, dword [esp + 0x78]
inc edi
mov dword [esp + 0x4c], edi
cmp edi, dword [eax + 0x2c]
jl 0x437fc2
cmp dword [esp + 0x64], 0
je 0x4383bd
mov ecx, dword [0x4b39d0]
mov edx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x1c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ecx + 0x20]
test al, 3
je 0x4383a5
test al, 1
je 0x438391
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edx + 0x30]
cvttss2si esi, xmm0
test al, 2
je 0x4383a5
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edx + 0x34]
cvttss2si ecx, xmm0
mov eax, dword [edx + 8]
add eax, ecx
push eax
mov eax, dword [edx + 4]
add eax, esi
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_114]
mov ebx, dword [esp + 0x1c]
test ebx, 0x108
je 0x4383ce
call fcn.00429ef0
test bl, 2
mov ebx, dword [sym.imp.MMFS2.dll_Ordinal_62]
jne 0x4383e1
push dword [0x4b39a4]
call ebx
test byte [esp + 0x1c], 4
je 0x438465
mov eax, dword [0x4b39d4]
mov edi, dword [eax + 0x4e4]
mov dword [eax + 0x4e4], 0
mov eax, dword [0x4b39d4]
mov dword [eax + 0x4e8], 0
test edi, edi
je 0x43842e
mov eax, dword [edi + 4]
push edi
call eax
mov esi, dword [edi]
add esp, 4
push edi
call fcn.0046d5c7
add esp, 4
mov edi, esi
test esi, esi
jne 0x438414
mov eax, dword [0x4b39d4]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_61]
call fcn.004011c0
mov eax, dword [0x4b39d4]
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_60]
call fcn.00401210
call fcn.00429ef0
mov eax, dword [0x4b39d4]
push dword [eax]
call ebx
call fcn.0042cbe0
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046d526
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x4c]
sub edi, dword [ebx + 0x58]
mov ecx, dword [0x4b39d0]
mov edx, dword [esp + 0x10]
sub edi, dword [ecx + 0x1c]
mov dword [esp + 0xa4], edi
mov esi, dword [ebx + 0x54]
sub esi, dword [ebx + 0x5c]
sub esi, dword [ecx + 0x20]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x64], 0
mov dword [esp + 0xa8], esi
jne 0x4384e7
cmp dword [esp + 0x90], 0
jne 0x4384e7
mov eax, dword [esp + 0x74]
add eax, 0x60
cmp edi, eax
jge 0x4384d2
mov eax, dword [esp + 0x84]
add eax, 0x10
cmp esi, eax
jl 0x4384e7
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
jmp 0x438293
cmp ecx, 2
jge 0x438581
movzx ecx, word [edx + 2]
mov eax, dword [0x4b39cc]
cmp ecx, dword [eax + 0x194]
jl 0x438514
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
jmp 0x438293
mov edx, dword [0x4b39cc]
mov eax, dword [edx + 0x198]
movzx ecx, word [eax + ecx*2]
mov eax, dword [edx + 0x19c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x438568
mov eax, dword [eax + 0x14]
test eax, eax
je 0x438568
mov ecx, eax
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 8]
add edx, edi
mov dword [esp + 0xac], edx
mov ebx, dword [ecx + 0xc]
add ebx, esi
mov dword [esp + 0xb0], ebx
movzx eax, word [ecx + 4]
mov dword [esp + 0x34], eax
movzx eax, word [ecx + 6]
jmp 0x4385b3
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
jmp 0x438293
mov edx, dword [ebx + 0x60]
mov eax, dword [esp + 0x30]
add edx, edi
mov dword [esp + 0xac], edx
mov ebx, dword [ebx + 0x64]
add ebx, esi
mov dword [esp + 0xb0], ebx
movzx eax, word [eax + 0x2a]
mov ecx, eax
shr ecx, 4
and ecx, 3
shr eax, 2
mov dword [esp + 0x34], ecx
and eax, 1
cmp dword [esp + 0x90], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], edx
je case.default.0x4385d6
mov ecx, dword [esp + 0x20]
cmp ecx, 3
ja case.default.0x4385d6
jmp dword [ecx*4 + 0x43908c]
cmp dword [esp + 0x94], 0
je 0x43862f
test edi, edi
js 0x4385f1
cmp edx, dword [esp + 0x58]
jle 0x43862f
cmp dword [esp + 0x8c], 0
je 0x43861a
test esi, esi
js 0x438605
cmp ebx, dword [esp + 0x2c]
jle 0x43861a
mov ecx, dword [esp + 0x14]
or ecx, 7
mov dword [esp + 0x20], 3
mov dword [esp + 0x14], ecx
jmp 0x43865c
mov ecx, dword [esp + 0x14]
or ecx, 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], ecx
jmp 0x43865c
cmp dword [esp + 0x8c], 0
je 0x438658
test esi, esi
js 0x438643
cmp ebx, dword [esp + 0x2c]
jle 0x438658
mov ecx, dword [esp + 0x14]
or ecx, 2
mov dword [esp + 0x20], 2
mov dword [esp + 0x14], ecx
jmp 0x43865c
mov ecx, dword [esp + 0x14]
test cl, 1
mov ecx, dword [esp + 0x10]
jne 0x4386c1
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4386c1
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_79]
test dword [esp + 0x1c], 0x200
je 0x438696
mov edi, dword [esp + 0x10]
push dword [edi + 0x18]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_80]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
test al, 2
jne 0x438729
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438725
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_79]
test dword [esp + 0x1c], 0x200
je 0x4386fa
mov edi, dword [esp + 0x10]
push dword [edi + 0x1c]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_80]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
test al, 4
jne case.default.0x4385d6
mov eax, dword [ecx + 0x20]
test eax, eax
je case.default.0x4385d6
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_79]
test dword [esp + 0x1c], 0x200
mov edi, dword [esp + 0x10]
je 0x438766
push dword [edi + 0x20]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_80]
mov dword [edi + 0x20], 0
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
jmp case.default.0x4385d6
test edi, edi
jns 0x4387a0
add edi, dword [esp + 0x58]
add edx, dword [esp + 0x58]
jmp 0x4387ac
mov eax, dword [esp + 0x58]
cmp edx, eax
jle 0x4387be
sub edi, eax
sub edx, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xa4], edi
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffe
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
test cl, 2
je case.default.0x4385d6
jmp 0x43887e
test esi, esi
jns 0x4387eb
add esi, dword [esp + 0x2c]
add ebx, dword [esp + 0x2c]
jmp 0x4387f7
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jle 0x438805
sub esi, eax
sub ebx, eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffd
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
test cl, 1
je case.default.0x4385d6
mov dword [esp + 0x20], 1
jmp case.default.0x4385d6
test edi, edi
jns 0x438833
add edi, dword [esp + 0x58]
add edx, dword [esp + 0x58]
jmp 0x43883f
mov eax, dword [esp + 0x58]
cmp edx, eax
jle 0x438851
sub edi, eax
sub edx, eax
mov dword [esp + 0xac], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xa4], edi
test esi, esi
jns 0x43885f
add esi, dword [esp + 0x2c]
add ebx, dword [esp + 0x2c]
jmp 0x43886b
mov ecx, dword [esp + 0x2c]
cmp ebx, ecx
jle 0x438879
sub esi, ecx
sub ebx, ecx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], esi
and dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x20], 2
mov eax, dword [esp + 0x34]
cmp eax, 3
jne 0x438955
cmp dword [esp + 0x4c], 0
jl 0x43894a
mov ecx, dword [0x4b39d0]
mov eax, dword [esp + 0x4c]
cmp eax, dword [ecx + 0x2c]
mov eax, dword [esp + 0x34]
jge 0x43894a
mov ecx, dword [ecx + 0x30]
add ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx + 0x1c]
cmp dword [ecx + 0x20], eax
jl 0x4388ec
add eax, 0x10
shl eax, 4
push eax
push dword [ecx + 0x24]
call fcn.0046f074
add esp, 8
test eax, eax
je 0x438926
mov ecx, dword [esp + 0x28]
add dword [ecx + 0x1c], 0x10
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, eax
inc eax
mov dword [edx + 0x20], eax
shl ecx, 4
add ecx, dword [edx + 0x24]
mov edx, dword [esp + 0x18]
cmp edi, edx
mov eax, edx
cmovl eax, edi
cmp esi, ebx
mov dword [ecx], eax
mov eax, ebx
cmovl eax, esi
cmp edi, edx
cmovg edx, edi
cmp esi, ebx
cmovg ebx, esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x18], edx
mov ecx, 1
mov dword [esp + 0x68], ecx
jmp 0x438959
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x4c], 0
jne 0x438c9e
cmp dword [esp + 0x78], 0
je 0x438c9e
cmp eax, 4
je 0x438c9e
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x438992
cmp edx, 0xffffffa0
jl 0x438c9e
cmp ebx, 0xfffffff0
jl 0x438c9e
mov dword [esp + 0x28], 0
test eax, eax
je 0x4389ce
add edx, dword [esp + 0x60]
add edi, dword [esp + 0x60]
add esi, dword [esp + 0x38]
add ebx, dword [esp + 0x38]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
xor eax, eax
cmp dword [esp + 0x34], 1
mov dword [esp + 0x50], eax
jne 0x4389ee
mov eax, 3
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
jmp 0x4389f8
cmp dword [esp + 0x5c], eax
jne 0x438b25
test ecx, ecx
je 0x438a34
push eax
lea eax, [ebx - 1]
push eax
lea eax, [edx - 1]
push eax
push esi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_105]
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
jmp 0x438b29
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x1c], 2
jne 0x438a73
mov eax, dword [0x4b39d0]
test dword [eax + 0xc], 0x400
jne 0x438a52
test byte [ecx + 4], 1
je 0x438a73
call fcn.00435660
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x54]
cmp ecx, 2
jge 0x438a95
mov eax, dword [esp + 0x30]
push 0
movzx eax, word [eax + 0x10]
push eax
push dword [0x4b399c]
call dword [sym.imp.MMFS2.dll_Ordinal_171]
jmp 0x438ab9
mov eax, dword [0x4b39d4]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x11e0]
test eax, eax
je 0x438add
push 0
push dword [esp + 0x40]
call eax
mov dword [esp + 0x28], eax
test eax, eax
jne 0x438ae6
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
push dword [esp + 0x50]
jmp 0x4389fd
push dword [esp + 0x50]
push 3
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_789]
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
jmp 0x438b29
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x34], 2
jne 0x438c69
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], 0
test eax, eax
je 0x438b69
lea eax, [esi + 6]
cmp eax, ebx
cmovl ebx, eax
push 2
lea eax, [ebx - 1]
push eax
lea eax, [edx - 1]
push eax
push esi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_105]
jmp 0x438c4d
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x1c], 2
jne 0x438ba8
mov eax, dword [0x4b39d0]
test dword [eax + 0xc], 0x400
jne 0x438b87
test byte [ecx + 4], 1
je 0x438ba8
call fcn.00435660
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x438c3e
mov eax, dword [esp + 0x54]
cmp eax, 2
jge 0x438bd6
mov eax, dword [esp + 0x30]
push 0
movzx eax, word [eax + 0x10]
push eax
push dword [0x4b399c]
call dword [sym.imp.MMFS2.dll_Ordinal_171]
jmp 0x438bfc
mov ecx, eax
mov eax, dword [0x4b39d4]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
mov eax, dword [ecx + eax - 0x11e0]
test eax, eax
je 0x438c1c
push 0
push dword [esp + 0x40]
call eax
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
test eax, eax
jne 0x438c3e
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
lea eax, [esi + 6]
cmp eax, ebx
cmovl ebx, eax
push 2
lea eax, [ebx - 1]
push eax
lea eax, [edx - 1]
push eax
push esi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_105]
jmp 0x438c4d
push esi
push edi
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_790]
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
cmp dword [esp + 0x64], 0
je 0x438ca2
sub edi, dword [esp + 0x60]
sub esi, dword [esp + 0x38]
sub edx, dword [esp + 0x60]
sub ebx, dword [esp + 0x38]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
jmp 0x438ca2
mov edx, dword [esp + 0x18]
cmp edi, dword [esp + 0x74]
jg 0x43828f
cmp esi, dword [esp + 0x84]
jg 0x43828f
test edx, edx
js 0x43828f
test ebx, ebx
js 0x43828f
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x1c], 2
jne 0x438d08
mov eax, dword [0x4b39d0]
test dword [eax + 0xc], 0x400
jne 0x438ce7
test byte [ecx + 4], 1
je 0x438d08
call fcn.00435660
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
cmp dword [esp + 0x4c], 0
jg 0x438d21
cmp dword [esp + 0x6c], 0
je 0x438d52
cmp dword [esp + 0x70], 0
jne 0x4382d6
cmp dword [esp + 0x98], 0
mov ecx, 0x480208
mov eax, 0x480008
cmove eax, ecx
mov ecx, dword [esp + 0x34]
dec ecx
je 0x438eaf
dec ecx
jne 0x438eb4
or eax, 0x20001
jmp 0x438eb4
cmp dword [esp + 0x70], 0
jne 0x4382d6
mov eax, dword [esp + 0x54]
sub eax, 0
je 0x438e28
dec eax
je 0x438dce
mov edx, dword [esp + 0x3c]
movsx ecx, word [edx + 0x18]
cmp ecx, 0x20
jge 0x438d91
mov eax, dword [ecx*4 + 0x4b0b64]
test eax, eax
je 0x4382d6
push edx
call eax
jmp 0x4382d6
mov eax, dword [0x4b39d4]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
cmp dword [ecx + eax - 0x1230], 0
je 0x438db7
push edx
call fcn.00457150
jmp 0x4382d6
mov eax, dword [ecx + eax - 0x1234]
test eax, eax
je 0x4382d6
push edx
call eax
jmp 0x4382d6
mov ebx, dword [esp + 0x24]
cmp word [ebx + 8], 0xd
mov edx, dword [ebx + 0xc]
jne 0x438e06
cmp dword [ebx + 0x28], 0
jne 0x438e03
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x438df0
call fcn.00434ea0
jmp 0x438df2
xor eax, eax
mov dword [ebx + 0x28], eax
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov edx, dword [ebx + 0x28]
mov eax, dword [esp + 0x30]
push edx
push dword [ebx + 8]
movzx eax, word [eax + 0x10]
push 0
push esi
push edi
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_168]
jmp 0x4382d6
mov ebx, dword [esp + 0x24]
cmp word [ebx + 8], 0xd
mov edx, dword [ebx + 0xc]
jne 0x438e60
cmp dword [ebx + 0x28], 0
jne 0x438e5d
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x438e4a
call fcn.00434ea0
jmp 0x438e4c
xor eax, eax
mov dword [ebx + 0x28], eax
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 8]
mov eax, ecx
shr eax, 0x1d
and eax, 1
push eax
push edx
movzx eax, cx
push eax
mov eax, dword [esp + 0x3c]
shr ecx, 0x1c
and ecx, 1
push ecx
push dword [eax + 0xc]
mov ecx, dword [esp + 0x9c]
push dword [eax + 8]
lea edx, [eax + 0x10]
push esi
push edi
call fcn.00436450
add esp, 0x20
lea eax, [esp + 0xa4]
push eax
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_50]
jmp 0x4382d6
or eax, 0x10001
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x438fb4
mov ecx, dword [esp + 0x54]
sub ecx, 0
je 0x438faa
dec ecx
je 0x438f1f
cmp dword [esp + 0x3c], 0
je 0x4382d6
push 0x4373f0
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
or eax, 0x100
push eax
mov eax, dword [esp + 0x50]
push 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x20]
push eax
movzx eax, word [ecx + 0x10]
push eax
push ebx
push edx
push esi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_81]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
jmp 0x4382d6
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
neg ecx
push edx
sbb ecx, ecx
and ecx, 0x100
or ecx, eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push 0
lea eax, [eax + ecx*4]
push eax
movzx eax, word [edx + 0x10]
push eax
mov eax, dword [esp + 0x44]
movzx eax, word [eax + 0x10]
push eax
push esi
push edi
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_74]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov dword [ecx], eax
cmp word [ebx + 8], 0xd
mov edx, dword [ebx + 0xc]
jne 0x438f93
cmp dword [ebx + 0x28], 0
jne 0x438f90
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x438f87
call fcn.00434ea0
jmp 0x438f89
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x28], eax
mov edx, dword [ebx + 0x28]
push edx
push dword [ebx + 8]
push dword [ecx]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_83]
jmp 0x4382d6
push 0x437130
jmp 0x438ee2
mov eax, dword [esp + 0x54]
sub eax, 0
je 0x438ffe
dec eax
je 0x438fe1
cmp dword [esp + 0x3c], 0
je 0x4382d6
push ebx
push edx
push esi
push edi
push ecx
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_82]
jmp 0x4382d6
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x10]
push eax
push esi
push edi
push ecx
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_75]
jmp 0x4382d6
lea eax, [esp + 0xb4]
push eax
push ecx
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_979]
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
cmp esi, dword [esp + 0xb4]
jne 0x439057
cmp edx, dword [esp + 0xb8]
jne 0x439057
cmp ecx, dword [esp + 0xbc]
jne 0x439057
cmp eax, dword [esp + 0xc0]
je 0x4382d6
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push esi
push dword [eax]
push dword [0x4b39a4]
call dword [sym.imp.MMFS2.dll_Ordinal_82]
jmp 0x4382d6
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
jmp 0x438293