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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088b3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
cmp dword [ebp + 0x10], 0
jbe 0x1003e604
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003e604
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1003e0df
pop ecx
pop ecx
jmp 0x1003f42d
cmp dword [ebp + 0x10], 0
jne 0x1003eda6
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100342db
mov dword [ebp - 0x44], eax
cmp dword [0x1067ac58], 0
jne 0x1003ed7a
mov dword [ebp - 0x168], 0x83c
lea eax, [ebp - 0x168]
push eax
call fcn.1003dfa3
pop ecx
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x128], 1
mov byte [ebp - 0x127], pe_nt_image_headers32
mov byte [ebp - 0x126], 2
mov byte [ebp - 0x125], 0x11
mov byte [ebp - 0x124], 0x37
mov byte [ebp - 0x123], 0x97
mov byte [ebp - 0x122], 0x30
mov byte [ebp - 0x121], 0xc2
mov byte [ebp - 0x120], 0x10
mov byte [ebp - 0x11f], 0x80
mov byte [ebp - 0x11e], 0x26
mov byte [ebp - 0x11d], 0xa3
mov byte [ebp - 0x11c], 0xb7
mov byte [ebp - 0x11b], 0x90
mov byte [ebp - 0x11a], 0x55
mov byte [ebp - 0x119], 0xac
mov byte [ebp - 0x118], 0xba
mov byte [ebp - 0x117], 5
mov byte [ebp - 0x116], 0x5b
mov byte [ebp - 0x115], 0x4a
mov byte [ebp - 0x114], 0x45
mov byte [ebp - 0x113], 0xe5
mov byte [ebp - 0x112], 0x52
mov byte [ebp - 0x111], 0xd7
mov byte [ebp - 0x110], 0x92
mov byte [ebp - 0x10f], 0x43
mov byte [ebp - 0x10e], 0xed
mov byte [ebp - 0x10d], 0xc5
mov byte [ebp - 0x10c], 0x5b
mov byte [ebp - 0x10b], 0x97
mov byte [ebp - 0x10a], 0x27
mov byte [ebp - 0x109], 0xbd
mov byte [ebp - 0x108], 0x3d
mov byte [ebp - 0x107], 9
mov byte [ebp - 0x106], 0x42
mov byte [ebp - 0x105], 0x8a
mov byte [ebp - 0x104], 0xbe
mov byte [ebp - 0x103], 0x7c
mov byte [ebp - 0x102], 0xe4
mov byte [ebp - 0x101], 0xf4
mov byte [ebp - 0x100], 0x9e
mov byte [ebp - 0xff], 0xb3
mov byte [ebp - 0xfe], 0x96
mov byte [ebp - 0xfd], 0x4d
mov byte [ebp - 0xfc], 0x7d
mov byte [ebp - 0xfb], 0x5d
mov byte [ebp - 0xfa], 0x51
mov byte [ebp - 0xf9], 0xc2
mov byte [ebp - 0xf8], 0x23
mov byte [ebp - 0xf7], 0x5b
mov byte [ebp - 0xf6], 0x8e
mov byte [ebp - 0xf5], 0xdf
mov byte [ebp - 0xf4], 0xdf
mov byte [ebp - 0xf3], 0x26
mov byte [ebp - 0xf2], 0x60
mov byte [ebp - 0xf1], 0x38
mov byte [ebp - 0xf0], 0x57
mov byte [ebp - 0xef], 7
mov byte [ebp - 0xee], 0x15
mov byte [ebp - 0xed], 0x1c
mov byte [ebp - 0xec], 0
mov byte [ebp - 0xeb], 0x33
mov byte [ebp - 0xea], 8
mov byte [ebp - 0xe9], 0x28
mov byte [ebp - 0xe8], 7
mov byte [ebp - 0xe7], 6
mov byte [ebp - 0xe6], 9
mov byte [ebp - 0xe5], 7
mov byte [ebp - 0xe4], 6
mov byte [ebp - 0xe3], 0x1d
mov byte [ebp - 0xe2], 0xb
mov byte [ebp - 0xe1], 0xb
mov byte [ebp - 0xe0], 0xc
mov byte [ebp - 0xdf], 0x2f
mov byte [ebp - 0xde], 4
mov byte [ebp - 0xdd], 0x32
mov byte [ebp - 0xdc], 0xa
mov byte [ebp - 0xdb], 0x20
mov byte [ebp - 0xda], 3
mov byte [ebp - 0xd9], 0x13
mov byte [ebp - 0xd8], 5
mov byte [ebp - 0xd7], 0x24
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x128]
or eax, 0x95
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
and ecx, 0x95
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x164], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x58], 0
jmp 0x1003e8d7
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x52
jae 0x1003e981
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 0x1003e91e
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
inc eax
mov dword [ebp - 0x58], 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 0x1003e8cf
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x127]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x12a]
movsx ecx, byte [ebp + ecx - 0x164]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x164]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x164], al
and dword [ebp - 0x58], 0
jmp 0x1003e8cf
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x164], 0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x200]
call fcn.100261e6
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x16c], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x16c]
call fcn.100342db
mov dword [0x1067ac58], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.1002626e
and dword [ebp - 0x5c], 0
jmp 0x1003e9e9
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xe
jae 0x1003e9fc
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x164], 0
jmp 0x1003e9e2
mov byte [ebp - 0xd4], 7
mov byte [ebp - 0xd3], 0x12
mov byte [ebp - 0xd2], 0
mov byte [ebp - 0xd1], 0x31
mov byte [ebp - 0xd0], 9
mov byte [ebp - 0xcf], 0x20
mov byte [ebp - 0xce], 0xa
mov byte [ebp - 0xcd], 6
mov byte [ebp - 0xcc], 8
mov byte [ebp - 0xcb], 0xa
mov byte [ebp - 0xca], 5
mov byte [ebp - 0xc9], 0xa
mov byte [ebp - 0xc8], 0xd
mov byte [ebp - 0xc7], 0x32
mov byte [ebp - 0xc6], 6
mov byte [ebp - 0xc5], 7
mov byte [ebp - 0xc4], 0x28
mov byte [ebp - 0xc3], 0x38
mov byte [ebp - 0xc2], 0x70
mov byte [ebp - 0xc1], 0x6c
mov byte [ebp - 0xc0], 0x2b
mov byte [ebp - 0xbf], 0xb8
mov byte [ebp - 0xbe], 0x4d
mov byte [ebp - 0xbd], 0xd5
mov byte [ebp - 0xbc], 0x1f
mov byte [ebp - 0xbb], 0xbe
mov byte [ebp - 0xba], 0x53
mov byte [ebp - 0xb9], 0xca
mov byte [ebp - 0xb8], 0x3a
mov byte [ebp - 0xb7], 0x38
mov byte [ebp - 0xb6], 0xbd
mov byte [ebp - 0xb5], 0x47
mov byte [ebp - 0xb4], 0x4f
mov byte [ebp - 0xb3], 0xb2
mov byte [ebp - 0xb2], 0x21
mov byte [ebp - 0xb1], 0x16
mov byte [ebp - 0xb0], 0x14
mov byte [ebp - 0xaf], 0x75
mov byte [ebp - 0xae], 0xac
mov byte [ebp - 0xad], 0xe8
mov byte [ebp - 0xac], 0
mov byte [ebp - 0xab], 0x40
mov byte [ebp - 0xaa], 0xef
mov byte [ebp - 0xa9], 0x4a
mov byte [ebp - 0xa8], 0x7c
mov byte [ebp - 0xa7], 0x7f
mov byte [ebp - 0xa6], 0xe9
mov byte [ebp - 0xa5], 0x52
mov byte [ebp - 0xa4], 0x51
mov byte [ebp - 0xa3], 0x60
mov byte [ebp - 0xa2], 0xba
mov byte [ebp - 0xa1], 0xcb
mov byte [ebp - 0xa0], 0xcc
mov byte [ebp - 0x9f], 0xa8
mov byte [ebp - 0x9e], 0x48
mov byte [ebp - 0x9d], 0x25
mov byte [ebp - 0x9c], 0x85
mov byte [ebp - 0x9b], 0xb
mov byte [ebp - 0x9a], 0x23
mov byte [ebp - 0x99], 3
mov byte [ebp - 0x98], 0x12
mov byte [ebp - 0x97], 1
mov byte [ebp - 0x96], 0x13
mov byte [ebp - 0x95], 0xc
mov byte [ebp - 0x94], 1
mov byte [ebp - 0x93], 2
mov byte [ebp - 0x92], 0x16
mov byte [ebp - 0x91], 4
mov byte [ebp - 0x90], 0x11
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xd4]
or eax, 0x60
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
and ecx, 0x60
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x150], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1003ec2d
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x45
jae 0x1003ecfc
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1003ec74
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xd4]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xd4]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1003ec25
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xd3]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0xd6]
movsx ecx, byte [ebp + ecx - 0x150]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xd3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xd6]
movsx edx, byte [ebp + edx - 0x150]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xd3]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xd6]
movsx edx, byte [ebp + edx - 0x150]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xd4]
mov byte [ebp + ecx - 0x150], al
and dword [ebp - 0x3c], 0
jmp 0x1003ec25
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x150], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x218]
call fcn.100261e6
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x17c]
call fcn.100342db
mov dword [0x1067ad28], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.1002626e
and dword [ebp - 0x50], 0
jmp 0x1003ed67
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xf
jae 0x1003ed7a
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x150], 0
jmp 0x1003ed60
mov eax, dword [0x1067ac58]
cmp eax, dword [ebp - 0x44]
je 0x1003ed8e
mov eax, dword [0x1067ad28]
cmp eax, dword [ebp - 0x44]
jne 0x1003eda6
mov ecx, dword [ebp + 0xc]
call fcn.10009992
push eax
push dword [ebp + 8]
call fcn.1003e0df
pop ecx
pop ecx
jmp 0x1003f42d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1003f42b
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1003f42b
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
jne 0x1003f42b
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jbe 0x1003f42b
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + eax + 0x78], 0
je 0x1003f42b
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 0x1003ee47
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1003ee42
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1003efdd
mov eax, dword [0x1067ad6c]
and eax, 1
jne 0x1003ee7e
mov eax, dword [0x1067ad6c]
or eax, 1
mov dword [0x1067ad6c], eax
mov dword [ebp - 4], 2
mov ecx, 0x1067ad70
call fcn.1003f847
push 0x1008a158
call fcn.1006c686
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1067ac54]
test eax, eax
je 0x1003eee4
mov ecx, 0x1067ad70
call fcn.1003f90c
movzx eax, al
test eax, eax
jne 0x1003eee4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x13c]
push eax
mov ecx, 0x1067ad70
call fcn.1003f915
lea eax, [ebp - 0x188]
push eax
mov ecx, 0x1067ad70
call fcn.1003f8fe
push eax
lea ecx, [ebp - 0x13c]
call fcn.1003f930
movzx eax, al
test eax, eax
je 0x1003eee4
lea ecx, [ebp - 0x13c]
call fcn.1003f92a
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003efdd
mov ecx, 0x1067ad70
call fcn.100095fc
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1067ad70
call fcn.1003f981
and dword [ebp - 0x2c], 0
jmp 0x1003ef16
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 0x1003efdd
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 0x1003efd8
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1e8]
call fcn.100261e6
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1e8]
call fcn.100342db
mov dword [ebp - 0x140], eax
movzx eax, byte [0x1067ac54]
test eax, eax
je 0x1003ef95
mov ecx, 0x1067ad70
call fcn.1003f90c
movzx eax, al
test eax, eax
jne 0x1003efb2
lea eax, [ebp - 0x140]
push eax
mov ecx, 0x1067ad70
call fcn.1003f943
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x1067ac54], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1003efc9
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x44]
jne 0x1003efc9
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.1002626e
jmp 0x1003ef0f
cmp dword [ebp + 0x10], 0
jne 0x1003effd
cmp dword [ebp - 0x34], 0xffffffff
je 0x1003effd
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 0x1003f42b
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 0x1003f426
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 0x1003f426
mov eax, dword [0x1067ad6c]
and eax, 2
jne 0x1003f087
mov eax, dword [0x1067ad6c]
or eax, 2
mov dword [0x1067ad6c], eax
mov dword [ebp - 4], 4
push 0x7e1
call fcn.1004a963
pop ecx
mov byte [0x1067ad90], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x8c], 1
mov byte [ebp - 0x8b], 0xc4
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 8
mov byte [ebp - 0x88], 0x29
mov byte [ebp - 0x87], 0xa2
mov byte [ebp - 0x86], 0x2b
mov byte [ebp - 0x85], 0xd1
mov byte [ebp - 0x84], 0xe7
mov byte [ebp - 0x83], 0xda
mov byte [ebp - 0x82], 0x2a
mov byte [ebp - 0x81], 0xb4
mov byte [ebp - 0x80], 0xa3
mov byte [ebp - 0x7f], 0xfa
mov byte [ebp - 0x7e], 0x57
mov byte [ebp - 0x7d], 0xf8
mov byte [ebp - 0x7c], 0x85
mov byte [ebp - 0x7b], 0xa
mov byte [ebp - 0x7a], 0xbd
mov byte [ebp - 0x79], 0x6d
mov byte [ebp - 0x78], 0x9e
mov byte [ebp - 0x77], 0x2d
mov byte [ebp - 0x76], 0x36
mov byte [ebp - 0x75], 0xde
mov byte [ebp - 0x74], 0x33
mov byte [ebp - 0x73], 0xb9
mov byte [ebp - 0x72], 0xf
mov byte [ebp - 0x71], 0x3a
mov byte [ebp - 0x70], 0x41
mov byte [ebp - 0x6f], 0x3f
mov byte [ebp - 0x6e], 0xb9
mov byte [ebp - 0x6d], 0xc
mov byte [ebp - 0x6c], 0x33
mov byte [ebp - 0x6b], 5
mov byte [ebp - 0x6a], 0xa1
mov byte [ebp - 0x69], 0x19
mov byte [ebp - 0x68], 0xfc
mov byte [ebp - 0x67], 0x2f
mov byte [ebp - 0x66], 0x8a
mov byte [ebp - 0x65], 0x3e
mov byte [ebp - 0x64], 0xbd
mov byte [ebp - 0x63], 0x7c
mov byte [ebp - 0x62], 0x29
mov byte [ebp - 0x61], 0x47
mov byte [ebp - 0x60], 0x11
mov byte [ebp - 0x5f], 0xd2
mov byte [ebp - 0x5e], 2
mov byte [ebp - 0x5d], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x8c]
or eax, 0xa8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
and ecx, 0xa8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x48], 0
jmp 0x1003f1bb
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x30
jae 0x1003f25c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1003f202
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8c]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1003f1b3
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x8b]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x8e]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x8b]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x8e]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x48], 0
jmp 0x1003f1b3
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x1067ad6c]
and eax, 4
jne 0x1003f2a2
mov eax, dword [0x1067ad6c]
or eax, 4
mov dword [0x1067ad6c], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1067ad30
call fcn.100261e6
push 0x1008a149
call fcn.1006c686
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x4c], 0
jmp 0x1003f2af
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jae 0x1003f2bf
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x38], 0
jmp 0x1003f2a8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1067ad90]
cmp eax, ecx
je 0x1003f2df
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1003f2c5
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.10040006
mov dword [ebp - 4], 6
push 0x1067ad30
lea ecx, [ebp - 0x1a0]
call fcn.10026278
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1003f82a
push dword [eax]
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.1003f816
push dword [eax]
lea ecx, [ebp - 0x1d0]
call fcn.1004002f
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1d0]
push eax
call fcn.1003714f
pop ecx
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x1003f3d5
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1b8]
call fcn.100261e6
mov byte [ebp - 4], 8
lea edx, [ebp - 0x178]
lea ecx, [ebp - 0x1b8]
call fcn.10036554
movzx eax, al
test eax, eax
je 0x1003f3a8
push 0
push dword [ebp - 0x178]
push 0
push dword [ebp - 0x12c]
call fcn.1003e5c4
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1003f3c4
push 1
push 0
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x12c]
call fcn.1003e5c4
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
call fcn.1002626e
jmp 0x1003f408
cmp dword [ebp + 0x10], 0
jne 0x1003f3eb
mov ecx, dword [ebp + 0xc]
call fcn.10009992
mov dword [ebp - 0x134], eax
jmp 0x1003f3f5
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x134]
push dword [ebp + 8]
call fcn.1003e0df
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d0]
call fcn.1003f7cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.1002626e
mov eax, dword [ebp - 0x20]
jmp 0x1003f42d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret