Function at 0x1001ae10
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1003ffa0]
xor eax, esp
mov dword [esp + 0x128], eax
cmp dword [0x10041580], 0
jne 0x1001c956
push esi
push 0
push 2
mov dword [0x10041580], 1
call fcn.10015d90
mov esi, eax
cmp esi, 0xffffffff
je 0x1001c955
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x128
call fcn.10015dc0
test eax, eax
jne 0x1001ae84
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.1001db6d
add esp, 0x12c
ret
push ebx
push ebp
push edi
mov ebx, 8
mov edi, 0x80000
mov ebp, 0x10000000
lea ecx, [esp + 0x34]
push ecx
call fcn.1001add0
lea edx, [esp + 0x38]
push 0x1003e5ac
push edx
call fcn.10020295
add esp, 0xc
test eax, eax
jne 0x1001aebd
or dword [0x10041578], 2
lea eax, [esp + 0x34]
push 0x1003f420
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001aeda
or dword [0x10041578], 2
lea ecx, [esp + 0x34]
push 0x1003ec28
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001aef7
or dword [0x10041578], 2
lea edx, [esp + 0x34]
push 0x1003e8ac
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001af14
or dword [0x10041578], 2
lea eax, [esp + 0x34]
push 0x1003e510
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001af31
or dword [0x10041578], 2
lea ecx, [esp + 0x34]
push 0x1003f74c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001af4e
or dword [0x10041578], 2
lea edx, [esp + 0x34]
push 0x1003f02c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001af6b
or dword [0x10041578], 2
lea eax, [esp + 0x34]
push 0x1003e334
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001af8b
or dword [0x10041578], 0x200
lea ecx, [esp + 0x34]
push 0x1003e888
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001afab
or dword [0x10041578], 0x200
lea edx, [esp + 0x34]
push 0x1003f624
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001afcb
or dword [0x10041578], 0x200
lea eax, [esp + 0x34]
push 0x1003f26c
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001afeb
or dword [0x10041578], 0x200
lea ecx, [esp + 0x34]
push 0x1003e8bc
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b008
or dword [0x10041578], 0x10
lea edx, [esp + 0x34]
push 0x1003e638
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b025
or dword [0x10041578], 0x10
lea eax, [esp + 0x34]
push 0x1003f258
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b042
or dword [0x10041578], 0x10
lea ecx, [esp + 0x34]
push 0x1003f10c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b05f
or dword [0x10041578], 0x10
lea edx, [esp + 0x34]
push 0x1003ed14
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b07c
or dword [0x10041578], 0x10
lea eax, [esp + 0x34]
push 0x1003efc0
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b09c
or dword [0x10041578], 0x100000
lea ecx, [esp + 0x34]
push 0x1003e8d0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b0bc
or dword [0x10041578], 0x100000
lea edx, [esp + 0x34]
push 0x1003e4bc
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b0dc
or dword [0x10041578], 0x100000
lea eax, [esp + 0x34]
push 0x1003ebb4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b0fc
or dword [0x10041578], 0x100000
lea ecx, [esp + 0x34]
push 0x1003f0e0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b11c
or dword [0x10041578], 0x100000
lea edx, [esp + 0x34]
push 0x1003ed3c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b139
or dword [0x10041578], 0x20
lea eax, [esp + 0x34]
push 0x1003f2e4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b156
or dword [0x10041578], 0x20
lea ecx, [esp + 0x34]
push 0x1003e3d8
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b173
or dword [0x10041578], 0x20
lea edx, [esp + 0x34]
push 0x1003ef64
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b193
or dword [0x10041578], 0x2000000
lea eax, [esp + 0x34]
push 0x1003ee00
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b1b3
or dword [0x10041578], 0x2000000
lea ecx, [esp + 0x34]
push 0x1003ece0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b1d0
or dword [0x10041578], 0x40
lea edx, [esp + 0x34]
push 0x1003e83c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b1ed
or dword [0x10041578], 0x40
lea eax, [esp + 0x34]
push 0x1003eca4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b20a
or dword [0x10041578], 0x40
lea ecx, [esp + 0x34]
push 0x1003f5f0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b227
or dword [0x10041578], 0x40
lea edx, [esp + 0x34]
push 0x1003ef98
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b244
or dword [0x10041578], 0x40
lea eax, [esp + 0x34]
push 0x1003f330
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b261
or dword [0x10041578], 0x40
lea ecx, [esp + 0x34]
push 0x1003e76c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b27e
or dword [0x10041578], 0x40
lea edx, [esp + 0x34]
push 0x1003e64c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b29b
or dword [0x10041578], 0x40
lea eax, [esp + 0x34]
push 0x1003ec90
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b2b8
or dword [0x10041578], 0x40
lea ecx, [esp + 0x34]
push 0x1003ef98
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b2d5
or dword [0x10041578], 0x40
lea edx, [esp + 0x34]
push 0x1003f610
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b2f5
or dword [0x10041578], 0x80
lea eax, [esp + 0x34]
push 0x1003e850
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b315
or dword [0x10041578], 0x100
lea ecx, [esp + 0x34]
push 0x1003f4a0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b335
or dword [0x10041578], 0x100
lea edx, [esp + 0x34]
push 0x1003e7a4
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b355
or dword [0x10041578], 0x100
lea eax, [esp + 0x34]
push 0x1003e5fc
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b375
or dword [0x10041578], 0x100
lea ecx, [esp + 0x34]
push 0x1003ec5c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b395
or dword [0x10041578], 0x100
lea edx, [esp + 0x34]
push 0x1003eb48
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b3b5
or dword [0x10041578], 0x100
lea eax, [esp + 0x34]
push 0x1003ee40
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b3d5
or dword [0x10041578], 0x100
lea ecx, [esp + 0x34]
push 0x1003eda0
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b3f1
or dword [0x10041578], ebx
lea edx, [esp + 0x34]
push 0x1003e790
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b40d
or dword [0x10041578], ebx
lea eax, [esp + 0x34]
push 0x1003f488
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b429
or dword [0x10041578], ebx
lea ecx, [esp + 0x34]
push 0x1003e1c4
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b445
or dword [0x10041578], ebx
lea edx, [esp + 0x34]
push 0x1003eef4
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b461
or dword [0x10041578], ebx
lea eax, [esp + 0x34]
push 0x1003e2d4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b47d
or dword [0x10041578], ebx
lea ecx, [esp + 0x34]
push 0x1003f0f4
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b499
or dword [0x10041578], ebx
lea edx, [esp + 0x34]
push 0x1003f500
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b4b5
or dword [0x10041578], ebx
lea eax, [esp + 0x34]
push 0x1003f710
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b4d1
or dword [0x10041578], ebx
lea ecx, [esp + 0x34]
push 0x1003f148
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b4ed
or dword [0x10041578], ebx
lea edx, [esp + 0x34]
push 0x1003f710
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b509
or dword [0x10041578], ebx
lea eax, [esp + 0x34]
push 0x1003ed54
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b525
or dword [0x10041578], ebx
lea ecx, [esp + 0x34]
push 0x1003ea68
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b541
or dword [0x10041578], ebx
lea edx, [esp + 0x34]
push 0x1003ef88
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b55d
or dword [0x10041578], ebx
lea eax, [esp + 0x34]
push 0x1003e160
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b57d
or dword [0x10041578], 0x2000
lea ecx, [esp + 0x34]
push 0x1003ea00
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b59d
or dword [0x10041578], 0x2000
lea edx, [esp + 0x34]
push 0x1003f018
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b5bd
or dword [0x10041578], 0x400
lea eax, [esp + 0x34]
push 0x1003f684
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b5dd
or dword [0x10041578], 0x400
lea ecx, [esp + 0x34]
push 0x1003e590
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b5fd
or dword [0x10041578], 0x400
lea edx, [esp + 0x34]
push 0x1003f53c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b61d
or dword [0x10041578], 0x400
lea eax, [esp + 0x34]
push 0x1003e534
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b63d
or dword [0x10041578], 0x400
lea ecx, [esp + 0x34]
push 0x1003e930
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b65d
or dword [0x10041578], 0x400
lea edx, [esp + 0x34]
push 0x1003ebdc
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b67d
or dword [0x10041578], 0x400
lea eax, [esp + 0x34]
push 0x1003e494
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b69d
or dword [0x10041578], 0x400
lea ecx, [esp + 0x34]
push 0x1003e448
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b6bd
or dword [0x10041578], 0x400
lea edx, [esp + 0x34]
push 0x1003f050
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b6dd
or dword [0x10041578], 0x400
lea eax, [esp + 0x34]
push 0x1003f670
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b6fd
or dword [0x10041578], 0x400
lea ecx, [esp + 0x34]
push 0x1003f6cc
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b71d
or dword [0x10041578], 0x400
lea edx, [esp + 0x34]
push 0x1003e8e4
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b73d
or dword [0x10041578], 0x800
lea eax, [esp + 0x34]
push 0x1003e954
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b75d
or dword [0x10041578], 0x800
lea ecx, [esp + 0x34]
push 0x1003e8f8
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b77d
or dword [0x10041578], 0x40000
lea edx, [esp + 0x34]
push 0x1003e324
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b79d
or dword [0x10041578], 0x40000
lea eax, [esp + 0x34]
push 0x1003f6a8
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b7bd
or dword [0x10041578], 0x40000
lea ecx, [esp + 0x34]
push 0x1003f040
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b7dd
or dword [0x10041578], 0x40000
lea edx, [esp + 0x34]
push 0x1003e66c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b7fd
or dword [0x10041578], 0x40000
lea eax, [esp + 0x34]
push 0x1003e9c4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b81d
or dword [0x10041578], 0x40000
lea ecx, [esp + 0x34]
push 0x1003ec18
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b83d
or dword [0x10041578], 0x40000
lea edx, [esp + 0x34]
push 0x1003f468
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b85d
or dword [0x10041578], 0x40000
lea eax, [esp + 0x34]
push 0x1003f5a0
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b87d
or dword [0x10041578], 0x40000
lea ecx, [esp + 0x34]
push 0x1003ec44
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b89d
or dword [0x10041578], 0x40000
lea edx, [esp + 0x34]
push 0x1003e4d0
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b8bd
or dword [0x10041578], 0x40000
lea eax, [esp + 0x34]
push 0x1003ecf4
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b8dd
or dword [0x10041578], 0x40000
lea ecx, [esp + 0x34]
push 0x1003f550
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b8fd
or dword [0x10041578], 0x40000
lea edx, [esp + 0x34]
push 0x1003e9e4
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b91d
or dword [0x10041578], 0x40000
lea eax, [esp + 0x34]
push 0x1003e45c
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b93d
or dword [0x10041578], 0x10000
lea ecx, [esp + 0x34]
push 0x1003ed64
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b95d
or dword [0x10041578], 0x10000
lea edx, [esp + 0x34]
push 0x1003e1d8
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b97d
or dword [0x10041578], 0x10000
lea eax, [esp + 0x34]
push 0x1003f600
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b99d
or dword [0x10041578], 0x10000
lea ecx, [esp + 0x34]
push 0x1003eb6c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b9bd
or dword [0x10041578], 0x10000
lea edx, [esp + 0x34]
push 0x1003e994
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b9dd
or dword [0x10041578], 0x10000
lea eax, [esp + 0x34]
push 0x1003e6c0
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001b9fd
or dword [0x10041578], 0x10000
lea ecx, [esp + 0x34]
push 0x1003edb4
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001ba1d
or dword [0x10041578], 0x10000
lea edx, [esp + 0x34]
push 0x1003f4b4
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001ba3d
or dword [0x10041578], 0x10000
lea eax, [esp + 0x34]
push 0x1003e580
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001ba5d
or dword [0x10041578], 0x10000
lea ecx, [esp + 0x34]
push 0x1003eb7c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001ba7d
or dword [0x10041578], 0x4000000
lea edx, [esp + 0x34]
push 0x1003e524
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001ba9d
or dword [0x10041578], 0x4000000
lea eax, [esp + 0x34]
push 0x1003f09c
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001babd
or dword [0x10041578], 0x4000000
lea ecx, [esp + 0x34]
push 0x1003eccc
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001badd
or dword [0x10041578], 0x4000000
lea edx, [esp + 0x34]
push 0x1003e55c
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bafd
or dword [0x10041578], 0x8000000
lea eax, [esp + 0x34]
push 0x1003ea7c
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bb1d
or dword [0x10041578], 0x8000000
lea ecx, [esp + 0x34]
push 0x1003f478
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bb3a
or dword [0x10041578], 4
lea edx, [esp + 0x34]
push 0x1003f724
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bb5a
or dword [0x10041578], 0x20000000
lea eax, [esp + 0x34]
push 0x1003f430
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bb7a
or dword [0x10041578], 0x20000000
lea ecx, [esp + 0x34]
push 0x1003e970
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bb9a
or dword [0x10041578], 0x20000000
lea edx, [esp + 0x34]
push 0x1003f2f8
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bbba
or dword [0x10041578], 0x20000000
lea eax, [esp + 0x34]
push 0x1003e2e8
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bbda
or dword [0x10041578], 0x8000
lea ecx, [esp + 0x34]
push 0x1003e14c
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bbfa
or dword [0x10041578], 0x8000
lea edx, [esp + 0x34]
push 0x1003e344
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bc1a
or dword [0x10041578], 0x8000
lea eax, [esp + 0x34]
push 0x1003f4ec
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bc3a
or dword [0x10041578], 0x8000
lea ecx, [esp + 0x34]
push 0x1003e188
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bc5a
or dword [0x10041578], 0x8000
lea edx, [esp + 0x34]
push 0x1003e6a8
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bc7a
or dword [0x10041578], 0x8000
lea eax, [esp + 0x34]
push 0x1003e188
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bc9a
or dword [0x10041578], 0x8000
lea ecx, [esp + 0x34]
push 0x1003eea4
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bcba
or dword [0x10041578], 0x8000
lea edx, [esp + 0x34]
push 0x1003f308
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bcda
or dword [0x10041578], 0x20000
lea eax, [esp + 0x34]
push 0x1003f15c
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bcfa
or dword [0x10041578], 0x20000
lea ecx, [esp + 0x34]
push 0x1003ec70
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bd16
or dword [0x10041578], edi
lea edx, [esp + 0x34]
push 0x1003ee54
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bd32
or dword [0x10041578], edi
lea eax, [esp + 0x34]
push 0x1003e134
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bd4e
or dword [0x10041578], edi
lea ecx, [esp + 0x34]
push 0x1003f6ec
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bd6a
or dword [0x10041578], edi
lea edx, [esp + 0x34]
push 0x1003e278
push edx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bd86
or dword [0x10041578], edi
lea eax, [esp + 0x34]
push 0x1003eeb8
push eax
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bda2
or dword [0x10041578], edi
lea ecx, [esp + 0x34]
push 0x1003f660
push ecx
call fcn.10020295
add esp, 8
test eax, eax
jne 0x1001bdbe
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.1001db6d
add esp, 0x12c
ret