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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
mov ebx, 0x491390
mov esi, 0x4877a8
or byte [esi], 1
xor eax, eax
mov dword [0x491458], eax
xor eax, eax
mov dword [0x491450], eax
mov dword [0x491454], eax
xor eax, eax
mov dword [0x49145c], eax
mov dword [0x491460], eax
mov dword [0x491464], eax
xor eax, eax
mov dword [0x491468], eax
mov dword [0x49146c], eax
mov dword [0x491470], eax
mov edi, 0x491474
xor eax, eax
mov ecx, 0xc
rep stosd dword es:[edi], eax
mov edi, ebx
xor eax, eax
mov ecx, 0x30
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x16c]
xor edx, edx
xor eax, eax
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, 0x49145c
mov edx, dword [ebx + 4]
mov dword [eax], edx
add eax, 4
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
add eax, 4
mov edx, dword [ebx + 8]
mov dword [eax], edx
mov eax, 0x49145c
mov edx, str.GenuineIntelAuthenticAMDHygonGenuineCentaurHauls__Shanghai__Virtual_CPU
mov ecx, 0xc
call fcn.004074f0
jne 0x431ed6
mov byte [ebp - 0xd], 1
jmp 0x431f66
mov eax, 0x49145c
mov edx, 0x487894
mov ecx, 0xc
call fcn.004074f0
jne 0x431ef2
mov byte [ebp - 0xd], 2
jmp 0x431f66
mov eax, 0x49145c
mov edx, 0x4878a0
mov ecx, 0xc
call fcn.004074f0
jne 0x431f0e
mov byte [ebp - 0xd], 3
jmp 0x431f66
mov eax, 0x49145c
mov edx, 0x4878ac
mov ecx, 0xc
call fcn.004074f0
jne 0x431f2a
mov byte [ebp - 0xd], 4
jmp 0x431f66
mov eax, 0x49145c
mov edx, 0x4878b8
mov ecx, 0xc
call fcn.004074f0
jne 0x431f46
mov byte [ebp - 0xd], 5
jmp 0x431f66
mov eax, 0x49145c
mov edx, 0x4878c4
mov ecx, 0xc
call fcn.004074f0
jne 0x431f62
mov byte [ebp - 0xd], 6
jmp 0x431f66
mov byte [ebp - 0xd], 0
mov edi, dword [ebx]
cmp edi, 1
jb 0x431f90
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 1
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 2
jb 0x431fb8
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 2
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 7
jb 0x432002
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 7
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea ecx, [ebp - 0x16c]
mov edx, 1
mov eax, 7
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x18]
test eax, 0x80000000
je 0x432047
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x40000000
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, 0x491468
mov edx, dword [ebx + 0x54]
mov dword [eax], edx
add eax, 4
mov edx, dword [ebx + 0x58]
mov dword [eax], edx
add eax, 4
mov edx, dword [ebx + 0x5c]
mov dword [eax], edx
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000000
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov edi, dword [ebx + 0x60]
cmp edi, 0x80000001
jb 0x432096
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000001
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 0x80000002
jb 0x4320c4
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000002
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 0x80000003
jb 0x4320f2
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000003
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 0x80000004
jb 0x432120
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000004
call fcn.00431500
push esi
push edi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp edi, 0x80000021
jb 0x43214c
lea ecx, [ebp - 0x16c]
xor edx, edx
mov eax, 0x80000021
call fcn.00431500
push esi
lea esi, [ebp - 0x16c]
lea edi, [ebx + 0xb0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x18]
test eax, 0x4000000
setne al
mov edx, dword [ebx + 0x18]
test edx, 0x8000000
setne dl
and dl, al
mov byte [ebp - 1], dl
mov eax, dword [ebx + 0x10]
mov edx, eax
mov dword [ebp - 0x14], 4
mov ecx, dword [ebp - 0x14]
mov edi, 1
shl edi, cl
mov ecx, edi
dec ecx
shr edx, 8
and ecx, edx
mov edx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x1c]
mov edi, 1
shl edi, cl
mov ecx, edi
dec ecx
mov edi, dword [ebp - 0x18]
shr edi, 0x14
and ecx, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 4
mov ecx, dword [ebp - 0x24]
mov edi, 1
shl edi, cl
mov ecx, edi
dec ecx
mov edi, dword [ebp - 0x20]
shr edi, 4
and ecx, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 4
mov ecx, dword [ebp - 0x2c]
mov edi, 1
shl edi, cl
mov ecx, edi
dec ecx
mov edi, dword [ebp - 0x28]
shr edi, 0x10
and ecx, edi
add edx, dword [ebp - 8]
mov dword [0x4877b4], edx
shl ecx, 4
add ecx, dword [ebp - 0xc]
mov dword [0x4877b8], ecx
mov dword [ebp - 0x30], 4
mov ecx, dword [ebp - 0x30]
mov edx, 1
shl edx, cl
dec edx
mov dword [ebp - 0x34], edx
shr eax, 0
and eax, dword [ebp - 0x34]
mov dword [0x4877bc], eax
mov edx, 0x491474
lea eax, [ebx + 0x80]
mov ecx, 0x10
call fcn.00405160
mov edx, 0x491484
lea eax, [ebx + 0x90]
mov ecx, 0x10
call fcn.00405160
mov edx, 0x491494
lea eax, [ebx + 0xa0]
mov ecx, 0x10
call fcn.00405160
mov edi, dword [ebx + 0x1c]
mov dword [ebp - 0x38], edi
test byte [ebp - 0x38], 1
je 0x43226e
or byte [esi], 2
mov dword [ebp - 0x3c], edi
test byte [ebp - 0x3c], 0x10
je 0x43227a
or byte [esi], 4
mov dword [ebp - 0x40], edi
test byte [ebp - 0x3f], 1
je 0x432286
or byte [esi], 8
mov dword [ebp - 0x44], edi
test byte [ebp - 0x42], 8
je 0x432292
or byte [esi], 0x10
mov dword [ebp - 0x48], edi
test byte [ebp - 0x46], 0x80
je 0x43229e
or byte [esi], 0x20
mov dword [ebp - 0x4c], edi
test byte [ebp - 0x49], 8
je 0x4322ab
or byte [esi + 7], 0x40
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x50], eax
test byte [ebp - 0x50], 2
je 0x4322bb
or byte [esi + 6], 0x20
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x54], eax
test byte [ebp - 0x54], 0x40
je 0x4322cb
or byte [esi + 6], 0x40
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x58], eax
test byte [ebp - 0x57], 0x20
je 0x4322db
or byte [esi + 7], 1
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x5c], eax
test byte [ebp - 0x5a], 4
je 0x4322eb
or byte [esi + 7], 0x20
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x60], eax
test byte [ebp - 0x5e], 0x40
je 0x4322fb
or byte [esi + 7], 8
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x64], eax
test byte [ebp - 0x62], 0x80
je 0x43230b
or byte [esi + 7], 4
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x68], eax
test byte [ebp - 0x65], 2
je 0x43231a
or byte [esi], 0x40
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
test byte [ebp - 0x69], 0x20
je 0x43232a
or byte [esi + 1], 1
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x70], eax
test byte [ebp - 0x6d], 0x40
je 0x43233a
or byte [esi + 7], 0x10
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x74], eax
test byte [ebp - 0x74], 4
je 0x43234a
or byte [esi + 6], 0x80
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x78], eax
test byte [ebp - 0x78], 8
je 0x43235a
or byte [esi + 1], 0x20
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x7c], eax
test byte [ebp - 0x7c], 0x10
je 0x43236a
or byte [esi + 1], 0x40
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x80], eax
test byte [ebp - 0x7f], 1
je 0x43237a
or byte [esi + 1], 0x80
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x84], eax
test byte [ebp - 0x83], 2
je 0x43238f
or byte [esi], 0x80
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x88], eax
test byte [ebp - 0x87], 8
je 0x4323a5
or byte [esi + 2], 1
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x8c], eax
test byte [ebp - 0x8a], 4
je 0x4323bb
or byte [esi + 2], 2
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x90], eax
test byte [ebp - 0x8e], 0x80
je 0x4323d1
or byte [esi + 2], 4
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x94], eax
test byte [ebp - 0x91], 1
je 0x4323e7
or byte [esi + 2], 8
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x98], eax
test byte [ebp - 0x95], 0x20
je 0x4323fd
or byte [esi + 7], 2
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x9c], eax
test byte [ebp - 0x9b], 1
je 0x432413
or byte [esi + 8], 2
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xa0], eax
test byte [ebp - 0x9f], 2
je 0x432429
or byte [esi + 1], 8
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xa4], eax
test byte [ebp - 0xa3], 4
je 0x43243f
or byte [esi + 1], 0x10
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xa8], eax
test byte [ebp - 0xa5], 8
je 0x432455
or byte [esi + 8], 4
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0xac], eax
test byte [ebp - 0xa9], 0x10
je 0x43246b
or byte [esi + 8], 8
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xb0], eax
test byte [ebp - 0xb0], 0x10
je 0x432481
or byte [esi + 8], 0x10
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xb4], eax
test byte [ebp - 0xb3], 4
je 0x432497
or byte [esi + 8], 0x20
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xb8], eax
test byte [ebp - 0xb7], 8
je 0x4324ad
or byte [esi + 8], 0x40
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xbc], eax
test byte [ebp - 0xbb], 0x10
je 0x4324c3
or byte [esi + 8], 0x80
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xc0], eax
test byte [ebp - 0xbe], 8
je 0x4324d9
or byte [esi + 7], 0x80
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0xc4], eax
test byte [ebp - 0xc4], 0x20
je 0x4324ef
or byte [esi + 8], 1
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xc8], eax
test byte [ebp - 0xc5], 4
je 0x432505
or byte [esi + 9], 1
cmp byte [ebp - 1], 0
je 0x432895
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
lea edx, [ebp - 0xd0]
xor eax, eax
call fcn.00436b20
mov eax, dword [ebp - 0xd0]
mov dword [0x491450], eax
mov eax, dword [ebp - 0xcc]
mov dword [0x491454], eax
mov eax, dword [0x491450]
and eax, 2
cmp eax, 2
sete al
mov byte [0x491458], al
mov eax, dword [0x491450]
and eax, 6
cmp eax, 6
sete al
mov byte [0x491459], al
mov eax, dword [0x491450]
and eax, 0xe6
cmp eax, 0xe6
sete al
mov byte [0x49145a], al
mov eax, dword [0x491450]
and eax, 0x600e6
cmp eax, 0x600e6
sete al
mov byte [0x49145b], al
cmp byte [0x491458], 0
je 0x432627
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd4], eax
test byte [ebp - 0xd1], 2
je 0x4325b9
or byte [esi + 2], 0x10
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xd8], eax
test byte [ebp - 0xd5], 4
je 0x4325cf
or byte [esi + 2], 0x20
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xdc], eax
test byte [ebp - 0xdc], 1
je 0x4325e5
or byte [esi + 2], 0x40
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xe0], eax
test byte [ebp - 0xdf], 2
je 0x4325fb
or byte [esi + 2], 0x80
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xe4], eax
test byte [ebp - 0xe2], 8
je 0x432611
or byte [esi + 3], 1
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xe8], eax
test byte [ebp - 0xe6], 0x10
je 0x432627
or byte [esi + 3], 2
cmp byte [0x491459], 0
je 0x432688
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xec], eax
test byte [ebp - 0xeb], 0x10
je 0x432646
or byte [esi + 1], 4
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xf0], eax
test byte [ebp - 0xed], 0x10
je 0x43265c
or byte [esi + 3], 8
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xf4], eax
test byte [ebp - 0xf4], 0x10
je 0x432672
or byte [esi + 3], 0x10
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xf8], eax
test byte [ebp - 0xf8], 0x20
je 0x432688
or byte [esi + 3], 0x20
cmp byte [0x49145a], 0
je 0x43282e
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xfc], eax
test byte [ebp - 0xfa], 1
je 0x4326ab
or byte [esi + 3], 0x40
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x100], eax
test byte [ebp - 0xfd], 0x10
je 0x4326c1
or byte [esi + 3], 0x80
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x104], eax
test byte [ebp - 0x101], 8
je 0x4326d7
or byte [esi + 4], 1
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x108], eax
test byte [ebp - 0x105], 4
je 0x4326ed
or byte [esi + 4], 2
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x10c], eax
test byte [ebp - 0x109], 0x40
je 0x432703
or byte [esi + 4], 4
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x110], eax
test byte [ebp - 0x10e], 2
je 0x432719
or byte [esi + 4], 8
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x114], eax
test byte [ebp - 0x111], 0x80
je 0x43272f
or byte [esi + 4], 0x10
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x118], eax
test byte [ebp - 0x116], 0x20
je 0x432745
or byte [esi + 4], 0x20
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x11c], eax
test byte [ebp - 0x11c], 2
je 0x43275b
or byte [esi + 4], 0x40
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x120], eax
test byte [ebp - 0x120], 0x40
je 0x432771
or byte [esi + 4], 0x80
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x124], eax
test byte [ebp - 0x123], 8
je 0x432787
or byte [esi + 5], 1
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x128], eax
test byte [ebp - 0x127], 0x10
je 0x43279d
or byte [esi + 5], 2
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x12c], eax
test byte [ebp - 0x12b], 0x40
je 0x4327b3
or byte [esi + 5], 4
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x130], eax
test byte [ebp - 0x130], 4
je 0x4327c9
or byte [esi + 5], 8
call fcn.00431d50
test al, al
je 0x4327d6
or byte [esi + 5], 0x10
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x134], eax
test byte [ebp - 0x134], 8
je 0x4327ec
or byte [esi + 5], 0x20
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x138], eax
test byte [ebp - 0x138], 0x20
je 0x432802
or byte [esi + 5], 0x40
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x13c], eax
test byte [ebp - 0x13b], 1
je 0x432818
or byte [esi + 5], 0x80
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x140], eax
test byte [ebp - 0x13e], 0x80
je 0x43282e
or byte [esi + 6], 1
cmp byte [0x49145b], 0
je 0x4328fc
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x144], eax
test byte [ebp - 0x142], 0x40
je 0x432851
or byte [esi + 6], 2
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x148], eax
test byte [ebp - 0x145], 1
je 0x432867
or byte [esi + 6], 4
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x14c], eax
test byte [ebp - 0x149], 2
je 0x43287d
or byte [esi + 6], 8
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x150], eax
test byte [ebp - 0x14e], 0x20
je 0x4328fc
or byte [esi + 6], 0x10
jmp 0x4328fc
push 6
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328a4
or byte [esi + 2], 0x10
push 0xa
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328b3
or byte [esi + 2], 0x20
push 0xd
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328c2
or byte [esi + 2], 0x40
push 0x24
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328d1
or byte [esi + 2], 0x80
push 0x25
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328e0
or byte [esi + 3], 1
push 0x26
call sub.kernel32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x4328ef
or byte [esi + 3], 2
test byte [esi + 2], 0x10
je 0x4328fc
mov byte [0x491458], 1
movzx eax, byte [ebp - 0xd]
add al, 0xfe
sub al, 2
jae 0x43295d
cmp byte [0x491458], 0
je 0x432925
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x154], eax
test byte [ebp - 0x154], 0x40
je 0x432925
or byte [esi + 3], 4
cmp byte [0x491459], 0
je 0x432944
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x158], eax
test byte [ebp - 0x156], 1
je 0x432944
or byte [esi + 1], 2
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x15c], eax
test byte [ebp - 0x15c], 0x80
je 0x43295d
or byte [esi + 9], 2
movzx edx, word [0x4877b4]
and dx, 0xff
shl edx, 8
movzx eax, word [0x4877b8]
and ax, 0xff
or dx, ax
movzx eax, byte [ebp - 0xd]
mov ecx, dword [0x4877bc]
call fcn.00431530
mov byte [0x4877c0], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret