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

Disassembly:
sub esp, 0x550
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x54c], eax
push ebx
mov ebx, dword [esp + 0x558]
push ebp
push esi
push edi
cmp byte [ebx + 0x10], 0
mov ebp, ecx
jne 0x104c7c2d
cmp byte [ebx + 0x11], 0
je 0x104c7c38
call fcn.104cfa40
mov dword [ebp + 0x164], eax
cmp dword [ebp + 0x164], 0
jne 0x104c7c4e
cmp dword [ebp + 0x168], 0
jne 0x104c7c4e
xor al, al
jmp 0x104c7c50
mov al, 1
mov byte [0x10ac2fcc], al
mov eax, 0xffff
push 0x800
mov word [ebp + 0x1c8118], ax
lea eax, [ebp + 0x1a59d8]
push 0
push eax
call fcn.1050a0a0
push 0x14
lea eax, [ebp + 0xa574]
push 0
push eax
call fcn.1050a0a0
add esp, 0x18
lea ecx, [esp + 0xbc]
push 0x10a43298
call fcn.105085f0
lea eax, [esp + 0xbc]
push eax
call fcn.105097b0
add esp, 4
mov dword [ebp + 0x15c], eax
test eax, eax
je 0x104c885a
push closesocket
push str.CreateEventExA
call fcn.1050b4f0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x15c]
mov dword [esp + 0x40], str.CreateEventExA
mov byte [esp + 0x48], 1
call fcn.105097c0
add esp, 0x10
mov dword [0x10b0328c], eax
test eax, eax
je 0x104c885a
lea ecx, [ebp + 0x144]
call fcn.104c6100
push str.d3d12.dll
lea ecx, [esp + 0xc0]
call fcn.105085f0
lea eax, [esp + 0xbc]
push eax
call fcn.105097b0
add esp, 4
mov dword [ebp + 0x160], eax
test eax, eax
je 0x104c884c
push closesocket
push str.D3D12EnableExperimentalFeatures
call fcn.1050b4f0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x160]
mov dword [esp + 0x40], str.D3D12EnableExperimentalFeatures
mov byte [esp + 0x48], 1
call fcn.105097c0
push closesocket
push str.D3D12CreateDevice
mov dword [0x10af327c], eax
call fcn.1050b4f0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0x160]
mov dword [esp + 0x50], str.D3D12CreateDevice
mov byte [esp + 0x58], 1
call fcn.105097c0
push closesocket
push str.D3D12GetDebugInterface
mov dword [0x10b03280], eax
call fcn.1050b4f0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0x160]
mov dword [esp + 0x60], str.D3D12GetDebugInterface
mov byte [esp + 0x68], 1
call fcn.105097c0
push closesocket
push str.D3D12SerializeRootSignature
mov dword [0x10b03284], eax
call fcn.1050b4f0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
push dword [ebp + 0x160]
mov dword [esp + 0x70], str.D3D12SerializeRootSignature
mov byte [esp + 0x78], 1
call fcn.105097c0
add esp, 0x40
mov dword [0x10b03288], eax
cmp dword [0x10b03280], 0
je 0x104c883e
cmp dword [0x10b03284], 0
je 0x104c883e
test eax, eax
je 0x104c883e
push 0x10ac2e80
lea ecx, [ebp + 4]
call fcn.104c5c60
test al, al
je 0x104c883e
mov ecx, dword [0x10ac31d8]
test ecx, ecx
je 0x104c7e59
mov dword [ebp + 0x2dc], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x104c7f4c
cmp byte [ebx + 0x10], 0
jne 0x104c7e69
cmp byte [ebx + 0x11], 0
je 0x104c7efc
lea eax, [esp + 0x10]
push eax
push 0x10a2fe58
call dword [0x10b03284]
test eax, eax
js 0x104c7efc
cmp byte [ebx + 0x10], 0
je 0x104c7ee6
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x10a2fe68
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x104c7ed0
push 0x55f0
push 0xa00
push 1
call fcn.104eecc0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
je 0x104c7eca
push 1
push eax
call dword [ecx + 0x10]
jmp 0x104c7ed0
push 0
push eax
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x104c7ee6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x104c7efc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x10], 0
movaps xmm0, xmmword [0x10a45430]
mov eax, 0x80004005
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x5c], 0xb000
xor edi, edi
test eax, eax
jns 0x104c7f4c
mov esi, dword [esp + edi*4 + 0x4c]
lea eax, [ebp + 0x2dc]
push eax
push 0x10a2fe88
push esi
push dword [ebp + 0x138]
call dword [0x10b03280]
inc edi
mov dword [ebp + 0x16c], esi
cmp edi, 5
jb 0x104c7f17
test eax, eax
js 0x104c883e
push dword [ebp + 0x2dc]
lea ecx, [ebp + 4]
call fcn.104ebed0
mov dword [ebp + 0x7d3c], 0
xor esi, esi
mov edi, 0x10a766a0
nop dword [eax + eax]
mov ecx, dword [ebp + 0x2dc]
lea edx, [esp + 0x10]
push edx
push edi
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x104c7f90
inc esi
add edi, 0x10
cmp esi, 8
jb 0x104c7f70
jmp 0x104c7fa7
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 8
sub eax, esi
mov dword [ebp + 0x7d3c], eax
cmp dword [ebp + 0x110], 0x10de
je 0x104c7fbe
lea ecx, [ebp + 0x144]
call fcn.104dd930
mov eax, dword [ebp + 0x2dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edi, eax
xor esi, esi
test edi, edi
je 0x104c800a
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x64]
push 0x10
push edx
mov dword [esp + 0x6c], esi
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
test esi, esi
jne 0x104c8005
push 0x10
lea eax, [esp + 0x68]
push eax
lea eax, [ebp + 0x174]
push eax
call fcn.1050a090
add esp, 0xc
inc esi
cmp esi, edi
jb 0x104c7fd2
mov ecx, dword [ebp + 0x2dc]
lea eax, [ebp + 0x184]
push 0x3c
push eax
push 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x4c]
push 0x18
push edx
push 8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x28]
push 8
push edx
push 0x12
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x4c]
push 0x14
push edx
push 0x15
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x3c]
push 0xc
push edx
push 0x17
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x3c]
push 0xc
push edx
push 0x1b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x4c]
push 0x14
push edx
push 0x1e
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x28]
push 8
push edx
push 0x20
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x10]
push 4
push edx
push 0x24
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x4c]
push 0x18
push edx
push 0x25
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push 8
push edx
push 0x27
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x10]
push 4
push edx
push 0x28
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x3c]
push 0xc
push edx
push 0x29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x4c]
push 0x18
push edx
push 0x29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x3c]
push 0xc
push edx
push 0x29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 0x2dc]
lea edx, [esp + 0x28]
push 8
push edx
push 0x29
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
push dword [ebp + 0x2dc]
call fcn.104cd5d0
add esp, 4
lea ecx, [ebp + 0x7e80]
push dword [ebp + 0x2dc]
call fcn.104c5420
mov eax, dword [ebp + 0x2dc]
push dword [ebp + 0x7e80]
push 0x10a2fe38
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [0x10ac31dc], 0
jne 0x104c8410
push 0x40
lea edi, [ebp + 0xa58c]
push 0
push edi
call fcn.1050a0a0
mov eax, dword [ebx + 0x30]
add esp, 0xc
mov dword [edi], eax
mov ecx, ebp
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0xa590], eax
mov eax, dword [ebx + 0x2c]
lea eax, [eax + eax*4]
mov eax, dword [eax*4 + 0x10a2f410]
push eax
mov dword [ebp + 0xa594], eax
mov byte [ebp + 0xa598], 0
call fcn.104eda00
mov ecx, dword [ebx + 0x38]
shr ecx, 4
and ecx, 7
mov byte [esp + 0x16], 4
mov byte [esp + 0x17], 2
mov eax, dword [ecx*8 + 0x10a76678]
mov ecx, dword [ecx*8 + 0x10a7667c]
mov dword [ebp + 0xa59c], eax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x1b]
mov dword [ebp + 0xa5a0], ecx
push eax
lea eax, [ebx + 0x3c]
mov dword [ebp + 0xa5a4], 0x20
push eax
call fcn.10495420
movzx esi, al
add esp, 0xc
xor eax, eax
mov dword [ebp + 0xa5a8], esi
cmp dword [0x10ac31d0], eax
mov edx, 3
mov dword [ebp + 0xa5b0], 3
sete al
mov dword [ebp + 0xa5b4], 3
mov dword [ebp + 0xa5ac], eax
mov dword [ebp + 0xa5b8], 2
cmp byte [ebx + 0x3d], dl
movzx eax, byte [ebx + 0x3d]
cmovb edx, eax
mov byte [ebp + 0xa5bc], dl
mov ecx, dword [0x10ac31d4]
mov dword [ebp + 0xa5c0], ecx
mov eax, dword [0x10ac31d0]
mov dword [ebp + 0xa5c4], eax
lea eax, [esi - 1]
mov byte [ebp + 0xa5c8], 1
mov dword [ebp + 0x1c811c], eax
mov dword [ebp + 0x1c4], 0
test ecx, ecx
je 0x104c8410
lea eax, [ebp + 0x1c0]
push eax
push edi
push dword [ebp + 0x7e80]
lea ecx, [ebp + 4]
call fcn.104b19d0
test eax, eax
js 0x104c87fe
movups xmm0, xmmword [ebx + 0x2c]
lea ecx, [ebp + 0x1a8108]
movups xmmword [ebp + 0xa574], xmm0
mov eax, dword [ebx + 0x3c]
mov dword [ebp + 0xa584], eax
mov eax, dword [ebx + 0x38]
and eax, 0x7fffffff
mov dword [ebp + 0xa580], eax
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push 0
call fcn.104d7430
mov eax, dword [ebp + 0x1a810c]
add eax, eax
push eax
push 0
push dword [ebp + 0x1a8108]
call fcn.1050a0a0
add esp, 0xc
cmp dword [ebp + 0xa59c], 1
jbe 0x104c8410
test dword [ebp + 0xa580], 0x8000
mov esi, 1
mov eax, dword [edi]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xa590]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0xa574]
mov dword [esp + 0x74], 3
mov dword [esp + 0x7c], 0x400000
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
lea edx, [eax + eax*4]
mov word [esp + 0x92], si
je 0x104c8395
mov edx, dword [edx*4 + 0x10a2f41c]
jmp 0x104c839c
mov edx, dword [edx*4 + 0x10a2f410]
mov eax, dword [ebp + 0xa59c]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xa5a0]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x4c]
push 1
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x9c], edx
push eax
push 1
push dword [ebp + 0x2dc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], esi
mov word [esp + 0xa4], si
mov dword [esp + 0x60], edx
movups xmmword [esp + 0x64], xmm0
call fcn.104af0d0
push str.MSAA_Backbuffer
push eax
mov dword [ebp + 0x1c4], eax
call fcn.100a5020
add esp, 0x1c
mov dword [ebp + 0x1d0], 0
lea esi, [ebp + 0x1c8]
mov dword [ebp + 0x1d4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebp + 0xa578], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0xa57c], eax
mov eax, dword [ebp + 0x134]
push 3
mov dword [ebp + 0x1d8], 0xffff0001
mov dword [esi], 0
push dword [0x10ac31d4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp byte [ebx + 0x10], 0
je 0x104c84ea
mov ecx, dword [ebp + 0x2dc]
push esi
push 0x10a2ff38
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x104c84ea
mov eax, dword [esi]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [esi]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [esi]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 0x30
lea eax, [esp + 0x78]
push 0
push eax
call fcn.1050a0a0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 5
mov dword [esp + 0x9c], eax
lea edx, [esp + 0x80]
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x1c], 9
mov dword [esp + 0x8c], 2
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov ecx, dword [ebp + 0x2dc]
lea eax, [ebp + 0x7d40]
push eax
push 0x10a2fe78
mov dword [esp + 0xb8], 0x404
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], 2
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 1
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x38]
mov ecx, dword [ebp + 0x2dc]
lea eax, [ebp + 0x7d44]
push eax
push 0x10a2fe78
mov dword [esp + 0x70], 0x81
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 3
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 1
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x38]
lea esi, [ebp + 0x7d90]
mov edi, 4
nop
push 0x111ff
push 0x3fffc00
mov ecx, esi
call fcn.104a9c50
add esi, 0x30
sub edi, 1
jne 0x104c8580
push 0x10
push 0x800
push 1
lea ecx, [ebp + 0x7e50]
call fcn.104a8630
lea eax, [esp + 0x4bc]
mov dword [esp + 0x4bc], 3
mov dword [esp + 0x514], eax
lea eax, [esp + 0x4d0]
mov dword [esp + 0x528], eax
lea eax, [esp + 0x4f8]
mov dword [esp + 0x550], eax
lea eax, [esp + 0x50c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x4c4], 0x10
push eax
push 1
lea eax, [esp + 0x58]
mov dword [esp + 0x4d0], edi
push eax
mov dword [esp + 0x4d8], edi
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0x4e0], edi
mov dword [esp + 0x4e4], 0x10
mov dword [esp + 0x4e8], edi
mov dword [esp + 0x4ec], edi
mov dword [esp + 0x4f0], 0xffffffff
mov dword [esp + 0x4f4], 2
mov dword [esp + 0x4f8], 1
mov dword [esp + 0x4fc], edi
mov dword [esp + 0x500], edi
mov dword [esp + 0x504], 0xffffffff
mov dword [esp + 0x508], 1
mov dword [esp + 0x50c], 0x10
mov dword [esp + 0x510], edi
mov dword [esp + 0x514], edi
mov dword [esp + 0x518], 0xffffffff
mov dword [esp + 0x51c], edi
mov dword [esp + 0x520], 1
mov dword [esp + 0x528], edi
mov dword [esp + 0x52c], edi
mov dword [esp + 0x530], edi
mov dword [esp + 0x534], 1
mov dword [esp + 0x53c], edi
mov dword [esp + 0x540], edi
mov dword [esp + 0x544], 2
mov dword [esp + 0x550], edi
mov dword [esp + 0x554], edi
mov dword [esp + 0x558], edi
mov dword [esp + 0x55c], 1
mov dword [esp + 0x564], edi
mov dword [esp + 0x568], edi
mov dword [esp + 0x54c], edi
mov dword [esp + 0x548], edi
mov dword [esp + 0x5c], 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 1
call dword [0x10b03288]
mov ebx, dword [ebp + 0x2dc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x40]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [ebp + 0x7e70]
push ecx
push 0x10a2ff68
push esi
push eax
push 0
push ebx
call edi
cmp dword [ebp + 0x1a0], 0
mov eax, 0x7f773c77
mov byte [ebp + 0x1c8121], 0
jne 0x104c879e
mov eax, 0x7f773c37
or eax, 0x8000
mov dword [0x10ac2eb0], 0x4000
or dword [0x10ac2e88], eax
xor ebx, ebx
mov dword [0x10ac2eb4], 0x800
xor edi, edi
mov dword [0x10ac2ec0], 8
mov dword [0x10ac2ed4], 0x10
mov dword [0x10ac2edc], 4
nop
push ebx
xor esi, esi
call fcn.104fddc0
add esp, 4
test al, al
je 0x104c889a
mov eax, dword [edi + 0x10a2f418]
jmp 0x104c88a0
mov eax, dword [ebp + 0x2dc]
push 0
push 0x10a2fe38
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp + 0x7e80]
call fcn.104dd2d0
mov ecx, dword [ebp + 0x2dc]
test ecx, ecx
je 0x104c8836
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp + 0x2dc], 0
lea ecx, [ebp + 4]
call fcn.104dd8b0
push dword [ebp + 0x160]
call fcn.105097a0
add esp, 4
push dword [ebp + 0x15c]
call fcn.105097a0
add esp, 4
lea ecx, [ebp + 0x144]
call fcn.104dd930
push dword [ebp + 0x168]
call fcn.105097a0
add esp, 4
mov dword [ebp + 0x168], 0
xor al, al
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x550
ret 4
mov eax, dword [edi + 0x10a2f410]
mov ecx, dword [edi + 0x10a2f41c]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x104c897d
mov ecx, dword [ebp + 0x2dc]
lea edx, [esp + 0x30]
push 0xc
push edx
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
push 3
push ecx
call dword [eax + 0x34]
test eax, eax
js 0x104c897d
mov ecx, dword [esp + 0x34]
mov edx, ecx
and edx, 0x14000
mov eax, ecx
neg edx
sbb edx, edx
and eax, 7
and edx, 0x1000
neg eax
sbb eax, eax
and eax, 0x200
or dx, ax
mov eax, ecx
shr eax, 1
and eax, 0x40
or dx, ax
mov eax, ecx
shr eax, 3
and eax, 8
or dx, ax
mov eax, ecx
shr eax, 5
and eax, 1
or dx, ax
mov eax, ecx
shr eax, 8
and ecx, 0x100
and eax, 0x6000
shl ecx, 2
or dx, ax
or dx, cx
movzx ecx, dx
xor edx, edx
mov eax, ecx
mov esi, ecx
and eax, 0x400
cmp dx, ax
je 0x104c897d
mov ecx, dword [ebp + 0x2dc]
lea edx, [esp + 0x30]
mov eax, dword [edi + 0x10a2f410]
and esi, 0xfbff
push 0xc
push edx
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
push 3
push ecx
call dword [eax + 0x34]
test eax, eax
js 0x104c897d
mov eax, dword [esp + 0x38]
and eax, 0xc0
shl eax, 4
or esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x104c89c2
mov ecx, dword [ebp + 0x2dc]
lea edx, [esp + 0x3c]
push 0xc
push edx
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
push 3
push ecx
call dword [eax + 0x34]
test eax, eax
js 0x104c89c2
mov ecx, dword [esp + 0x40]
mov edx, ecx
shr edx, 2
mov eax, ecx
shr eax, 4
and edx, 0x10
and eax, 2
and ecx, 0x80
or edx, eax
or edx, ecx
or esi, edx
mov word [ebx*2 + 0x10ac2f08], si
add edi, 0x14
inc ebx
cmp edi, 0x780
jb 0x104c87e0
xor esi, esi
mov edi, 0x10af3280
push esi
push str._3d
push 7
push edi
call fcn.1050b090
inc esi
add esp, 0x10
add edi, 0x100
cmp esi, 0x100
jb 0x104c89e1
mov ecx, ebp
call fcn.104d1bf0
push 0x1000
lea ecx, [ebp + 0x96b0]
call fcn.104a7dd0
mov eax, dword [ebp + 0x110]
cmp eax, 0x10de
je 0x104c8a30
cmp eax, 0x1414
je 0x104c8a30
mov cl, 1
jmp 0x104c8a32
xor cl, cl
or eax, 0xffffffff
mov edx, 0x40
test cl, cl
lea ecx, [ebp + 0x2e0]
cmovne eax, edx
mov dword [ebp + 0xa564], eax
call fcn.104cccc0
lea ecx, [ebp + 0x7b20]
call fcn.104c62a0
push 0x10
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 2
push 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
call fcn.1050a0a0
add esp, 0xc
lea edi, [ebp + 0x7e74]
xor esi, esi
nop dword [eax]
mov eax, dword [esp + esi*4 + 0x30]
lea edx, [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push edi
mov dword [esp + 0x48], eax
mov dword [edi], 0
mov eax, dword [ebp + 0x2dc]
push str.yj
push 0
mov dword [esp + 0x48], 0x20
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xa4]
inc esi
add edi, 4
cmp esi, 3
jb 0x104c8a90
cmp dword [ebp + 0x148], 0
je 0x104c8b16
mov ecx, ebp
call fcn.104b9220
lea ecx, [ebp + 0x7e80]
call fcn.104a1b80
push eax
push dword [ebp + 0x2dc]
lea ecx, [ebp + 0x144]
mov dword [ebp + 0xa570], eax
call fcn.104cd550
mov eax, dword [ebp + 0x2dc]
mov dword [0x10ac2e70], eax
mov al, 1
jmp 0x104c887f