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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
and dword [ebp - 0xc], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x411895
lea eax, [ebp + 0x14]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x178]
movzx eax, byte [eax]
test eax, eax
je 0x411872
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x410755
jmp 0x4118ea
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x4550
je 0x410774
jmp 0x4118ea
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x410792
jmp 0x4118ea
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x158], eax
push 0x14e2
push 0
push 0x43fb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x158]
push eax
push 0x17da
push 0x660e
push 0x60bf
push 0x5039
lea eax, [ebp - 0x18]
push eax
call fcn.004104f3
add esp, 0x30
cmp dword [ebp - 0x18], 0
jne 0x4107f2
jmp 0x4118ea
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
xor ecx, ecx
call fcn.00401e6d
push eax
call fcn.004a3da5
pop ecx
mov byte [ebp - 0x130], 6
mov byte [ebp - 0x12f], 0xc
mov byte [ebp - 0x12e], 9
mov byte [ebp - 0x12d], 1
mov byte [ebp - 0x12c], 2
mov byte [ebp - 0x12b], 7
mov byte [ebp - 0x12a], 3
mov byte [ebp - 0x129], 0
mov byte [ebp - 0x128], 8
mov byte [ebp - 0x127], 7
mov byte [ebp - 0x126], 7
mov byte [ebp - 0x125], 6
mov byte [ebp - 0x124], 5
mov byte [ebp - 0x123], 7
mov byte [ebp - 0x122], 0x3a
mov byte [ebp - 0x121], 0x79
mov byte [ebp - 0x120], 0x2f
mov byte [ebp - 0x11f], 0xc5
mov byte [ebp - 0x11e], 0xc3
mov byte [ebp - 0x11d], 7
mov byte [ebp - 0x11c], 0xbb
mov byte [ebp - 0x11b], 0xc0
mov byte [ebp - 0x11a], 0xa7
mov byte [ebp - 0x119], 0x3c
mov byte [ebp - 0x118], 0x65
mov byte [ebp - 0x117], 0xb2
mov byte [ebp - 0x116], 0x36
mov byte [ebp - 0x115], 0xea
mov byte [ebp - 0x114], 0x49
mov byte [ebp - 0x113], 0x46
mov byte [ebp - 0x112], 0x18
mov byte [ebp - 0x111], 0xcd
mov byte [ebp - 0x110], 0x50
mov byte [ebp - 0x10f], 0x2f
mov byte [ebp - 0x10e], 0xb7
mov byte [ebp - 0x10d], 0x6e
mov byte [ebp - 0x10c], 0x55
mov byte [ebp - 0x10b], 0xb9
mov byte [ebp - 0x10a], 0xca
mov byte [ebp - 0x109], 0x88
mov byte [ebp - 0x108], 0x44
mov byte [ebp - 0x107], 0xc
mov byte [ebp - 0x106], pe_nt_image_headers32
mov byte [ebp - 0x105], 0xca
mov byte [ebp - 0x104], 0xa8
mov byte [ebp - 0x103], 0xfa
mov byte [ebp - 0x102], 1
mov byte [ebp - 0x101], 0x80
mov byte [ebp - 0x100], 0
mov byte [ebp - 0xff], 0x2d
mov byte [ebp - 0xfe], 0x63
mov byte [ebp - 0xfd], 0x7e
mov byte [ebp - 0xfc], 0xc4
mov byte [ebp - 0xfb], 7
mov byte [ebp - 0xfa], 0x38
mov byte [ebp - 0xf9], 0xe1
mov byte [ebp - 0xf8], 0x82
mov byte [ebp - 0xf7], 0x7f
mov byte [ebp - 0xf6], 4
mov byte [ebp - 0xf5], 0xf8
mov byte [ebp - 0xf4], 0x69
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x31
mov byte [ebp - 0xf1], 0x65
mov byte [ebp - 0xf0], 0x36
mov byte [ebp - 0xef], 0x7e
mov byte [ebp - 0xee], 0xa9
mov byte [ebp - 0xed], 0x55
mov byte [ebp - 0xec], 0xe1
mov byte [ebp - 0xeb], 0xfd
mov byte [ebp - 0xea], 0x40
mov byte [ebp - 0xe9], 0x54
mov byte [ebp - 0xe8], 0x6a
mov byte [ebp - 0xe7], 4
mov byte [ebp - 0xe6], 9
mov byte [ebp - 0xe5], 1
mov byte [ebp - 0xe4], 0xd
mov byte [ebp - 0xe3], 0
mov byte [ebp - 0xe2], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x130]
or eax, 0x3d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x130]
and ecx, 0x3d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x130]
mov byte [ebp + ecx - 0x164], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x48], 0
jmp 0x410a85
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x4f
jae 0x410b79
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x130]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x410acc
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x130]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x130]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x410a7d
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x12f]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x48]
movzx ecx, byte [ebp + ecx - 0x132]
movsx ecx, byte [ebp + ecx - 0x164]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x12f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x132]
movsx edx, byte [ebp + edx - 0x164]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x12f]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x48]
movzx edx, byte [ebp + edx - 0x132]
movsx edx, byte [ebp + edx - 0x164]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x130]
mov byte [ebp + ecx - 0x164], al
push 0x37bc
lea eax, [ebp - 0x48]
push eax
push 0x451e
push 1
push 0x4111
push 0x49c5
push 0x6893
push 0
call fcn.0040fb47
add esp, 0x20
jmp 0x410a7d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x164], 0
push 0xa
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00413db7
xor edx, edx
mov ecx, eax
call fcn.00401e32
pop ecx
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x27c]
call fcn.00413e3f
and dword [ebp - 0x5c], 0
jmp 0x410bc3
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xb
jae 0x410bd6
mov eax, dword [ebp - 0x5c]
mov byte [ebp + eax - 0x164], 0
jmp 0x410bbc
mov byte [ebp - 0x90], 8
mov byte [ebp - 0x8f], 0xb1
mov byte [ebp - 0x8e], 9
mov byte [ebp - 0x8d], 0
mov byte [ebp - 0x8c], 6
mov byte [ebp - 0x8b], 9
mov byte [ebp - 0x8a], 2
mov byte [ebp - 0x89], 0xe
mov byte [ebp - 0x88], 4
mov byte [ebp - 0x87], 3
mov byte [ebp - 0x86], 5
mov byte [ebp - 0x85], 5
mov byte [ebp - 0x84], 1
mov byte [ebp - 0x83], 7
mov byte [ebp - 0x82], 7
mov byte [ebp - 0x81], 0
mov byte [ebp - 0x80], 3
mov byte [ebp - 0x7f], 4
mov byte [ebp - 0x7e], 0x1b
mov byte [ebp - 0x7d], 0x95
mov byte [ebp - 0x7c], 0xbf
mov byte [ebp - 0x7b], 9
mov byte [ebp - 0x7a], 0x3a
mov byte [ebp - 0x79], 0x95
mov byte [ebp - 0x78], 0x26
mov byte [ebp - 0x77], 0x77
mov byte [ebp - 0x76], 0xfa
mov byte [ebp - 0x75], 0x57
mov byte [ebp - 0x74], 0xf2
mov byte [ebp - 0x73], 0x1f
mov byte [ebp - 0x72], 0x23
mov byte [ebp - 0x71], 0x22
mov byte [ebp - 0x70], 0xd0
mov byte [ebp - 0x6f], 0x2e
mov byte [ebp - 0x6e], 0xd7
mov byte [ebp - 0x6d], 0xc8
mov byte [ebp - 0x6c], 0xcc
mov byte [ebp - 0x6b], 0xac
mov byte [ebp - 0x6a], 0x37
mov byte [ebp - 0x69], 0x92
mov byte [ebp - 0x68], 0x68
mov byte [ebp - 0x67], 0xd1
mov byte [ebp - 0x66], 0xa0
mov byte [ebp - 0x65], 0xf8
mov byte [ebp - 0x64], 0xb2
mov byte [ebp - 0x63], 0x49
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x61], 3
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x90]
or eax, 0x81
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
and ecx, 0x81
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x170], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x60], 0
jmp 0x410d19
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x30
jae 0x410de8
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x90]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x410d60
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x90]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x90]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x410d11
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x8f]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x60]
movzx ecx, byte [ebp + ecx - 0x92]
movsx ecx, byte [ebp + ecx - 0x170]
or eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x8f]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x60]
movzx edx, byte [ebp + edx - 0x92]
movsx edx, byte [ebp + edx - 0x170]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x90]
mov byte [ebp + ecx - 0x170], al
push 0x1be5
push 0x3e03
push 0x36d8
push 1
push 0
push 0x21c7
push 0x127d
lea eax, [ebp - 0x60]
push eax
call fcn.004106e9
add esp, 0x20
jmp 0x410d11
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x170], 0
push 0xa
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x234]
call fcn.00413db7
xor edx, edx
mov ecx, eax
call fcn.00401e32
pop ecx
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x234]
call fcn.00413e3f
and dword [ebp - 0x54], 0
jmp 0x410e32
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xb
jae 0x410e45
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x170], 0
jmp 0x410e2b
push dword [ebp - 0x184]
push dword [ebp - 0x18c]
call fcn.0040b8eb
pop ecx
pop ecx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x140]
mov dword [eax + 8], ecx
push 0x4674
push 0x7a0f
push 0x3708
push 0x52b5
lea eax, [ebp - 0x140]
push eax
push 1
push 0x1f19
lea eax, [ebp - 8]
push eax
push 0x45a4
push 0
push 0
push 0xc3d
push 0xead
push 0x7b8d
push 0x4976
push 0x2a03
push 0x3059
call fcn.00410305
add esp, 0x44
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x410ede
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
push 0
call fcn.0040b8eb
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
and dword [ebp - 0x58], 0
jmp 0x410f00
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x28]
jge 0x410f9f
push 0xef6
push 1
lea eax, [ebp - 0x58]
push eax
push 0x5bcc
push 0x4e58
push 0x1cb1
push 0x32a2
push 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.0040e6ab
add esp, 0x34
lea eax, [ebp - 0x19c]
push eax
push 0x29f5
push 0x14ca
push 0xebc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 1
push 0x5936
push 0x10d9
push 0x4ac6
lea eax, [ebp - 0x18]
push eax
push 0x4d16
call fcn.0040ff6a
add esp, 0x34
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x410ef9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
push 0x6746
lea eax, [ebp - 0x28]
push eax
push 1
push 0x7cf8
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
push 0x4e6b
call fcn.0040f574
add esp, 0x20
and dword [ebp - 0x134], 0
jmp 0x410feb
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x28]
jge 0x41103d
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
and dword [ecx + eax], 0
push 1
push 0x4d26
push 0x25be
push 0
push 0x10e0
push 0x5eb0
push 0x2378
push 0x2305
lea eax, [ebp - 4]
push eax
push 0x7410
push 0x6e8
call fcn.0040fe00
add esp, 0x2c
jmp 0x410fde
lea eax, [ebp - 8]
push eax
push 0x5669
push 0x2085
push 0xddb
push 0x20b3
push 0
push 0x5cc3
push 0x11d2
push 0x3b79
push 1
push 1
push 0x1158
push 0x6d10
push 0x7cfd
lea eax, [ebp - 0x28]
push eax
push 0x1272
lea eax, [ebp - 4]
push eax
call fcn.00410305
add esp, 0x44
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
push 0x30bb
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x1a46
push 0x77e0
push 1
push 0x4870
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x631
call fcn.004104f3
add esp, 0x30
mov eax, dword [ebp - 0x28]
shl eax, 1
mov ecx, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.00413db7
lea ecx, [ebp - 0x1d4]
call fcn.00413e65
mov dword [ebp - 0x14c], eax
push dword [ebp - 0x14c]
mov eax, dword [ebp - 0x14c]
shr eax, 1
push eax
call fcn.0040b8eb
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0xe0], 3
mov byte [ebp - 0xdf], 0x17
mov byte [ebp - 0xde], 2
mov byte [ebp - 0xdd], 0
mov byte [ebp - 0xdc], 1
mov byte [ebp - 0xdb], 8
mov byte [ebp - 0xda], 0
mov byte [ebp - 0xd9], 0x4a
mov byte [ebp - 0xd8], 0x44
mov byte [ebp - 0xd7], 0xb
mov byte [ebp - 0xd6], 0x20
mov byte [ebp - 0xd5], 0xc3
mov byte [ebp - 0xd4], 0x67
mov byte [ebp - 0xd3], 0x59
mov byte [ebp - 0xd2], 0xc
mov byte [ebp - 0xd1], 0xbf
mov byte [ebp - 0xd0], 0xd0
mov byte [ebp - 0xcf], 0xb7
mov byte [ebp - 0xce], 0x19
mov byte [ebp - 0xcd], 0xbf
mov byte [ebp - 0xcc], 0xf9
mov byte [ebp - 0xcb], 0xdf
mov byte [ebp - 0xca], 0x50
mov byte [ebp - 0xc9], 0x40
mov byte [ebp - 0xc8], 0x67
mov byte [ebp - 0xc7], 0xa8
mov byte [ebp - 0xc6], 0xc1
mov byte [ebp - 0xc5], 0x98
mov byte [ebp - 0xc4], 0x43
mov byte [ebp - 0xc3], 0x27
mov byte [ebp - 0xc2], 0x2a
mov byte [ebp - 0xc1], 0x45
mov byte [ebp - 0xc0], 0xae
mov byte [ebp - 0xbf], 0x12
mov byte [ebp - 0xbe], 0x6c
mov byte [ebp - 0xbd], 0x6a
mov byte [ebp - 0xbc], 0xac
mov byte [ebp - 0xbb], 0xc2
mov byte [ebp - 0xba], 0x82
mov byte [ebp - 0xb9], 0x32
mov byte [ebp - 0xb8], 0xa5
mov byte [ebp - 0xb7], 0x89
mov byte [ebp - 0xb6], 0xa5
mov byte [ebp - 0xb5], 0x3c
mov byte [ebp - 0xb4], 0xab
mov byte [ebp - 0xb3], 0x29
mov byte [ebp - 0xb2], 0xe1
mov byte [ebp - 0xb1], 0x9e
mov byte [ebp - 0xb0], 0x7a
mov byte [ebp - 0xaf], 0x26
mov byte [ebp - 0xae], 0xbf
mov byte [ebp - 0xad], 0xc9
mov byte [ebp - 0xac], 0x6a
mov byte [ebp - 0xab], 0x47
mov byte [ebp - 0xaa], 0x47
mov byte [ebp - 0xa9], 0xc6
mov byte [ebp - 0xa8], 0xba
mov byte [ebp - 0xa7], 0x75
mov byte [ebp - 0xa6], 0x7a
mov byte [ebp - 0xa5], 0x1a
mov byte [ebp - 0xa4], 0xfe
mov byte [ebp - 0xa3], 0x55
mov byte [ebp - 0xa2], 0x17
mov byte [ebp - 0xa1], 0x4f
mov byte [ebp - 0xa0], 0xe
mov byte [ebp - 0x9f], 0xc0
mov byte [ebp - 0x9e], 0x34
mov byte [ebp - 0x9d], 0x6a
mov byte [ebp - 0x9c], 0x31
mov byte [ebp - 0x9b], 9
mov byte [ebp - 0x9a], 0x12
mov byte [ebp - 0x99], 0x52
mov byte [ebp - 0x98], 0x87
mov byte [ebp - 0x97], 0x9f
mov byte [ebp - 0x96], 0x2b
mov byte [ebp - 0x95], 0x64
mov byte [ebp - 0x94], 0x4e
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xe0]
or eax, 0x7b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xe0]
and ecx, 0x7b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xe0]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x38], 0
jmp 0x41138e
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4d
jae 0x41148f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xe0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x4113d5
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xe0]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xe0]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x411386
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xdf]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0xe2]
movsx ecx, byte [ebp + ecx - 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xdf]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x38]
movzx edx, byte [ebp + edx - 0xe2]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xdf]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x38]
movzx edx, byte [ebp + edx - 0xe2]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xe0]
mov byte [ebp + ecx - 0x34], al
lea eax, [ebp - 0x38]
push eax
push 1
push 0x8ca
push 0x6cd8
push 0x527c
push 0x441d
push 0x300a
push 1
push 0x24a1
push 0xcf0
push 0x20b9
push 0x54c1
push 0x29d6
call fcn.0040e6ab
add esp, 0x34
jmp 0x411386
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x34], 0
cmp dword [ebp - 0x3c], 4
jle 0x4114e7
or dword [ebp - 0xc], 1
or dword [ebp - 0xc], 2
or dword [ebp - 0xc], 4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x264]
call fcn.00413db7
push eax
mov eax, dword [ebp - 0x3c]
sub eax, 4
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0040c126
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.00414ea5
pop ecx
mov dword [ebp - 0x144], eax
jmp 0x411502
or dword [ebp - 0xc], 8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040c126
pop ecx
pop ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1a4], eax
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1bc]
call fcn.00413de6
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x411536
and dword [ebp - 0xc], 0xfffffff7
lea ecx, [ebp - 0x21c]
call fcn.00413e3f
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x41154d
and dword [ebp - 0xc], 0xfffffffb
lea ecx, [ebp - 0x24c]
call fcn.00413e3f
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x411564
and dword [ebp - 0xc], 0xfffffffd
lea ecx, [ebp - 0x204]
call fcn.00413e3f
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x41157b
and dword [ebp - 0xc], 0xfffffffe
lea ecx, [ebp - 0x264]
call fcn.00413e3f
and dword [ebp - 0x4c], 0
jmp 0x411588
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 5
jae 0x411598
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x34], 0
jmp 0x411581
lea eax, [ebp - 8]
push eax
push 0x7a4
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0x4bf3
push 0x1ca3
push 0x55fc
call fcn.0040f574
add esp, 0x20
push 0
push dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00413e69
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + eax], 0
push 0x2c3b
push 0x3b02
push 0x3edf
push 1
push 0x636d
push 0x3a3c
lea eax, [ebp - 4]
push eax
push 1
call fcn.0040fb47
add esp, 0x20
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x41167a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x41164e
mov dword [ebp - 0x13c], 0xc
jmp 0x41166c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x148], eax
jmp 0x411681
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
and dword [ebp - 0x50], 0
jmp 0x41169a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x18]
jae 0x4117d7
push dword [ebp - 0x150]
mov eax, dword [ebp - 0x150]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0040b8eb
pop ecx
pop ecx
mov dword [ebp - 0x138], eax
push dword [ebp - 0x138]
lea eax, [ebp - 0x1ec]
push eax
call fcn.0040c126
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
push 0x5a08
push 0x1cc3
push 0x1083
lea eax, [ebp - 4]
push eax
push 0x5767
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x1c20
push 0x3cd3
push 1
push 0
push 0x1b9e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1ec]
push eax
push 0x681b
lea eax, [ebp - 0x138]
push eax
push 0x75af
call fcn.00410305
add esp, 0x44
push 1
lea eax, [ebp - 0x138]
push eax
push 0x5058
push 1
lea eax, [ebp - 4]
push eax
push 0x2e6b
push 0x424
push 0x18a3
push 0x1245
push 0x632e
push 0xbdc
call fcn.0040fe00
add esp, 0x2c
push 0x519e
lea eax, [ebp - 0x1c]
push eax
push 0x2374
lea eax, [ebp - 0x18]
push eax
push 0x2145
push 0x1a95
push 1
push 1
lea eax, [ebp - 4]
push eax
push 0x5c4a
push 0xa1a
push 0x2493
push 0x126a
call fcn.0040ff6a
add esp, 0x34
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1ec]
call fcn.00413e3f
jmp 0x411693
and dword [ebp - 0x40], 0
jmp 0x4117e4
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x40], eax
jae 0x41184b
push 0x66d7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5c5c
push 0x5d0a
push 1
push 0x7523
push 0x7a46
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
push 0x3e92
push 0x7564
push 0x335a
push 0x2c9e
push 0x2155
call fcn.00410305
add esp, 0x44
jmp 0x4117dd
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x1bc]
call fcn.00413e3f
lea ecx, [ebp - 0x1d4]
call fcn.00413e3f
jmp 0x411893
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
and dword [eax], 0
jmp 0x4118ea
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x174], eax
push 0x2dd3
push 0x5dac
push dword [ebp - 0x1a0]
push dword [ebp - 0x188]
push 0x5034
push dword [ebp - 0x198]
push dword [ebp - 0x174]
push 1
call fcn.004102b9
add esp, 0x20
mov esp, ebp
pop ebp
ret