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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
cmp dword [ebp + 0x10], 0
jbe 0x407cd1
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x407cd1
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call section..tvps_1
pop ecx
pop ecx
jmp 0x408a5f
cmp dword [ebp + 0x10], 0
jne 0x408311
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.00401af2
mov dword [ebp - 0x50], eax
cmp dword [0xaea630], 0
jne 0x4082e5
mov dword [ebp - 0x144], 0x29a0
lea eax, [ebp - 0x144]
push eax
call fcn.00407bad
pop ecx
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x118], 2
mov byte [ebp - 0x117], 0x63
mov byte [ebp - 0x116], 0xa
mov byte [ebp - 0x115], 0x31
mov byte [ebp - 0x114], 0xc
mov byte [ebp - 0x113], 0x12
mov byte [ebp - 0x112], 0x33
mov byte [ebp - 0x111], 0xa
mov byte [ebp - 0x110], 0xd
mov byte [ebp - 0x10f], 0x16
mov byte [ebp - 0x10e], 0x9c
mov byte [ebp - 0x10d], 0xd5
mov byte [ebp - 0x10c], 0x79
mov byte [ebp - 0x10b], 0x2c
mov byte [ebp - 0x10a], 0xc2
mov byte [ebp - 0x109], 0x31
mov byte [ebp - 0x108], 0xe7
mov byte [ebp - 0x107], 0x2f
mov byte [ebp - 0x106], 0x6d
mov byte [ebp - 0x105], 0xaa
mov byte [ebp - 0x104], 0xb0
mov byte [ebp - 0x103], 0x2b
mov byte [ebp - 0x102], 0x7c
mov byte [ebp - 0x101], 0x6d
mov byte [ebp - 0x100], 0xcd
mov byte [ebp - 0xff], 0x1a
mov byte [ebp - 0xfe], 5
mov byte [ebp - 0xfd], 0x52
mov byte [ebp - 0xfc], 0x17
mov byte [ebp - 0xfb], 0xfb
mov byte [ebp - 0xfa], 0x35
mov byte [ebp - 0xf9], 0x15
mov byte [ebp - 0xf8], 0xcb
mov byte [ebp - 0xf7], 0x8c
mov byte [ebp - 0xf6], 0xae
mov byte [ebp - 0xf5], 0x12
mov byte [ebp - 0xf4], 0xcf
mov byte [ebp - 0xf3], 0xd5
mov byte [ebp - 0xf2], 0xe7
mov byte [ebp - 0xf1], 0x6f
mov byte [ebp - 0xf0], 0x5f
mov byte [ebp - 0xef], 0x6f
mov byte [ebp - 0xee], 0x72
mov byte [ebp - 0xed], 0x95
mov byte [ebp - 0xec], 0x1d
mov byte [ebp - 0xeb], 0xa2
mov byte [ebp - 0xea], 0x39
mov byte [ebp - 0xe9], 0x54
mov byte [ebp - 0xe8], 0xb7
mov byte [ebp - 0xe7], 0xba
mov byte [ebp - 0xe6], 0xf9
mov byte [ebp - 0xe5], 0xad
mov byte [ebp - 0xe4], 0x9d
mov byte [ebp - 0xe3], 0xc9
mov byte [ebp - 0xe2], 0xac
mov byte [ebp - 0xe1], 0xc
mov byte [ebp - 0xe0], 0x6f
mov byte [ebp - 0xdf], 0xa0
mov byte [ebp - 0xde], 3
mov byte [ebp - 0xdd], 1
mov byte [ebp - 0xdc], 4
mov byte [ebp - 0xdb], 0x33
mov byte [ebp - 0xda], 1
mov byte [ebp - 0xd9], 0
mov byte [ebp - 0xd8], 0xb
mov byte [ebp - 0xd7], 0x1d
mov byte [ebp - 0xd6], 9
mov byte [ebp - 0xd5], 0x16
mov byte [ebp - 0xd4], 8
mov byte [ebp - 0xd3], 1
mov byte [ebp - 0xd2], 0
mov byte [ebp - 0xd1], 0x28
mov byte [ebp - 0xd0], 6
mov byte [ebp - 0xcf], 0x34
mov byte [ebp - 0xce], 7
mov byte [ebp - 0xcd], 0x1a
mov byte [ebp - 0xcc], 5
mov byte [ebp - 0xcb], 0x1b
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x118]
or eax, 0x17
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x118]
and ecx, 0x17
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x118]
mov byte [ebp + ecx - 0x15c], al
mov dword [ebp - 0xc], 2
and dword [ebp - 0x4c], 0
jmp 0x407f83
mov eax, dword [ebp - 0xc]
inc eax
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4e
jae 0x40802d
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x118]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0xc], eax
jne 0x407fca
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x118]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x118]
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0xc], eax
jmp 0x407f7b
mov eax, dword [ebp - 0xc]
movzx eax, byte [ebp + eax - 0x117]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0x11a]
movsx ecx, byte [ebp + ecx - 0x15c]
or eax, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ebp + ecx - 0x117]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x11a]
movsx edx, byte [ebp + edx - 0x15c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ebp + ecx - 0x118]
mov byte [ebp + ecx - 0x15c], al
and dword [ebp - 0x4c], 0
jmp 0x407f7b
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x15c], 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.0040a105
mov edx, dword [ebp - 0x120]
mov ecx, eax
call fcn.00401af2
mov dword [0xaea630], eax
lea ecx, [ebp - 0x1e0]
call fcn.0040a134
and dword [ebp - 0x44], 0
jmp 0x408077
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
jae 0x40808a
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x15c], 0
jmp 0x408070
mov byte [ebp - 0x84], 0xb
mov byte [ebp - 0x83], 0x89
mov byte [ebp - 0x82], 4
mov byte [ebp - 0x81], 7
mov byte [ebp - 0x80], 0xa
mov byte [ebp - 0x7f], 0x11
mov byte [ebp - 0x7e], 0xc
mov byte [ebp - 0x7d], 0x16
mov byte [ebp - 0x7c], 0xd
mov byte [ebp - 0x7b], 0x24
mov byte [ebp - 0x7a], 1
mov byte [ebp - 0x79], 0x25
mov byte [ebp - 0x78], 3
mov byte [ebp - 0x77], 0x13
mov byte [ebp - 0x76], 0
mov byte [ebp - 0x75], 0x22
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 0x20
mov byte [ebp - 0x72], 7
mov byte [ebp - 0x71], 0x11
mov byte [ebp - 0x70], 6
mov byte [ebp - 0x6f], 0x22
mov byte [ebp - 0x6e], 8
mov byte [ebp - 0x6d], 0x3f
mov byte [ebp - 0x6c], 0x17
mov byte [ebp - 0x6b], 0xbb
mov byte [ebp - 0x6a], 0x4b
mov byte [ebp - 0x69], 0x5e
mov byte [ebp - 0x68], 0x88
mov byte [ebp - 0x67], 0x27
mov byte [ebp - 0x66], 0xc6
mov byte [ebp - 0x65], 0x2c
mov byte [ebp - 0x64], 0x5d
mov byte [ebp - 0x63], 0x67
mov byte [ebp - 0x62], 0x61
mov byte [ebp - 0x61], 0xb
mov byte [ebp - 0x60], 0xe4
mov byte [ebp - 0x5f], 0xc3
mov byte [ebp - 0x5e], 0xdc
mov byte [ebp - 0x5d], 0xaa
mov byte [ebp - 0x5c], 0x7b
mov byte [ebp - 0x5b], 0x9f
mov byte [ebp - 0x5a], 0x66
mov byte [ebp - 0x59], 0x45
mov byte [ebp - 0x58], 0xdf
mov byte [ebp - 0x57], 0xb6
mov byte [ebp - 0x56], 0xa4
mov byte [ebp - 0x55], 0x14
mov byte [ebp - 0x54], 2
mov byte [ebp - 0x53], 0xa
mov byte [ebp - 0x52], 5
mov byte [ebp - 0x51], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
or eax, 0xfa
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
and ecx, 0xfa
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x140], al
mov dword [ebp - 4], 2
and dword [ebp - 0x30], 0
jmp 0x4081b9
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x34
jae 0x408288
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 4], eax
jne 0x408200
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
mov dword [ebp - 4], eax
jmp 0x4081b1
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x83]
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x86]
movsx ecx, byte [ebp + ecx - 0x140]
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x140]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x30]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x140]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x140], al
and dword [ebp - 0x30], 0
jmp 0x4081b1
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x140], 0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040a105
mov edx, dword [ebp - 0x120]
mov ecx, eax
call fcn.00401af2
mov dword [0xaea660], eax
lea ecx, [ebp - 0x1f8]
call fcn.0040a134
and dword [ebp - 0x48], 0
jmp 0x4082d2
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xf
jae 0x4082e5
mov eax, dword [ebp - 0x48]
mov byte [ebp + eax - 0x140], 0
jmp 0x4082cb
mov eax, dword [0xaea630]
cmp eax, dword [ebp - 0x50]
je 0x4082f9
mov eax, dword [0xaea660]
cmp eax, dword [ebp - 0x50]
jne 0x408311
mov ecx, dword [ebp + 0xc]
call fcn.00409f51
push eax
push dword [ebp + 8]
call section..tvps_1
pop ecx
pop ecx
jmp 0x408a5f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x408a5d
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x408a5d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x4550
jne 0x408a5d
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x74], 0
jbe 0x408a5d
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + eax + 0x78], 0
je 0x408a5d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x18], edx
mov eax, 0xffff
mov word [ebp - 0x10], ax
or dword [ebp - 0x28], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x4083b2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x4083ad
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x10], ax
jmp 0x408532
mov eax, dword [0xaea6c8]
and eax, 1
jne 0x4083de
mov eax, dword [0xaea6c8]
or eax, 1
mov dword [0xaea6c8], eax
mov ecx, 0xaea6cc
call fcn.0040a297
push 0x4e21cf
call fcn.004cb80d
pop ecx
movzx eax, byte [0xaea622]
test eax, eax
je 0x408444
mov ecx, 0xaea6cc
call fcn.0040a33a
movzx eax, al
test eax, eax
jne 0x408444
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x128]
push eax
mov ecx, 0xaea6cc
call fcn.0040a343
lea eax, [ebp - 0x160]
push eax
mov ecx, 0xaea6cc
call fcn.0040a32c
push eax
lea ecx, [ebp - 0x128]
call fcn.0040a35e
movzx eax, al
test eax, eax
je 0x408444
lea ecx, [ebp - 0x128]
call fcn.0040a358
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x408532
mov ecx, 0xaea6cc
call fcn.0040a3af
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0xaea6cc
call fcn.0040a3b3
and dword [ebp - 0x24], 0
jmp 0x408476
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x18]
jae 0x408532
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x24]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x40852d
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.0040a105
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1b0]
call fcn.00401af2
mov dword [ebp - 0x12c], eax
movzx eax, byte [0xaea622]
test eax, eax
je 0x4084ee
mov ecx, 0xaea6cc
call fcn.0040a33a
movzx eax, al
test eax, eax
jne 0x40850b
lea eax, [ebp - 0x12c]
push eax
mov ecx, 0xaea6cc
call fcn.0040a371
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov byte [0xaea622], 1
cmp dword [ebp - 0x28], 0xffffffff
jne 0x408522
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x50]
jne 0x408522
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1b0]
call fcn.0040a134
jmp 0x40846f
cmp dword [ebp + 0x10], 0
jne 0x408552
cmp dword [ebp - 0x28], 0xffffffff
je 0x408552
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x28]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp eax, 0xffff
je 0x408a5d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x10]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jbe 0x408a58
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x14], edx
jae 0x408a58
mov eax, dword [0xaea6c8]
and eax, 2
jne 0x4085d1
mov eax, dword [0xaea6c8]
or eax, 2
mov dword [0xaea6c8], eax
push 0x25d8
call fcn.004c6cf2
pop ecx
mov byte [0xaea70c], al
mov byte [ebp - 0xc8], 2
mov byte [ebp - 0xc7], 0x6e
mov byte [ebp - 0xc6], 0
mov byte [ebp - 0xc5], 8
mov byte [ebp - 0xc4], 1
mov byte [ebp - 0xc3], 8
mov byte [ebp - 0xc2], 0x3c
mov byte [ebp - 0xc1], 0x55
mov byte [ebp - 0xc0], 0x91
mov byte [ebp - 0xbf], 0x83
mov byte [ebp - 0xbe], 0x23
mov byte [ebp - 0xbd], 0xd8
mov byte [ebp - 0xbc], 0x54
mov byte [ebp - 0xbb], 0xc0
mov byte [ebp - 0xba], 0x82
mov byte [ebp - 0xb9], 0x82
mov byte [ebp - 0xb8], 0x56
mov byte [ebp - 0xb7], 0xb2
mov byte [ebp - 0xb6], 0x5d
mov byte [ebp - 0xb5], 0xf
mov byte [ebp - 0xb4], 0xc0
mov byte [ebp - 0xb3], 0xfe
mov byte [ebp - 0xb2], 0x1d
mov byte [ebp - 0xb1], 0xfa
mov byte [ebp - 0xb0], 0xc3
mov byte [ebp - 0xaf], 0xe0
mov byte [ebp - 0xae], 0xfa
mov byte [ebp - 0xad], 0x13
mov byte [ebp - 0xac], 0xba
mov byte [ebp - 0xab], 0x3f
mov byte [ebp - 0xaa], 0x8c
mov byte [ebp - 0xa9], 0xf4
mov byte [ebp - 0xa8], 0x7a
mov byte [ebp - 0xa7], 0xdd
mov byte [ebp - 0xa6], 0x83
mov byte [ebp - 0xa5], 0x55
mov byte [ebp - 0xa4], 0xc0
mov byte [ebp - 0xa3], 0x17
mov byte [ebp - 0xa2], 0xce
mov byte [ebp - 0xa1], 0xae
mov byte [ebp - 0xa0], 0x94
mov byte [ebp - 0x9f], 0xd3
mov byte [ebp - 0x9e], 0x86
mov byte [ebp - 0x9d], 0xc
mov byte [ebp - 0x9c], 0x90
mov byte [ebp - 0x9b], 0x32
mov byte [ebp - 0x9a], 0xba
mov byte [ebp - 0x99], 0xaf
mov byte [ebp - 0x98], 0xe3
mov byte [ebp - 0x97], 0x1b
mov byte [ebp - 0x96], 0x13
mov byte [ebp - 0x95], 0xbb
mov byte [ebp - 0x94], 0x87
mov byte [ebp - 0x93], 0xa9
mov byte [ebp - 0x92], 0xe0
mov byte [ebp - 0x91], 0x1a
mov byte [ebp - 0x90], 0xf5
mov byte [ebp - 0x8f], 0x24
mov byte [ebp - 0x8e], 3
mov byte [ebp - 0x8d], 0xd4
mov byte [ebp - 0x8c], 0xd5
mov byte [ebp - 0x8b], 0xf8
mov byte [ebp - 0x8a], 0xc4
mov byte [ebp - 0x89], 0x8f
mov byte [ebp - 0x88], 0x71
mov byte [ebp - 0x87], 0x6c
mov byte [ebp - 0x86], 0x9a
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc8]
or eax, 2
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
and ecx, 2
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x20], al
mov dword [ebp - 8], 2
and dword [ebp - 0x38], 0
jmp 0x4087f1
mov eax, dword [ebp - 8]
inc eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x43
jae 0x4088b4
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 8], eax
jne 0x408838
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0xc8]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0xc8]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax - 1]
mov dword [ebp - 8], eax
jmp 0x4087e9
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0xc7]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x38]
movzx ecx, byte [ebp + ecx - 0xca]
movsx ecx, byte [ebp + ecx - 0x20]
add eax, ecx
mov ecx, dword [ebp - 8]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x38]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x20]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 8]
movzx ecx, byte [ebp + ecx - 0xc7]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x38]
movzx edx, byte [ebp + edx - 0xca]
movsx edx, byte [ebp + edx - 0x20]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 8]
movzx ecx, byte [ebp + ecx - 0xc8]
mov byte [ebp + ecx - 0x20], al
and dword [ebp - 0x38], 0
jmp 0x4087e9
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x20], 0
mov eax, dword [0xaea6c8]
and eax, 4
jne 0x4088ef
mov eax, dword [0xaea6c8]
or eax, 4
mov dword [0xaea6c8], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0xaea684
call fcn.0040a105
push 0x4e21c0
call fcn.004cb80d
pop ecx
and dword [ebp - 0x40], 0
jmp 0x4088fc
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jae 0x40890c
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0x20], 0
jmp 0x4088f5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax]
movsx ecx, byte [0xaea70c]
cmp eax, ecx
je 0x40892c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x408912
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x180]
call fcn.0040ca91
push 0xaea684
lea ecx, [ebp - 0x180]
call fcn.0040a13e
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x180]
call fcn.0040a163
push dword [eax]
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x180]
call fcn.0040a14f
push dword [eax]
lea ecx, [ebp - 0x1c8]
call fcn.0040caba
lea eax, [ebp - 0x1c8]
push eax
call fcn.004042af
pop ecx
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x408a0f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x198]
call fcn.0040a105
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x198]
call fcn.004033a7
movzx eax, al
test eax, eax
je 0x4089e6
push 0
push dword [ebp - 0x148]
push 0
push dword [ebp - 0x11c]
call fcn.00407ca6
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x408a02
push 1
push 0
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x11c]
call fcn.00407ca6
add esp, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x198]
call fcn.0040a134
jmp 0x408a42
cmp dword [ebp + 0x10], 0
jne 0x408a25
mov ecx, dword [ebp + 0xc]
call fcn.00409f51
mov dword [ebp - 0x124], eax
jmp 0x408a2f
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x124], eax
push dword [ebp - 0x124]
push dword [ebp + 8]
call section..tvps_1
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c8]
call fcn.0040a0be
lea ecx, [ebp - 0x180]
call fcn.0040a134
mov eax, dword [ebp - 0x14]
jmp 0x408a5f
xor eax, eax
mov esp, ebp
pop ebp
ret