Function at 0x1002087b
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007beed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
cmp dword [ebp + 0x10], 0
jbe 0x100208bb
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100208bb
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002009f
pop ecx
pop ecx
jmp 0x100216c2
cmp dword [ebp + 0x10], 0
jne 0x10021071
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1001630d
mov dword [ebp - 0xac], eax
cmp dword [0x10730218], 0
jne 0x1002103f
mov dword [ebp - 0x170], 0x4035
lea eax, [ebp - 0x170]
push eax
call fcn.1001ff6f
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x11c], 7
mov byte [ebp - 0x11b], 0xe0
mov byte [ebp - 0x11a], 6
mov byte [ebp - 0x119], 0x1a
mov byte [ebp - 0x118], 1
mov byte [ebp - 0x117], 0x16
mov byte [ebp - 0x116], 4
mov byte [ebp - 0x115], 0
mov byte [ebp - 0x114], 0xc
mov byte [ebp - 0x113], 0x32
mov byte [ebp - 0x112], 9
mov byte [ebp - 0x111], 0x39
mov byte [ebp - 0x110], 0xb
mov byte [ebp - 0x10f], 0x16
mov byte [ebp - 0x10e], 0
mov byte [ebp - 0x10d], 0x3f
mov byte [ebp - 0x10c], 0x48
mov byte [ebp - 0x10b], 0xc5
mov byte [ebp - 0x10a], 0x70
mov byte [ebp - 0x109], 0xe9
mov byte [ebp - 0x108], 0x93
mov byte [ebp - 0x107], 4
mov byte [ebp - 0x106], 0x14
mov byte [ebp - 0x105], 0x7b
mov byte [ebp - 0x104], 0xf
mov byte [ebp - 0x103], 0x8b
mov byte [ebp - 0x102], 0x7f
mov byte [ebp - 0x101], 0x7a
mov byte [ebp - 0x100], 0x11
mov byte [ebp - 0xff], 0xce
mov byte [ebp - 0xfe], 0xf3
mov byte [ebp - 0xfd], 0x80
mov byte [ebp - 0xfc], 0xdd
mov byte [ebp - 0xfb], 0xa1
mov byte [ebp - 0xfa], 0x69
mov byte [ebp - 0xf9], 0x23
mov byte [ebp - 0xf8], 0x96
mov byte [ebp - 0xf7], 0x29
mov byte [ebp - 0xf6], 0x7c
mov byte [ebp - 0xf5], 0x17
mov byte [ebp - 0xf4], 0x29
mov byte [ebp - 0xf3], 0xb7
mov byte [ebp - 0xf2], 0x3c
mov byte [ebp - 0xf1], 0x6f
mov byte [ebp - 0xf0], 0x69
mov byte [ebp - 0xef], 0x79
mov byte [ebp - 0xee], 0xdf
mov byte [ebp - 0xed], 0xfd
mov byte [ebp - 0xec], 0x2d
mov byte [ebp - 0xeb], 0x3b
mov byte [ebp - 0xea], 0xd5
mov byte [ebp - 0xe9], 0x41
mov byte [ebp - 0xe8], 0xe6
mov byte [ebp - 0xe7], 0x2a
mov byte [ebp - 0xe6], 0xca
mov byte [ebp - 0xe5], 0x5b
mov byte [ebp - 0xe4], 0x80
mov byte [ebp - 0xe3], 0xcf
mov byte [ebp - 0xe2], 0x88
mov byte [ebp - 0xe1], 0xf5
mov byte [ebp - 0xe0], 4
mov byte [ebp - 0xdf], 0xb0
mov byte [ebp - 0xde], 0xe4
mov byte [ebp - 0xdd], 0x29
mov byte [ebp - 0xdc], 0x44
mov byte [ebp - 0xdb], 0xd3
mov byte [ebp - 0xda], 0x82
mov byte [ebp - 0xd9], 0x23
mov byte [ebp - 0xd8], 0x21
mov byte [ebp - 0xd7], 0x93
mov byte [ebp - 0xd6], 0xab
mov byte [ebp - 0xd5], 0xc1
mov byte [ebp - 0xd4], 0x95
mov byte [ebp - 0xd3], 0xf7
mov byte [ebp - 0xd2], 0x8c
mov byte [ebp - 0xd1], 0x5f
mov byte [ebp - 0xd0], 0xa4
mov byte [ebp - 0xcf], 0xe
mov byte [ebp - 0xce], 0xe
mov byte [ebp - 0xcd], 0xe9
mov byte [ebp - 0xcc], 0xdb
mov byte [ebp - 0xcb], 0xe6
mov byte [ebp - 0xca], 0x94
mov byte [ebp - 0xc9], 0x1f
mov byte [ebp - 0xc8], 0x73
mov byte [ebp - 0xc7], 0xbd
mov byte [ebp - 0xc6], 0xe7
mov byte [ebp - 0xc5], 0x77
mov byte [ebp - 0xc4], 0xdc
mov byte [ebp - 0xc3], 0xa
mov byte [ebp - 0xc2], 2
mov byte [ebp - 0xc1], 2
mov byte [ebp - 0xc0], 0x31
mov byte [ebp - 0xbf], 3
mov byte [ebp - 0xbe], 0x22
mov byte [ebp - 0xbd], 5
mov byte [ebp - 0xbc], 0x24
mov byte [ebp - 0xbb], 8
mov byte [ebp - 0xba], 0x1d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x11c]
or eax, 0x89
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
and ecx, 0x89
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x11c]
mov byte [ebp + ecx - 0x144], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x10020c08
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x63
jae 0x10020cd7
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x11c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10020c4f
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x11c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x11c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x10020c00
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x11b]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x11e]
movsx ecx, byte [ebp + ecx - 0x144]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x11b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x11e]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x11b]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x11e]
movsx edx, byte [ebp + edx - 0x144]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x11c]
mov byte [ebp + ecx - 0x144], al
and dword [ebp - 0x3c], 0
jmp 0x10020c00
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x144], 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.10021a42
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x15c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x15c]
call fcn.1001630d
mov dword [0x10730218], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.100147c9
and dword [ebp - 0xb0], 0
jmp 0x10020d48
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0xe
jae 0x10020d61
mov eax, dword [ebp - 0xb0]
mov byte [ebp + eax - 0x144], 0
jmp 0x10020d3b
mov byte [ebp - 0xa4], 5
mov byte [ebp - 0xa3], 0x69
mov byte [ebp - 0xa2], 7
mov byte [ebp - 0xa1], 0x17
mov byte [ebp - 0xa0], 0xd
mov byte [ebp - 0x9f], 0x25
mov byte [ebp - 0x9e], 0
mov byte [ebp - 0x9d], 0x14
mov byte [ebp - 0x9c], 4
mov byte [ebp - 0x9b], 0x37
mov byte [ebp - 0x9a], 9
mov byte [ebp - 0x99], 0x17
mov byte [ebp - 0x98], 0x15
mov byte [ebp - 0x97], 0x1f
mov byte [ebp - 0x96], 0xfc
mov byte [ebp - 0x95], 0x52
mov byte [ebp - 0x94], 0x20
mov byte [ebp - 0x93], 0x46
mov byte [ebp - 0x92], 4
mov byte [ebp - 0x91], 0xd6
mov byte [ebp - 0x90], 0x1f
mov byte [ebp - 0x8f], 0x13
mov byte [ebp - 0x8e], 0x58
mov byte [ebp - 0x8d], 0x5c
mov byte [ebp - 0x8c], 0x73
mov byte [ebp - 0x8b], 0x2a
mov byte [ebp - 0x8a], 0xa3
mov byte [ebp - 0x89], 0xdc
mov byte [ebp - 0x88], 0x10
mov byte [ebp - 0x87], 0x38
mov byte [ebp - 0x86], 0xd
mov byte [ebp - 0x85], 0x1c
mov byte [ebp - 0x84], 0x2c
mov byte [ebp - 0x83], 0x56
mov byte [ebp - 0x82], 0xb
mov byte [ebp - 0x81], 0x10
mov byte [ebp - 0x80], 3
mov byte [ebp - 0x7f], 0x12
mov byte [ebp - 0x7e], 0xa
mov byte [ebp - 0x7d], 4
mov byte [ebp - 0x7c], 2
mov byte [ebp - 0x7b], 0
mov byte [ebp - 0x7a], 1
mov byte [ebp - 0x79], 0x17
mov byte [ebp - 0x78], 8
mov byte [ebp - 0x77], 0x1d
mov byte [ebp - 0x76], 0xc
mov byte [ebp - 0x75], 0x1c
mov byte [ebp - 0x74], 6
mov byte [ebp - 0x73], 0x23
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa4]
or eax, 0xc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
and ecx, 0xc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x154], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x10020ee3
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x32
jae 0x10020fb2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10020f2a
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa4]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10020edb
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xa3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0xa6]
movsx ecx, byte [ebp + ecx - 0x154]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x154]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0xa6]
movsx edx, byte [ebp + edx - 0x154]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xa4]
mov byte [ebp + ecx - 0x154], al
and dword [ebp - 0x48], 0
jmp 0x10020edb
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x154], 0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x20c]
call fcn.10021a42
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x168]
call fcn.1001630d
mov dword [0x107302d0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.100147c9
and dword [ebp - 0xb4], 0
jmp 0x10021026
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xf
jae 0x1002103f
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x154], 0
jmp 0x10021019
mov eax, dword [0x10730218]
cmp eax, dword [ebp - 0xac]
je 0x10021059
mov eax, dword [0x107302d0]
cmp eax, dword [ebp - 0xac]
jne 0x10021071
mov ecx, dword [ebp + 0xc]
call fcn.10014825
push eax
push dword [ebp + 8]
call fcn.1002009f
pop ecx
pop ecx
jmp 0x100216c2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x100216c0
mov eax, dword [ebp - 0xa8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100216c0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x100216c0
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x100216c0
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x100216c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10021121
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1002111c
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x100212bd
mov eax, dword [0x10730334]
and eax, 1
jne 0x10021158
mov eax, dword [0x10730334]
or eax, 1
mov dword [0x10730334], eax
mov dword [ebp - 4], 2
mov ecx, 0x10730338
call fcn.10014954
push 0x1007d04b
call fcn.10064866
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10730213]
test eax, eax
je 0x100211c1
mov ecx, 0x10730338
call fcn.10021ac0
movzx eax, al
test eax, eax
jne 0x100211c1
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x10730338
call fcn.1001492c
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0x10730338
call fcn.1001491e
push eax
lea ecx, [ebp - 0x130]
call fcn.10014941
movzx eax, al
test eax, eax
je 0x100211c1
lea ecx, [ebp - 0x130]
call fcn.10021ac9
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100212bd
mov ecx, 0x10730338
call fcn.100091ac
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10730338
call fcn.10021b0d
and dword [ebp - 0x30], 0
jmp 0x100211f3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x18]
jae 0x100212bd
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x100212b8
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.10021a42
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1dc]
call fcn.1001630d
mov dword [ebp - 0x134], eax
movzx eax, byte [0x10730213]
test eax, eax
je 0x10021272
mov ecx, 0x10730338
call fcn.10021ac0
movzx eax, al
test eax, eax
jne 0x1002128f
lea eax, [ebp - 0x134]
push eax
mov ecx, 0x10730338
call fcn.10021acf
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov byte [0x10730213], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x100212a9
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0xac]
jne 0x100212a9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.100147c9
jmp 0x100211ec
cmp dword [ebp + 0x10], 0
jne 0x100212dd
cmp dword [ebp - 0x34], 0xffffffff
je 0x100212dd
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x100216c0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100216bb
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100216bb
mov eax, dword [0x10730334]
and eax, 2
jne 0x10021367
mov eax, dword [0x10730334]
or eax, 2
mov dword [0x10730334], eax
mov dword [ebp - 4], 4
push 0x32f1
call fcn.10011065
pop ecx
mov byte [0x10730358], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x70], 1
mov byte [ebp - 0x6f], 0xd
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x6d], 8
mov byte [ebp - 0x6c], 0x1e
mov byte [ebp - 0x6b], 0xac
mov byte [ebp - 0x6a], 0x43
mov byte [ebp - 0x69], 0xdb
mov byte [ebp - 0x68], 0x65
mov byte [ebp - 0x67], 0xdf
mov byte [ebp - 0x66], 0xb5
mov byte [ebp - 0x65], 0x11
mov byte [ebp - 0x64], 0xb0
mov byte [ebp - 0x63], 0x21
mov byte [ebp - 0x62], 0xe2
mov byte [ebp - 0x61], 0x1a
mov byte [ebp - 0x60], 0x99
mov byte [ebp - 0x5f], 0x1d
mov byte [ebp - 0x5e], 2
mov byte [ebp - 0x5d], 0x7c
mov byte [ebp - 0x5c], 0x6c
mov byte [ebp - 0x5b], 0x28
mov byte [ebp - 0x5a], 0x1a
mov byte [ebp - 0x59], 0x34
mov byte [ebp - 0x58], 0x26
mov byte [ebp - 0x57], 0xa4
mov byte [ebp - 0x56], 0xc2
mov byte [ebp - 0x55], 0x9d
mov byte [ebp - 0x54], 0x1f
mov byte [ebp - 0x53], 0x8e
mov byte [ebp - 0x52], 0xaf
mov byte [ebp - 0x51], 0x4c
mov byte [ebp - 0x50], 0x42
mov byte [ebp - 0x4f], 0x66
mov byte [ebp - 0x4e], 0x5f
mov byte [ebp - 0x4d], 2
mov byte [ebp - 0x4c], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x70]
or eax, 0x61
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
and ecx, 0x61
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x2c], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x40], 0
jmp 0x1002143d
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x25
jae 0x100214e2
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1002147b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x70]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x70]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10021435
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x6f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x72]
movsx ecx, byte [ebp + ecx - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x2c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x2c], al
and dword [ebp - 0x40], 0
jmp 0x10021435
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x2c], 0
mov eax, dword [0x10730334]
and eax, 4
jne 0x10021528
mov eax, dword [0x10730334]
or eax, 4
mov dword [0x10730334], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x107302f8
call fcn.10021a42
push 0x1007d03c
call fcn.10064866
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xb8], 0
jmp 0x1002153e
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 4
jae 0x10021554
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x2c], 0
jmp 0x10021531
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10730358]
cmp eax, ecx
je 0x10021574
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1002155a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x194]
call fcn.10021ea2
mov dword [ebp - 4], 6
push 0x107302f8
lea ecx, [ebp - 0x194]
call fcn.10021a71
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x194]
call fcn.10014ec3
push dword [eax]
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x194]
call fcn.10014eaf
push dword [eax]
lea ecx, [ebp - 0x1c4]
call fcn.10021ecb
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c4]
push eax
call fcn.100182ff
pop ecx
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x1002166a
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1ac]
call fcn.10021a42
mov byte [ebp - 4], 8
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x1ac]
call fcn.100173f9
movzx eax, al
test eax, eax
je 0x1002163d
push 0
push dword [ebp - 0x16c]
push 0
push dword [ebp - 0x120]
call fcn.1002087b
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10021659
push 1
push 0
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x120]
call fcn.1002087b
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ac]
call fcn.100147c9
jmp 0x1002169d
cmp dword [ebp + 0x10], 0
jne 0x10021680
mov ecx, dword [ebp + 0xc]
call fcn.10014825
mov dword [ebp - 0x128], eax
jmp 0x1002168a
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x128]
push dword [ebp + 8]
call fcn.1002009f
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c4]
call fcn.100146a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.100147c9
mov eax, dword [ebp - 0x20]
jmp 0x100216c2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret