Function at 0x1001fc92
Capabilities:
Get thread local storage value
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x248
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10020d2e
lea eax, [ebp + 8]
mov dword [ebp - 0x148], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x10020cb0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1001fd2c
jmp 0x10020da1
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1001fd4b
jmp 0x10020da1
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1001fd69
jmp 0x10020da1
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0xd8], eax
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x5746
push 0xde7
push 0x6329
push 0x705
push 0xab1
push 0x1d6a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x5cc7
push 0x6422
push 1
call fcn.1001d82b
add esp, 0x38
cmp dword [ebp - 0x24], 0
jne 0x1001fdd3
jmp 0x10020da1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.1001afa1
push eax
call fcn.100570d7
pop ecx
mov byte [ebp - 0x84], 3
mov byte [ebp - 0x83], 0x10
mov byte [ebp - 0x82], 0
mov byte [ebp - 0x81], 6
mov byte [ebp - 0x80], 8
mov byte [ebp - 0x7f], 1
mov byte [ebp - 0x7e], 4
mov byte [ebp - 0x7d], 8
mov byte [ebp - 0x7c], 1
mov byte [ebp - 0x7b], 0x2f
mov byte [ebp - 0x7a], 7
mov byte [ebp - 0x79], 0xe
mov byte [ebp - 0x78], 1
mov byte [ebp - 0x77], 3
mov byte [ebp - 0x76], 9
mov byte [ebp - 0x75], 5
mov byte [ebp - 0x74], 5
mov byte [ebp - 0x73], 1
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 6
mov byte [ebp - 0x70], 6
mov byte [ebp - 0x6f], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
and eax, 0x27
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
or ecx, 0x27
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
mov byte [ebp + eax - 0x108], cl
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xa0], 0
jmp 0x1001fea4
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x16
jae 0x1001ff81
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1001feee
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1001fe9c
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xa0]
movzx eax, byte [ebp + eax - 0x86]
movsx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x83]
and ecx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xa0]
movzx eax, byte [ebp + eax - 0x86]
movsx eax, byte [ebp + eax - 0x108]
mov edx, dword [ebp - 0x2c]
movzx edx, byte [ebp + edx - 0x83]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x84]
mov byte [ebp + eax - 0x108], dl
push 0x5b6e
push 0x122b
push 0x2e9c
push 1
lea eax, [ebp - 0xa0]
push eax
push 0x1ad3
push 1
push 0x66ef
push 0
call fcn.1001c847
add esp, 0x24
jmp 0x1001fe9c
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x108], 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x210]
call fcn.10020f70
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x144], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x144]
call fcn.1001af66
pop ecx
mov dword [ebp - 0x114], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.10015c8e
and dword [ebp - 0xac], 0
jmp 0x1001fff2
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x1002000b
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x108], 0
jmp 0x1001ffe5
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0x18
mov byte [ebp - 0x62], 8
mov byte [ebp - 0x61], 6
mov byte [ebp - 0x60], 2
mov byte [ebp - 0x5f], 0x28
mov byte [ebp - 0x5e], 0xb2
mov byte [ebp - 0x5d], 0
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 9
mov byte [ebp - 0x5a], 1
mov byte [ebp - 0x59], 7
mov byte [ebp - 0x58], 6
mov byte [ebp - 0x57], 2
mov byte [ebp - 0x56], 1
mov byte [ebp - 0x55], 6
mov byte [ebp - 0x54], 0xe
mov byte [ebp - 0x53], 5
mov byte [ebp - 0x52], 8
mov byte [ebp - 0x51], 3
mov byte [ebp - 0x50], 3
mov byte [ebp - 0x4f], 4
mov byte [ebp - 0x4e], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x64]
and eax, 0x2e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x64]
or ecx, 0x2e
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0xfc], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x88], 0
jmp 0x100200af
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x17
jae 0x10020185
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x64]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x100200f0
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x100200a7
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0xfc]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x63]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0xfc]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0x63]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x88]
movzx eax, byte [ebp + eax - 0x66]
movsx eax, byte [ebp + eax - 0xfc]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0x63]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x64]
mov byte [ebp + eax - 0xfc], bl
lea eax, [ebp - 0x88]
push eax
push 1
push 1
push 0xf22
push 0x6025
call fcn.1001d9ec
add esp, 0x14
jmp 0x100200a7
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xfc], 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.10020f70
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x154]
call fcn.1001af66
pop ecx
mov dword [ebp - 0x15c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.10015c8e
and dword [ebp - 0xb4], 0
jmp 0x100201f9
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x10020212
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0xfc], 0
jmp 0x100201ec
push dword [ebp - 0x15c]
push dword [ebp - 0x114]
call fcn.1001c004
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x44]
push eax
push 0x354c
push 0x6295
push 0
push 0x4a5a
push 0x1fa6
push 0
push 0x72c5
push 0x5763
push 1
lea eax, [ebp - 0xd0]
push eax
push 0x47f5
push 0x33e1
push 0x203f
call fcn.1001deaa
add esp, 0x38
push 1
lea eax, [ebp - 0x14]
push eax
push 0x3ca8
push 0x508
push 1
push 0x5d7d
push 0x3a
push 0xd13
push 1
lea eax, [ebp - 0xd0]
push eax
call fcn.1001daa0
add esp, 0x28
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x100202f0
push 0x7c5
lea eax, [ebp - 0x68]
push eax
push 0x6579
push 1
push 0x19eb
push 0x6820
push 1
push 0x40b1
push 0x2a28
push 1
push 0x3912
push 0x4d14
push 0x5001
lea eax, [ebp - 0x14]
push eax
call fcn.1001deaa
add esp, 0x38
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
and dword [ebp - 0xb0], 0
jmp 0x1002031b
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x40]
jge 0x100204f6
push 1
push 0x4a1
lea eax, [ebp - 0x160]
push eax
push 0x58e
lea eax, [ebp - 0xb0]
push eax
push 0
push 0x16d5
lea eax, [ebp - 0x28]
push eax
push 0x725
push 0x59e3
push 0x76f6
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001fab8
add esp, 0x38
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x160]
mov dword [ecx + eax], edx
mov dword [ebp - 0xc8], 0x4a93
mov dword [ebp - 0x11c], 0x10007d60
cmp dword [ebp - 0xc8], 0x4df6
jle 0x1002048e
and dword [ebp - 0xa8], 0
jmp 0x100203c1
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x2af3
jge 0x10020486
and dword [ebp - 0x9c], 0
jmp 0x100203e7
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x78fe
jge 0x10020481
and dword [ebp - 0xa4], 0
jmp 0x1002040d
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x4a66
jge 0x1002047c
and dword [ebp - 0x98], 0
jmp 0x1002042f
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x1743
jge 0x1002047a
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x98]
shl eax, cl
and eax, dword [ebp - 0xa8]
cdq
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
mov ecx, 0x10615bb8
call fcn.10015a07
jmp 0x10020422
jmp 0x10020400
jmp 0x100203da
jmp 0x100203b4
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
push 1
push 0x4843
lea eax, [ebp - 0x1c]
push eax
push 0x2e21
call fcn.1001c761
add esp, 0x14
mov dword [ebp - 4], 2
cmp dword [ebp - 0xc8], 0x48b4
jge 0x100204cb
mov edx, dword [ebp - 0x11c]
mov ecx, 0x10615bb8
call fcn.10019d5c
jmp 0x100204e7
or dword [ebp - 4], 0xffffffff
jmp 0x100204f1
jmp 0x1002030e
push 0
push 0x3650
push 0x25a7
push 0x24f9
push 1
lea eax, [ebp - 0x14]
push eax
push 0x3090
lea eax, [ebp - 0x68]
push eax
push 1
push 0x6a65
call fcn.1001daa0
add esp, 0x28
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x2ad5
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001e07f
add esp, 0x1c
push 0x2805
push 0xbbd
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0x2747
push 1
push 0x2d10
push 0x4a21
push 1
push 0x4d94
lea eax, [ebp - 0x1c]
push eax
push 0x1ef9
push 0x256b
call fcn.1001deaa
add esp, 0x38
push 0x5ecf
push 0x6163
push 1
push 0x37cd
push 0x7634
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.1001e291
add esp, 0x20
and dword [ebp - 0x8c], 0
jmp 0x100205d2
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x40]
jge 0x10020649
push 0x2332
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x121b
push 1
push 0x34db
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
push eax
push 1
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.1001e377
add esp, 0x2c
push 0x3091
lea eax, [ebp - 0x1c]
push eax
push 0x209f
push 0x3f97
push 0
push 1
push 0x6ed
push 0x3c33
push 0x3d48
push 0x1413
call fcn.1001d2b2
add esp, 0x28
jmp 0x100205c5
mov eax, dword [ebp - 0x40]
shl eax, 1
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.10020f70
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c8]
call fcn.10017fea
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
shr eax, 1
push eax
call fcn.1001c004
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x3c], 3
mov byte [ebp - 0x3b], 0x8e
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 0x4a
mov byte [ebp - 0x36], 2
mov byte [ebp - 0x35], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
and eax, 0xe2
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
or ecx, 0xe2
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
mov byte [ebp + eax - 0x4c], cl
mov dword [ebp - 0x34], 2
and dword [ebp - 0xb8], 0
jmp 0x1002070c
mov eax, dword [ebp - 0x34]
inc eax
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jae 0x1002077b
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x3e]
movsx eax, byte [ebp + eax - 0x4c]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ebp + ecx - 0x3b]
and ecx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x3e]
movsx eax, byte [ebp + eax - 0x4c]
mov edx, dword [ebp - 0x34]
movzx edx, byte [ebp + edx - 0x3b]
and edx, eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0xb8]
movzx eax, byte [ebp + eax - 0x3e]
movsx eax, byte [ebp + eax - 0x4c]
mov esi, dword [ebp - 0x34]
movzx ebx, byte [ebp + esi - 0x3b]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x34]
movzx eax, byte [ebp + eax - 0x3c]
mov byte [ebp + eax - 0x4c], bl
jmp 0x10020704
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x4c], 0
cmp dword [ebp - 0x6c], 4
jle 0x1002083d
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x258]
call fcn.10020f70
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
sub eax, 4
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1001c59c
pop ecx
pop ecx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x174]
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x1f8]
call fcn.100215e1
pop ecx
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xe4], eax
jmp 0x10020869
push dword [ebp - 0x6c]
lea eax, [ebp - 0x240]
push eax
call fcn.1001c59c
pop ecx
pop ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x140], eax
push dword [ebp - 0x140]
lea ecx, [ebp - 0x1b0]
call fcn.10020f93
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x100208a4
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x240]
call fcn.10015c8e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x100208bf
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x1f8]
call fcn.10015c8e
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x100208da
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x228]
call fcn.10015c8e
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x100208f5
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x258]
call fcn.10015c8e
and dword [ebp - 0x90], 0
jmp 0x1002090b
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 5
jae 0x10020921
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x4c], 0
jmp 0x100208fe
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x2198
push 0x5dd7
push 0x4e2a
push 0x6179
push 1
call fcn.1001e291
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
push 0x334f
push 0x6df0
push 0x56ac
push 1
push 0x4c79
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0x660d
push 0x36b2
call fcn.1001cc9b
add esp, 0x34
lea eax, [ebp - 0x1c]
push eax
push 0xbb0
push 0xb30
push 1
push 0x1f7c
lea eax, [ebp - 0x6c]
push eax
push 1
push 0x5071
push 1
call fcn.1001c847
add esp, 0x24
push 1
push 0x2f59
push 0
push 0x2b2f
push 0x1a9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x6634
push 0x5383
push 0x12cf
lea eax, [ebp - 0x28]
push eax
push 0x6282
push 1
push 0xd0b
call fcn.1001f8c1
add esp, 0x38
push 1
push 0x3ea
push 0x604c
lea eax, [ebp - 0x1c]
push eax
push 1
push 0xd45
push 0x73e5
push 0x7c5f
push 0
push 0x5cbf
call fcn.1001daa0
add esp, 0x28
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x10020a84
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x10020a58
mov dword [ebp - 0xd4], 0xc
jmp 0x10020a76
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe8], eax
jmp 0x10020a8b
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], eax
and dword [ebp - 0x94], 0
jmp 0x10020aad
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax + 0x18]
jae 0x10020c45
push dword [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.1001c004
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
lea eax, [ebp - 0x198]
push eax
call fcn.1001c59c
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push 0x2ec6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x5eaa
push 1
lea eax, [ebp - 0x14]
push eax
push 0x2b52
push 0x3cd3
push 0x6b81
push 1
push 0x2542
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001cc9b
add esp, 0x34
push 1
push 0x37f5
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x7b63
push 0x4c2e
push 0x35b4
push 0x4f77
lea eax, [ebp - 0x198]
push eax
push 0x1e9
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.1001f8c1
add esp, 0x38
push 1
push 0x7048
push 1
push 0x4526
push 0x430f
push 0x6134
push 0x2acb
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc4]
push eax
push 0x26b2
push 0x6ce5
push 0x69fa
push 1
push 0x3804
call fcn.1001f8c1
add esp, 0x38
push 1
push 0x35c8
push 0x683a
lea eax, [ebp - 0x28]
push eax
push 0x19e5
push 1
push 0x12cf
push 0x88a
push 0x1358
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x62be
push 0x8e7
push 0x3d5b
call fcn.1001fab8
add esp, 0x38
push 0x5c7
push 0x3bcc
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x5d83
push 0x2cf2
push 0x129
push 1
call fcn.1001d0da
add esp, 0x20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x198]
call fcn.10015c8e
jmp 0x10020aa0
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0x1c]
push eax
push 0xc90
push 0x46e6
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xf0]
push eax
push 0x7b3f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001d2b2
add esp, 0x28
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
call fcn.10015c8e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.10015c8e
jmp 0x10020d2c
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xbc]
and eax, dword [ecx]
je 0x10020d0e
mov eax, dword [ebp - 0xc0]
push dword [eax]
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.1001c643
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc0]
add eax, dword [ecx]
mov dword [ebp - 0xcc], eax
jmp 0x10020d1c
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xcc]
mov dword [eax], ecx
jmp 0x10020da1
jmp 0x10020da1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x120], eax
push dword [ebp - 0x170]
push dword [ebp - 0x158]
push 0x5f51
push 0x50f4
push dword [ebp - 0x178]
push dword [ebp - 0x110]
push 0x15e0
push dword [ebp - 0x118]
push 0
push dword [ebp - 0x120]
call fcn.1001fa7c
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret