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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2d4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x100403cd
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100403cd
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1003f9c4
pop ecx
pop ecx
jmp 0x10041641
cmp dword [ebp + 0x10], 0
jne 0x10040c50
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1003db36
mov dword [ebp - 0x4c], eax
cmp dword [0x1060973c], 0
jne 0x10040c24
mov dword [ebp - 0x1c0], 0x4c79
lea eax, [ebp - 0x1c0]
push eax
call fcn.1003f880
pop ecx
mov dword [ebp - 0x190], eax
mov byte [ebp - 0xb0], 5
mov byte [ebp - 0xaf], 0x30
mov byte [ebp - 0xae], 4
mov byte [ebp - 0xad], 0x17
mov byte [ebp - 0xac], 1
mov byte [ebp - 0xab], 0
mov byte [ebp - 0xaa], 2
mov byte [ebp - 0xa9], 0x11
mov byte [ebp - 0xa8], 8
mov byte [ebp - 0xa7], 0x1b
mov byte [ebp - 0xa6], 6
mov byte [ebp - 0xa5], 0x1c
mov byte [ebp - 0xa4], 0x1b
mov byte [ebp - 0xa3], 0xc3
mov byte [ebp - 0xa2], 0
mov byte [ebp - 0xa1], 0xa0
mov byte [ebp - 0xa0], 0x3d
mov byte [ebp - 0x9f], 0x30
mov byte [ebp - 0x9e], 0x7d
mov byte [ebp - 0x9d], 0xcf
mov byte [ebp - 0x9c], 0xcc
mov byte [ebp - 0x9b], 0xd4
mov byte [ebp - 0x9a], 0x7f
mov byte [ebp - 0x99], 0x3c
mov byte [ebp - 0x98], 4
mov byte [ebp - 0x97], 0xcf
mov byte [ebp - 0x96], 0xee
mov byte [ebp - 0x95], 0xe
mov byte [ebp - 0x94], 0xf4
mov byte [ebp - 0x93], 0xa
mov byte [ebp - 0x92], 0xf3
mov byte [ebp - 0x91], 0xe7
mov byte [ebp - 0x90], 0x1e
mov byte [ebp - 0x8f], 0xfd
mov byte [ebp - 0x8e], 0xe7
mov byte [ebp - 0x8d], 0x22
mov byte [ebp - 0x8c], 0x1b
mov byte [ebp - 0x8b], 0x4c
mov byte [ebp - 0x8a], 0xed
mov byte [ebp - 0x89], 7
mov byte [ebp - 0x88], 0xa
mov byte [ebp - 0x87], 0x36
mov byte [ebp - 0x86], 7
mov byte [ebp - 0x85], 0x2c
mov byte [ebp - 0x84], 0xc
mov byte [ebp - 0x83], 0x3e
mov byte [ebp - 0x82], 3
mov byte [ebp - 0x81], 1
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0x11
mov byte [ebp - 0x7e], 0xb
mov byte [ebp - 0x7d], 0x3f
mov byte [ebp - 0x7c], 9
mov byte [ebp - 0x7b], 0x16
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb0]
or eax, 0x42
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb0]
and ecx, 0x42
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb0]
mov byte [ebp + ecx - 0x1a4], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x100405c5
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x36
jae 0x10040694
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004060c
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xb0]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xb0]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100405bd
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xaf]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0xb2]
movsx ecx, byte [ebp + ecx - 0x1a4]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xaf]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xb2]
movsx edx, byte [ebp + edx - 0x1a4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xaf]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xb2]
movsx edx, byte [ebp + edx - 0x1a4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xb0]
mov byte [ebp + ecx - 0x1a4], al
and dword [ebp - 0x40], 0
jmp 0x100405bd
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1a4], 0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1001a9f1
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1dc], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1dc]
call fcn.1003db36
mov dword [0x1060973c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.1001aa79
and dword [ebp - 0x54], 0
jmp 0x100406fc
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xe
jae 0x10040800
mov dword [ebp - 0x194], 0x5814
mov dword [ebp - 0x1ec], 0x1000bd54
cmp dword [ebp - 0x194], 0x59d7
jle 0x100407ab
and dword [ebp - 0x78], 0
jmp 0x10040737
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xd29
jge 0x100407ab
and dword [ebp - 0x48], 0
jmp 0x1004074d
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x522d
jge 0x100407a9
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x48]
sar eax, cl
cdq
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x29c]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x29c]
call fcn.1001a8b2
jmp 0x10040746
jmp 0x10040730
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x1a4], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x194], 0x543a
jge 0x100407d5
push dword [ebp - 0x1ec]
call fcn.10049b86
pop ecx
jmp 0x100407f1
or dword [ebp - 4], 0xffffffff
jmp 0x100407fb
jmp 0x100406f5
mov byte [ebp - 0x170], 2
mov byte [ebp - 0x16f], 4
mov byte [ebp - 0x16e], 0
mov byte [ebp - 0x16d], 0x26
mov byte [ebp - 0x16c], 6
mov byte [ebp - 0x16b], 0x13
mov byte [ebp - 0x16a], 0x45
mov byte [ebp - 0x169], 3
mov byte [ebp - 0x168], 0xb5
mov byte [ebp - 0x167], 0x85
mov byte [ebp - 0x166], 4
mov byte [ebp - 0x165], 0x13
mov byte [ebp - 0x164], 0x8d
mov byte [ebp - 0x163], 0x16
mov byte [ebp - 0x162], 0x82
mov byte [ebp - 0x161], 0x14
mov byte [ebp - 0x160], 0xec
mov byte [ebp - 0x15f], 0xd1
mov byte [ebp - 0x15e], 0xc8
mov byte [ebp - 0x15d], 0x59
mov byte [ebp - 0x15c], 0x4d
mov byte [ebp - 0x15b], 0xb7
mov byte [ebp - 0x15a], 0x45
mov byte [ebp - 0x159], 0x96
mov byte [ebp - 0x158], 0xdb
mov byte [ebp - 0x157], 0x1f
mov byte [ebp - 0x156], 0x9c
mov byte [ebp - 0x155], 0x85
mov byte [ebp - 0x154], 0xa7
mov byte [ebp - 0x153], 0xe9
mov byte [ebp - 0x152], 0xb8
mov byte [ebp - 0x151], 0x1f
mov byte [ebp - 0x150], 0xfb
mov byte [ebp - 0x14f], 0xd7
mov byte [ebp - 0x14e], 0xc0
mov byte [ebp - 0x14d], 0x64
mov byte [ebp - 0x14c], 0x1c
mov byte [ebp - 0x14b], 0x12
mov byte [ebp - 0x14a], 0x1b
mov byte [ebp - 0x149], 0xc7
mov byte [ebp - 0x148], 0x8c
mov byte [ebp - 0x147], 0xa6
mov byte [ebp - 0x146], 0x7f
mov byte [ebp - 0x145], 0x2c
mov byte [ebp - 0x144], 0xb3
mov byte [ebp - 0x143], 0xfa
mov byte [ebp - 0x142], 0xb7
mov byte [ebp - 0x141], 0x10
mov byte [ebp - 0x140], 0xe3
mov byte [ebp - 0x13f], 0xfe
mov byte [ebp - 0x13e], 0x98
mov byte [ebp - 0x13d], 0xcd
mov byte [ebp - 0x13c], 0x23
mov byte [ebp - 0x13b], 0x11
mov byte [ebp - 0x13a], 0x54
mov byte [ebp - 0x139], 0x16
mov byte [ebp - 0x138], 0x50
mov byte [ebp - 0x137], 0x78
mov byte [ebp - 0x136], 0x31
mov byte [ebp - 0x135], 0x8b
mov byte [ebp - 0x134], 0x6a
mov byte [ebp - 0x133], 0xd8
mov byte [ebp - 0x132], 0x33
mov byte [ebp - 0x131], 0x98
mov byte [ebp - 0x130], 0x10
mov byte [ebp - 0x12f], 0x76
mov byte [ebp - 0x12e], 0xe1
mov byte [ebp - 0x12d], 0x6d
mov byte [ebp - 0x12c], 0x18
mov byte [ebp - 0x12b], 0xc7
mov byte [ebp - 0x12a], 0x1f
mov byte [ebp - 0x129], 0x4b
mov byte [ebp - 0x128], 0xcb
mov byte [ebp - 0x127], 0x1d
mov byte [ebp - 0x126], 0xc6
mov byte [ebp - 0x125], 0x76
mov byte [ebp - 0x124], 8
mov byte [ebp - 0x123], 0x3f
mov byte [ebp - 0x122], 3
mov byte [ebp - 0x121], 0xe
mov byte [ebp - 0x120], 0xc
mov byte [ebp - 0x11f], 0x12
mov byte [ebp - 0x11e], 0xd
mov byte [ebp - 0x11d], 0x24
mov byte [ebp - 0x11c], 9
mov byte [ebp - 0x11b], 0x34
mov byte [ebp - 0x11a], 0xb
mov byte [ebp - 0x119], 0x10
mov byte [ebp - 0x118], 4
mov byte [ebp - 0x117], 7
mov byte [ebp - 0x116], 1
mov byte [ebp - 0x115], 6
mov byte [ebp - 0x114], 5
mov byte [ebp - 0x113], 0x17
mov byte [ebp - 0x112], 7
mov byte [ebp - 0x111], 0x17
mov byte [ebp - 0x110], 0xa
mov byte [ebp - 0x10f], 0x17
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x170]
or eax, 0x61
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
and ecx, 0x61
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x200], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x70], 0
jmp 0x10040afc
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x62
jae 0x10040ba6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x170]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10040b43
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x170]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10040af4
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x16f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x70]
movzx ecx, byte [ebp + ecx - 0x172]
movsx ecx, byte [ebp + ecx - 0x200]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x16f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x70]
movzx edx, byte [ebp + edx - 0x172]
movsx edx, byte [ebp + edx - 0x200]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x170]
mov byte [ebp + ecx - 0x200], al
and dword [ebp - 0x70], 0
jmp 0x10040af4
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x200], 0
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x284]
call fcn.1001a9f1
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1b4]
call fcn.1003db36
mov dword [0x106097f8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.1001aa79
and dword [ebp - 0x5c], 0
jmp 0x10040c11
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xf
jae 0x10040c24
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x200], 0
jmp 0x10040c0a
mov eax, dword [0x1060973c]
cmp eax, dword [ebp - 0x4c]
je 0x10040c38
mov eax, dword [0x106097f8]
cmp eax, dword [ebp - 0x4c]
jne 0x10040c50
mov ecx, dword [ebp + 0xc]
call fcn.1001a8bc
push eax
push dword [ebp + 8]
call fcn.1003f9c4
pop ecx
pop ecx
jmp 0x10041641
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x1004163f
mov eax, dword [ebp - 0x74]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004163f
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1004163f
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1004163f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1004163f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x20], ax
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10040cf1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10040cec
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x10040f6e
mov eax, dword [0x10609884]
and eax, 1
jne 0x10040d28
mov eax, dword [0x10609884]
or eax, 1
mov dword [0x10609884], eax
mov dword [ebp - 4], 4
mov ecx, 0x10609820
call fcn.10041eb5
push 0x1006017b
call fcn.10049b5c
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1060974e]
test eax, eax
je 0x10040d8e
mov ecx, 0x10609820
call fcn.10041f7a
movzx eax, al
test eax, eax
jne 0x10040d8e
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x18c]
push eax
mov ecx, 0x10609820
call fcn.10041f83
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x10609820
call fcn.10041f6c
push eax
lea ecx, [ebp - 0x18c]
call fcn.10041f9e
movzx eax, al
test eax, eax
je 0x10040d8e
lea ecx, [ebp - 0x18c]
call fcn.10041f98
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10040f6e
mov ecx, 0x10609820
call fcn.10041fef
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10609820
call fcn.10041ff3
and dword [ebp - 0x3c], 0
jmp 0x10040dc0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x10040f6e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x3c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x10040f69
mov dword [ebp - 0x188], 0x7f1e
mov dword [ebp - 0x1a8], 0x1000bd90
cmp dword [ebp - 0x188], 0x8144
jle 0x10040e90
and dword [ebp - 0x64], 0
jmp 0x10040e1e
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x7b4
jge 0x10040e90
and dword [ebp - 0x6c], 0
jmp 0x10040e34
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x7c9
jge 0x10040e8e
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cdq
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x2e4]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x2e4]
call fcn.1001a8b2
jmp 0x10040e2d
jmp 0x10040e17
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.1001a9f1
mov dword [ebp - 4], 5
mov byte [ebp - 4], 6
cmp dword [ebp - 0x188], 0x7c1b
jge 0x10040eca
push dword [ebp - 0x1a8]
call fcn.10049b86
pop ecx
jmp 0x10040ee6
mov dword [ebp - 4], 5
jmp 0x10040ef6
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x26c]
call fcn.1003db36
mov dword [ebp - 0x184], eax
movzx eax, byte [0x1060974e]
test eax, eax
je 0x10040f26
mov ecx, 0x10609820
call fcn.10041f7a
movzx eax, al
test eax, eax
jne 0x10040f43
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x10609820
call fcn.10041fb1
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1060974e], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10040f5a
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x4c]
jne 0x10040f5a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.1001aa79
jmp 0x10040db9
cmp dword [ebp + 0x10], 0
jne 0x10040f8e
cmp dword [ebp - 0x38], 0xffffffff
je 0x10040f8e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x20], ax
movzx eax, word [ebp - 0x20]
cmp eax, 0xffff
je 0x1004163f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x20]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jbe 0x1004163a
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 - 0x28], edx
jae 0x1004163a
mov eax, dword [0x10609884]
and eax, 2
jne 0x10041018
mov eax, dword [0x10609884]
or eax, 2
mov dword [0x10609884], eax
mov dword [ebp - 4], 8
push 0x63fd
call fcn.10045524
pop ecx
mov byte [0x106097d0], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x10c], 1
mov byte [ebp - 0x10b], 0x98
mov byte [ebp - 0x10a], 2
mov byte [ebp - 0x109], 0
mov byte [ebp - 0x108], 0x54
mov byte [ebp - 0x107], 6
mov byte [ebp - 0x106], 0xa5
mov byte [ebp - 0x105], 0x2b
mov byte [ebp - 0x104], 0x1a
mov byte [ebp - 0x103], 6
mov byte [ebp - 0x102], 0x36
mov byte [ebp - 0x101], 0xba
mov byte [ebp - 0x100], 0xe2
mov byte [ebp - 0xff], 0x2e
mov byte [ebp - 0xfe], 0x1b
mov byte [ebp - 0xfd], 0x5a
mov byte [ebp - 0xfc], 0xf6
mov byte [ebp - 0xfb], 0x8c
mov byte [ebp - 0xfa], 0xca
mov byte [ebp - 0xf9], 0x76
mov byte [ebp - 0xf8], 0xd4
mov byte [ebp - 0xf7], 0x9f
mov byte [ebp - 0xf6], 0xbb
mov byte [ebp - 0xf5], 0x38
mov byte [ebp - 0xf4], 0x37
mov byte [ebp - 0xf3], 0x5a
mov byte [ebp - 0xf2], 0x49
mov byte [ebp - 0xf1], 0x8c
mov byte [ebp - 0xf0], 4
mov byte [ebp - 0xef], 0x45
mov byte [ebp - 0xee], 0x84
mov byte [ebp - 0xed], 0x9b
mov byte [ebp - 0xec], 0x7f
mov byte [ebp - 0xeb], 0x1d
mov byte [ebp - 0xea], 0xcb
mov byte [ebp - 0xe9], 0xc1
mov byte [ebp - 0xe8], 0x6d
mov byte [ebp - 0xe7], 0xd1
mov byte [ebp - 0xe6], 0x6d
mov byte [ebp - 0xe5], 0xf8
mov byte [ebp - 0xe4], 0x61
mov byte [ebp - 0xe3], 0x54
mov byte [ebp - 0xe2], 0xc6
mov byte [ebp - 0xe1], 0xd5
mov byte [ebp - 0xe0], 0x63
mov byte [ebp - 0xdf], 6
mov byte [ebp - 0xde], 0x8c
mov byte [ebp - 0xdd], 0xf3
mov byte [ebp - 0xdc], 0x30
mov byte [ebp - 0xdb], 0xc1
mov byte [ebp - 0xda], 0xba
mov byte [ebp - 0xd9], 0xfe
mov byte [ebp - 0xd8], 0xad
mov byte [ebp - 0xd7], 0x4c
mov byte [ebp - 0xd6], 0x52
mov byte [ebp - 0xd5], 0x3b
mov byte [ebp - 0xd4], 0xed
mov byte [ebp - 0xd3], 0x2a
mov byte [ebp - 0xd2], 0x6e
mov byte [ebp - 0xd1], 0xaa
mov byte [ebp - 0xd0], 0x42
mov byte [ebp - 0xcf], 0x9e
mov byte [ebp - 0xce], 0x49
mov byte [ebp - 0xcd], 0x37
mov byte [ebp - 0xcc], 0xc8
mov byte [ebp - 0xcb], 0x63
mov byte [ebp - 0xca], 0x40
mov byte [ebp - 0xc9], 0xf
mov byte [ebp - 0xc8], 0x7f
mov byte [ebp - 0xc7], 0xc3
mov byte [ebp - 0xc6], 0xf1
mov byte [ebp - 0xc5], 0x80
mov byte [ebp - 0xc4], 0xa2
mov byte [ebp - 0xc3], 0xba
mov byte [ebp - 0xc2], 0x82
mov byte [ebp - 0xc1], 0x14
mov byte [ebp - 0xc0], 0x86
mov byte [ebp - 0xbf], 0xcd
mov byte [ebp - 0xbe], 0xa6
mov byte [ebp - 0xbd], 0x33
mov byte [ebp - 0xbc], 0xa9
mov byte [ebp - 0xbb], 0x9d
mov byte [ebp - 0xba], 0x6e
mov byte [ebp - 0xb9], 8
mov byte [ebp - 0xb8], 0x9a
mov byte [ebp - 0xb7], 0x80
mov byte [ebp - 0xb6], 0x92
mov byte [ebp - 0xb5], 6
mov byte [ebp - 0xb4], 8
mov byte [ebp - 0xb3], 0
mov byte [ebp - 0xb2], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x10c]
or eax, 0xf4
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
and ecx, 0xf4
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x60], 0
jmp 0x100412e5
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5b
jae 0x10041470
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x10c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004132c
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x10c]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x10c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x100412dd
mov dword [ebp - 0x178], 0x3539
mov dword [ebp - 0x1e4], 0x1000be0c
cmp dword [ebp - 0x178], 0x3731
jle 0x100413d1
and dword [ebp - 0x50], 0
jmp 0x1004135d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x6e55
jge 0x100413d1
and dword [ebp - 0x58], 0
jmp 0x10041373
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x4020
jge 0x100413cf
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
shl eax, cl
cdq
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edx
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x2cc]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x2cc]
call fcn.1001a8b2
jmp 0x1004136c
jmp 0x10041356
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x10b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x60]
movzx ecx, byte [ebp + ecx - 0x10e]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x10b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x60]
movzx edx, byte [ebp + edx - 0x10e]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x10c]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 4], 9
cmp dword [ebp - 0x178], 0x33ec
jge 0x10041441
push dword [ebp - 0x1e4]
call fcn.10049b86
pop ecx
jmp 0x1004145d
or dword [ebp - 4], 0xffffffff
jmp 0x10041467
and dword [ebp - 0x60], 0
jmp 0x100412dd
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x10609884]
and eax, 4
jne 0x100414b6
mov eax, dword [0x10609884]
or eax, 4
mov dword [0x10609884], eax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x10609804
call fcn.1001a9f1
push 0x1006016c
call fcn.10049b5c
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x68], 0
jmp 0x100414c3
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jae 0x100414d3
mov eax, dword [ebp - 0x68]
mov byte [ebp + eax - 0x34], 0
jmp 0x100414bc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x106097d0]
cmp eax, ecx
je 0x100414f3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x100414d9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x224]
call fcn.1004266a
mov dword [ebp - 4], 0xc
push 0x10609804
lea ecx, [ebp - 0x224]
call fcn.1001aa83
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x224]
call fcn.10041e95
push dword [eax]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x224]
call fcn.10041e81
push dword [eax]
lea ecx, [ebp - 0x254]
call fcn.10042693
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x254]
push eax
call fcn.1003e53f
pop ecx
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x100415e9
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x23c]
call fcn.1001a9f1
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x1ac]
lea ecx, [ebp - 0x23c]
call fcn.1003df46
movzx eax, al
test eax, eax
je 0x100415bc
push 0
push dword [ebp - 0x1ac]
push 0
push dword [ebp - 0x174]
call fcn.10040386
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x100415d8
push 1
push 0
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x174]
call fcn.10040386
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
call fcn.1001aa79
jmp 0x1004161c
cmp dword [ebp + 0x10], 0
jne 0x100415ff
mov ecx, dword [ebp + 0xc]
call fcn.1001a8bc
mov dword [ebp - 0x17c], eax
jmp 0x10041609
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
push dword [ebp + 8]
call fcn.1003f9c4
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x254]
call fcn.10041e3a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.1001aa79
mov eax, dword [ebp - 0x28]
jmp 0x10041641
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret