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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100734aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
cmp dword [ebp + 0x10], 0
jbe 0x10030596
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10030596
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002ff45
pop ecx
pop ecx
jmp 0x100313a9
cmp dword [ebp + 0x10], 0
jne 0x10030c04
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100263a2
mov dword [ebp - 0x74], eax
cmp dword [0x10cb10ec], 0
jne 0x10030bd8
mov dword [ebp - 0x15c], 0x5295
lea eax, [ebp - 0x15c]
push eax
call fcn.1002fe09
pop ecx
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x70], 6
mov byte [ebp - 0x6f], 0x4d
mov byte [ebp - 0x6e], 7
mov byte [ebp - 0x6d], 0x1a
mov byte [ebp - 0x6c], 0xa
mov byte [ebp - 0x6b], 0x2c
mov byte [ebp - 0x6a], 9
mov byte [ebp - 0x69], 0x2b
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 0x29
mov byte [ebp - 0x66], 3
mov byte [ebp - 0x65], 0x11
mov byte [ebp - 0x64], 0xb
mov byte [ebp - 0x63], 0x2e
mov byte [ebp - 0x62], 0x13
mov byte [ebp - 0x61], 0x4e
mov byte [ebp - 0x60], 0x5d
mov byte [ebp - 0x5f], 0xad
mov byte [ebp - 0x5e], 0xcd
mov byte [ebp - 0x5d], 0xe7
mov byte [ebp - 0x5c], 0xd7
mov byte [ebp - 0x5b], 0x78
mov byte [ebp - 0x5a], 0x7a
mov byte [ebp - 0x59], 0xe1
mov byte [ebp - 0x58], 0x64
mov byte [ebp - 0x57], 0x7e
mov byte [ebp - 0x56], 0x2a
mov byte [ebp - 0x55], 0xe4
mov byte [ebp - 0x54], 0x2f
mov byte [ebp - 0x53], 0x7b
mov byte [ebp - 0x52], 0x83
mov byte [ebp - 0x51], 0x97
mov byte [ebp - 0x50], 0xb4
mov byte [ebp - 0x4f], 0xed
mov byte [ebp - 0x4e], 8
mov byte [ebp - 0x4d], 0x17
mov byte [ebp - 0x4c], 4
mov byte [ebp - 0x4b], 0xa
mov byte [ebp - 0x4a], 5
mov byte [ebp - 0x49], 0x17
mov byte [ebp - 0x48], 2
mov byte [ebp - 0x47], 6
mov byte [ebp - 0x46], 0xc
mov byte [ebp - 0x45], 0x23
mov byte [ebp - 0x44], 1
mov byte [ebp - 0x43], 0x32
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x70]
or eax, 0x3e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
and ecx, 0x3e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x150], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x100306d5
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2e
jae 0x10030786
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x70]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x10030713
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x70]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x70]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x100306cd
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x6f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0x72]
movsx ecx, byte [ebp + ecx - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x150]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x6f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0x72]
movsx edx, byte [ebp + edx - 0x150]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x70]
mov byte [ebp + ecx - 0x150], al
and dword [ebp - 0x3c], 0
jmp 0x100306cd
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x150], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x200]
call fcn.10024c62
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x158], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x158]
call fcn.100263a2
mov dword [0x10cb10ec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.10024cea
and dword [ebp - 0x84], 0
jmp 0x100307f7
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xe
jae 0x10030810
mov eax, dword [ebp - 0x84]
mov byte [ebp + eax - 0x150], 0
jmp 0x100307ea
mov byte [ebp - 0x128], 0xc
mov byte [ebp - 0x127], 0xbd
mov byte [ebp - 0x126], 0xb
mov byte [ebp - 0x125], 0
mov byte [ebp - 0x124], 6
mov byte [ebp - 0x123], 0x23
mov byte [ebp - 0x122], 1
mov byte [ebp - 0x121], 0x22
mov byte [ebp - 0x120], 5
mov byte [ebp - 0x11f], 0x17
mov byte [ebp - 0x11e], 0xd
mov byte [ebp - 0x11d], 0x32
mov byte [ebp - 0x11c], 2
mov byte [ebp - 0x11b], 0x32
mov byte [ebp - 0x11a], 8
mov byte [ebp - 0x119], 0xa
mov byte [ebp - 0x118], 9
mov byte [ebp - 0x117], 0xc
mov byte [ebp - 0x116], 3
mov byte [ebp - 0x115], 2
mov byte [ebp - 0x114], 4
mov byte [ebp - 0x113], 0x15
mov byte [ebp - 0x112], 0xa
mov byte [ebp - 0x111], 0x11
mov byte [ebp - 0x110], 7
mov byte [ebp - 0x10f], 0x17
mov byte [ebp - 0x10e], 0x35
mov byte [ebp - 0x10d], 0x90
mov byte [ebp - 0x10c], 0x70
mov byte [ebp - 0x10b], 0x7c
mov byte [ebp - 0x10a], 0xc1
mov byte [ebp - 0x109], 0x2a
mov byte [ebp - 0x108], 0xaf
mov byte [ebp - 0x107], 0x6f
mov byte [ebp - 0x106], 0xe9
mov byte [ebp - 0x105], 0x79
mov byte [ebp - 0x104], 0xf2
mov byte [ebp - 0x103], 0xf5
mov byte [ebp - 0x102], 0xba
mov byte [ebp - 0x101], 0x65
mov byte [ebp - 0x100], 0x87
mov byte [ebp - 0xff], 0xe3
mov byte [ebp - 0xfe], 0x39
mov byte [ebp - 0xfd], 0xc
mov byte [ebp - 0xfc], 0x3f
mov byte [ebp - 0xfb], 6
mov byte [ebp - 0xfa], 0x1b
mov byte [ebp - 0xf9], 0x3c
mov byte [ebp - 0xf8], 0x1a
mov byte [ebp - 0xf7], 0xd3
mov byte [ebp - 0xf6], 0xb7
mov byte [ebp - 0xf5], 0x7a
mov byte [ebp - 0xf4], 0x42
mov byte [ebp - 0xf3], 0x69
mov byte [ebp - 0xf2], 0x2f
mov byte [ebp - 0xf1], 0x44
mov byte [ebp - 0xf0], 0x51
mov byte [ebp - 0xef], 0x7c
mov byte [ebp - 0xee], 0x95
mov byte [ebp - 0xed], 0x72
mov byte [ebp - 0xec], 0x40
mov byte [ebp - 0xeb], 0x62
mov byte [ebp - 0xea], 0x82
mov byte [ebp - 0xe9], 0x59
mov byte [ebp - 0xe8], 0x10
mov byte [ebp - 0xe7], 0xd2
mov byte [ebp - 0xe6], 0xb9
mov byte [ebp - 0xe5], 0x8d
mov byte [ebp - 0xe4], 0xf
mov byte [ebp - 0xe3], 0x89
mov byte [ebp - 0xe2], 0x71
mov byte [ebp - 0xe1], 0xf5
mov byte [ebp - 0xe0], 0x2f
mov byte [ebp - 0xdf], 0xf1
mov byte [ebp - 0xde], 0x56
mov byte [ebp - 0xdd], 9
mov byte [ebp - 0xdc], 0x65
mov byte [ebp - 0xdb], 0xeb
mov byte [ebp - 0xda], 0xc9
mov byte [ebp - 0xd9], 0xd8
mov byte [ebp - 0xd8], 0
mov byte [ebp - 0xd7], 0x31
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x128]
or eax, 0xce
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
and ecx, 0xce
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x17c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x8c], 0
jmp 0x10030aa4
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x52
jae 0x10030b5a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x128]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10030aee
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
inc eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10030a9c
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x127]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x8c]
movzx ecx, byte [ebp + ecx - 0x12a]
movsx ecx, byte [ebp + ecx - 0x17c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x8c]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x17c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x17c], al
and dword [ebp - 0x8c], 0
jmp 0x10030a9c
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x17c], 0
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x218]
call fcn.10024c62
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x168]
call fcn.100263a2
mov dword [0x10cb1198], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.10024cea
and dword [ebp - 0x7c], 0
jmp 0x10030bc5
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xf
jae 0x10030bd8
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x17c], 0
jmp 0x10030bbe
mov eax, dword [0x10cb10ec]
cmp eax, dword [ebp - 0x74]
je 0x10030bec
mov eax, dword [0x10cb1198]
cmp eax, dword [ebp - 0x74]
jne 0x10030c04
mov ecx, dword [ebp + 0xc]
call fcn.10024d05
push eax
push dword [ebp + 8]
call fcn.1002ff45
pop ecx
pop ecx
jmp 0x100313a9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x100313a7
mov eax, dword [ebp - 0x80]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100313a7
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
jne 0x100313a7
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jbe 0x100313a7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax + 0x78], 0
je 0x100313a7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
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 0x10030ca5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10030ca0
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x10030e3b
mov eax, dword [0x10cb11dc]
and eax, 1
jne 0x10030cdc
mov eax, dword [0x10cb11dc]
or eax, 1
mov dword [0x10cb11dc], eax
mov dword [ebp - 4], 2
mov ecx, 0x10cb11e0
call fcn.1003178e
push 0x10074708
call fcn.1005b0d6
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10cb10eb]
test eax, eax
je 0x10030d42
mov ecx, 0x10cb11e0
call fcn.10031853
movzx eax, al
test eax, eax
jne 0x10030d42
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x13c]
push eax
mov ecx, 0x10cb11e0
call fcn.1003185c
lea eax, [ebp - 0x188]
push eax
mov ecx, 0x10cb11e0
call fcn.10031845
push eax
lea ecx, [ebp - 0x13c]
call fcn.10031877
movzx eax, al
test eax, eax
je 0x10030d42
lea ecx, [ebp - 0x13c]
call fcn.10031871
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10030e3b
mov ecx, 0x10cb11e0
call fcn.10008eae
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10cb11e0
call fcn.100318c8
and dword [ebp - 0x2c], 0
jmp 0x10030d74
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x10030e3b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x2c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x10030e36
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.10024c62
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1e8]
call fcn.100263a2
mov dword [ebp - 0x140], eax
movzx eax, byte [0x10cb10eb]
test eax, eax
je 0x10030df3
mov ecx, 0x10cb11e0
call fcn.10031853
movzx eax, al
test eax, eax
jne 0x10030e10
lea eax, [ebp - 0x140]
push eax
mov ecx, 0x10cb11e0
call fcn.1003188a
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x10cb10eb], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x10030e27
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x74]
jne 0x10030e27
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.10024cea
jmp 0x10030d6d
cmp dword [ebp + 0x10], 0
jne 0x10030e5b
cmp dword [ebp - 0x34], 0xffffffff
je 0x10030e5b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
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 0x100313a7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100313a2
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100313a2
mov eax, dword [0x10cb11dc]
and eax, 2
jne 0x10030ee5
mov eax, dword [0x10cb11dc]
or eax, 2
mov dword [0x10cb11dc], eax
mov dword [ebp - 4], 4
push 0x4b14
call fcn.10039e30
pop ecx
mov byte [0x10cb1200], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xd4], 0
mov byte [ebp - 0xd3], 0x4d
mov byte [ebp - 0xd2], 0x41
mov byte [ebp - 0xd1], 0xbe
mov byte [ebp - 0xd0], 0xe0
mov byte [ebp - 0xcf], 0x9e
mov byte [ebp - 0xce], 0x53
mov byte [ebp - 0xcd], 0xaf
mov byte [ebp - 0xcc], 0xa6
mov byte [ebp - 0xcb], 0x6b
mov byte [ebp - 0xca], 0x69
mov byte [ebp - 0xc9], 0xe7
mov byte [ebp - 0xc8], 0x2f
mov byte [ebp - 0xc7], 0x53
mov byte [ebp - 0xc6], 0xea
mov byte [ebp - 0xc5], 0x7d
mov byte [ebp - 0xc4], 0x44
mov byte [ebp - 0xc3], 0x9c
mov byte [ebp - 0xc2], 0xd7
mov byte [ebp - 0xc1], 0xbc
mov byte [ebp - 0xc0], 0xdd
mov byte [ebp - 0xbf], 6
mov byte [ebp - 0xbe], 0xbf
mov byte [ebp - 0xbd], 0x4a
mov byte [ebp - 0xbc], 0xd2
mov byte [ebp - 0xbb], 0x82
mov byte [ebp - 0xba], 0x24
mov byte [ebp - 0xb9], 0xd0
mov byte [ebp - 0xb8], 0xda
mov byte [ebp - 0xb7], 0x7e
mov byte [ebp - 0xb6], 0xbb
mov byte [ebp - 0xb5], 0x80
mov byte [ebp - 0xb4], 0x9e
mov byte [ebp - 0xb3], 0x8d
mov byte [ebp - 0xb2], 0x6f
mov byte [ebp - 0xb1], 0xee
mov byte [ebp - 0xb0], 0xb6
mov byte [ebp - 0xaf], 0x2f
mov byte [ebp - 0xae], 0x24
mov byte [ebp - 0xad], 3
mov byte [ebp - 0xac], 0x60
mov byte [ebp - 0xab], 0x84
mov byte [ebp - 0xaa], 0xa5
mov byte [ebp - 0xa9], 0x8e
mov byte [ebp - 0xa8], 0x53
mov byte [ebp - 0xa7], 0xa2
mov byte [ebp - 0xa6], 0xc0
mov byte [ebp - 0xa5], 0x42
mov byte [ebp - 0xa4], 0xec
mov byte [ebp - 0xa3], 0x60
mov byte [ebp - 0xa2], 0xec
mov byte [ebp - 0xa1], 0x8e
mov byte [ebp - 0xa0], 0x24
mov byte [ebp - 0x9f], 0xc3
mov byte [ebp - 0x9e], 0x8a
mov byte [ebp - 0x9d], 0x2a
mov byte [ebp - 0x9c], 0xfe
mov byte [ebp - 0x9b], 0xf9
mov byte [ebp - 0x9a], 0x9a
mov byte [ebp - 0x99], 0x4b
mov byte [ebp - 0x98], 0xf9
mov byte [ebp - 0x97], 0x70
mov byte [ebp - 0x96], 0x6f
mov byte [ebp - 0x95], 0x56
mov byte [ebp - 0x94], 0x10
mov byte [ebp - 0x93], 0x85
mov byte [ebp - 0x92], 0x41
mov byte [ebp - 0x91], 0xfc
mov byte [ebp - 0x90], 2
mov byte [ebp - 0x8f], 8
mov byte [ebp - 0x8e], 1
mov byte [ebp - 0x8d], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd4]
or eax, 0x29
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
and ecx, 0x29
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x88], 0
jmp 0x1003112b
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x48
jae 0x100311d8
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10031175
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xd4]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xd4]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10031123
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xd3]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x88]
movzx ecx, byte [ebp + ecx - 0xd6]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xd3]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x88]
movzx edx, byte [ebp + edx - 0xd6]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x88], 0
jmp 0x10031123
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x10cb11dc]
and eax, 4
jne 0x1003121e
mov eax, dword [0x10cb11dc]
or eax, 4
mov dword [0x10cb11dc], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x10cb11a0
call fcn.10024c62
push 0x100746f9
call fcn.1005b0d6
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x78], 0
jmp 0x1003122b
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jae 0x1003123b
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x38], 0
jmp 0x10031224
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x10cb1200]
cmp eax, ecx
je 0x1003125b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10031241
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1a0]
call fcn.10031f3d
mov dword [ebp - 4], 6
push 0x10cb11a0
lea ecx, [ebp - 0x1a0]
call fcn.10024cf4
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10031771
push dword [eax]
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1003175d
push dword [eax]
lea ecx, [ebp - 0x1d0]
call fcn.10031f66
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1d0]
push eax
call fcn.1002799b
pop ecx
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x10031351
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1b8]
call fcn.10024c62
mov byte [ebp - 4], 8
lea edx, [ebp - 0x160]
lea ecx, [ebp - 0x1b8]
call fcn.1002644a
movzx eax, al
test eax, eax
je 0x10031324
push 0
push dword [ebp - 0x160]
push 0
push dword [ebp - 0x12c]
call fcn.10030556
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10031340
push 1
push 0
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x12c]
call fcn.10030556
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
call fcn.10024cea
jmp 0x10031384
cmp dword [ebp + 0x10], 0
jne 0x10031367
mov ecx, dword [ebp + 0xc]
call fcn.10024d05
mov dword [ebp - 0x134], eax
jmp 0x10031371
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x134]
push dword [ebp + 8]
call fcn.1002ff45
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d0]
call fcn.10031716
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.10024cea
mov eax, dword [ebp - 0x20]
jmp 0x100313a9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret