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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
cmp dword [ebp + 0x10], 0
jbe 0x1004f73e
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004f73e
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1004ed8d
pop ecx
pop ecx
jmp 0x100508c1
cmp dword [ebp + 0x10], 0
jne 0x100500f4
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1004bca2
mov dword [ebp - 0x5c], eax
cmp dword [0x1182c778], 0
jne 0x100500c8
mov dword [ebp - 0x1a0], 0x915d
lea eax, [ebp - 0x1a0]
push eax
call fcn.1004ec86
pop ecx
mov dword [ebp - 0x170], eax
mov byte [ebp - 0xe4], 8
mov byte [ebp - 0xe3], 0x7b
mov byte [ebp - 0xe2], 0xa
mov byte [ebp - 0xe1], 0x2a
mov byte [ebp - 0xe0], 4
mov byte [ebp - 0xdf], 0x20
mov byte [ebp - 0xde], 7
mov byte [ebp - 0xdd], 0xc
mov byte [ebp - 0xdc], 5
mov byte [ebp - 0xdb], 0x1b
mov byte [ebp - 0xda], 9
mov byte [ebp - 0xd9], 0x1c
mov byte [ebp - 0xd8], 0xc
mov byte [ebp - 0xd7], 0x39
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd5], 0x32
mov byte [ebp - 0xd4], 0
mov byte [ebp - 0xd3], 0x22
mov byte [ebp - 0xd2], 0x49
mov byte [ebp - 0xd1], 0x44
mov byte [ebp - 0xd0], 0x25
mov byte [ebp - 0xcf], 0xf1
mov byte [ebp - 0xce], 0x3b
mov byte [ebp - 0xcd], 0x7f
mov byte [ebp - 0xcc], 1
mov byte [ebp - 0xcb], 0xca
mov byte [ebp - 0xca], 0x7d
mov byte [ebp - 0xc9], 0x84
mov byte [ebp - 0xc8], 0xeb
mov byte [ebp - 0xc7], 0xf3
mov byte [ebp - 0xc6], 0x3f
mov byte [ebp - 0xc5], 0x8d
mov byte [ebp - 0xc4], 0xcb
mov byte [ebp - 0xc3], 0xb1
mov byte [ebp - 0xc2], 0x19
mov byte [ebp - 0xc1], 0x6b
mov byte [ebp - 0xc0], 0x9a
mov byte [ebp - 0xbf], 0x85
mov byte [ebp - 0xbe], 0xde
mov byte [ebp - 0xbd], 0xc8
mov byte [ebp - 0xbc], 0x30
mov byte [ebp - 0xbb], 0x33
mov byte [ebp - 0xba], 0xb1
mov byte [ebp - 0xb9], 0x39
mov byte [ebp - 0xb8], 0x96
mov byte [ebp - 0xb7], 6
mov byte [ebp - 0xb6], 0x3d
mov byte [ebp - 0xb5], 0xe2
mov byte [ebp - 0xb4], 0xa7
mov byte [ebp - 0xb3], 0x43
mov byte [ebp - 0xb2], 0x66
mov byte [ebp - 0xb1], 0xb8
mov byte [ebp - 0xb0], 0x6a
mov byte [ebp - 0xaf], 0x71
mov byte [ebp - 0xae], 6
mov byte [ebp - 0xad], 0x17
mov byte [ebp - 0xac], 0x56
mov byte [ebp - 0xab], 0xd7
mov byte [ebp - 0xaa], 0x89
mov byte [ebp - 0xa9], 0x37
mov byte [ebp - 0xa8], 0xfb
mov byte [ebp - 0xa7], 0xcf
mov byte [ebp - 0xa6], 4
mov byte [ebp - 0xa5], 0x4a
mov byte [ebp - 0xa4], 0xc5
mov byte [ebp - 0xa3], 0x56
mov byte [ebp - 0xa2], 0x86
mov byte [ebp - 0xa1], 0x3d
mov byte [ebp - 0xa0], 0x42
mov byte [ebp - 0x9f], 0x7f
mov byte [ebp - 0x9e], 0xd9
mov byte [ebp - 0x9d], 0xe6
mov byte [ebp - 0x9c], 0xa8
mov byte [ebp - 0x9b], 0x31
mov byte [ebp - 0x9a], 0x60
mov byte [ebp - 0x99], 0x24
mov byte [ebp - 0x98], 0x96
mov byte [ebp - 0x97], 0xc3
mov byte [ebp - 0x96], 0xc3
mov byte [ebp - 0x95], 0xa3
mov byte [ebp - 0x94], 0xae
mov byte [ebp - 0x93], 0xee
mov byte [ebp - 0x92], 0xb8
mov byte [ebp - 0x91], 0xf3
mov byte [ebp - 0x90], 0x93
mov byte [ebp - 0x8f], 0x2d
mov byte [ebp - 0x8e], 0x69
mov byte [ebp - 0x8d], 0x80
mov byte [ebp - 0x8c], pe_nt_image_headers32
mov byte [ebp - 0x8b], 0xee
mov byte [ebp - 0x8a], 0xeb
mov byte [ebp - 0x89], 0x15
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 0x34
mov byte [ebp - 0x86], 2
mov byte [ebp - 0x85], 7
mov byte [ebp - 0x84], 0xb
mov byte [ebp - 0x83], 0xc
mov byte [ebp - 0x82], 3
mov byte [ebp - 0x81], 0x2e
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xe4]
or eax, 0x14
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xe4]
and ecx, 0x14
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xe4]
mov byte [ebp + ecx - 0x1b0], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x80], 0
jmp 0x1004fa8a
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x64
jae 0x1004fb34
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xe4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1004fad1
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xe4]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xe4]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1004fa82
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xe3]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x80]
movzx ecx, byte [ebp + ecx - 0xe6]
movsx ecx, byte [ebp + ecx - 0x1b0]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xe3]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x80]
movzx edx, byte [ebp + edx - 0xe6]
movsx edx, byte [ebp + edx - 0x1b0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xe4]
mov byte [ebp + ecx - 0x1b0], al
and dword [ebp - 0x80], 0
jmp 0x1004fa82
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1b0], 0
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x264]
call fcn.10019fa2
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1b8], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x1b8]
call fcn.1004bca2
mov dword [0x1182c778], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.1001a02a
and dword [ebp - 0x7c], 0
jmp 0x1004fb9c
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xe
jae 0x1004fbaf
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x1b0], 0
jmp 0x1004fb95
mov byte [ebp - 0x164], 1
mov byte [ebp - 0x163], 0xfc
mov byte [ebp - 0x162], 0xa
mov byte [ebp - 0x161], 0x17
mov byte [ebp - 0x160], 0x62
mov byte [ebp - 0x15f], 0x6f
mov byte [ebp - 0x15e], 0x1a
mov byte [ebp - 0x15d], 0x1a
mov byte [ebp - 0x15c], 0xa4
mov byte [ebp - 0x15b], 0x8d
mov byte [ebp - 0x15a], 0x6a
mov byte [ebp - 0x159], 0x2a
mov byte [ebp - 0x158], 0xcd
mov byte [ebp - 0x157], 0xdc
mov byte [ebp - 0x156], 0xa6
mov byte [ebp - 0x155], 0xea
mov byte [ebp - 0x154], 0x6a
mov byte [ebp - 0x153], 0x3d
mov byte [ebp - 0x152], 0xdc
mov byte [ebp - 0x151], 0x56
mov byte [ebp - 0x150], 0xc5
mov byte [ebp - 0x14f], 0xe8
mov byte [ebp - 0x14e], 0xce
mov byte [ebp - 0x14d], 0x94
mov byte [ebp - 0x14c], 0xe8
mov byte [ebp - 0x14b], 3
mov byte [ebp - 0x14a], 0x97
mov byte [ebp - 0x149], 0x8f
mov byte [ebp - 0x148], 0xb2
mov byte [ebp - 0x147], 0x65
mov byte [ebp - 0x146], 0x8c
mov byte [ebp - 0x145], 0xd6
mov byte [ebp - 0x144], 0xec
mov byte [ebp - 0x143], 0x66
mov byte [ebp - 0x142], 0x40
mov byte [ebp - 0x141], 0x38
mov byte [ebp - 0x140], 0x72
mov byte [ebp - 0x13f], 8
mov byte [ebp - 0x13e], 0xc1
mov byte [ebp - 0x13d], 0x82
mov byte [ebp - 0x13c], 0x94
mov byte [ebp - 0x13b], 0xc6
mov byte [ebp - 0x13a], 4
mov byte [ebp - 0x139], 0x6a
mov byte [ebp - 0x138], 0xda
mov byte [ebp - 0x137], 0x78
mov byte [ebp - 0x136], 0xe
mov byte [ebp - 0x135], 0x81
mov byte [ebp - 0x134], 0xcb
mov byte [ebp - 0x133], 0xf1
mov byte [ebp - 0x132], 0x56
mov byte [ebp - 0x131], 0x3b
mov byte [ebp - 0x130], 0xd5
mov byte [ebp - 0x12f], 0x6a
mov byte [ebp - 0x12e], 0xf2
mov byte [ebp - 0x12d], 0xe6
mov byte [ebp - 0x12c], 0x10
mov byte [ebp - 0x12b], 0xc8
mov byte [ebp - 0x12a], 0xfb
mov byte [ebp - 0x129], 0x9b
mov byte [ebp - 0x128], 0xd4
mov byte [ebp - 0x127], 0xd2
mov byte [ebp - 0x126], 0x49
mov byte [ebp - 0x125], 0x10
mov byte [ebp - 0x124], 0x8b
mov byte [ebp - 0x123], 0xf7
mov byte [ebp - 0x122], 0x6a
mov byte [ebp - 0x121], 0x3d
mov byte [ebp - 0x120], 0x8d
mov byte [ebp - 0x11f], 0x9f
mov byte [ebp - 0x11e], 0x84
mov byte [ebp - 0x11d], 0xda
mov byte [ebp - 0x11c], 0xfd
mov byte [ebp - 0x11b], 0xbc
mov byte [ebp - 0x11a], 0x70
mov byte [ebp - 0x119], 0x90
mov byte [ebp - 0x118], 0xe
mov byte [ebp - 0x117], 0x8c
mov byte [ebp - 0x116], 0xc8
mov byte [ebp - 0x115], 0x66
mov byte [ebp - 0x114], 0x74
mov byte [ebp - 0x113], 0x3f
mov byte [ebp - 0x112], 0xb8
mov byte [ebp - 0x111], 0x4f
mov byte [ebp - 0x110], 0x9c
mov byte [ebp - 0x10f], 0xfb
mov byte [ebp - 0x10e], 0x4d
mov byte [ebp - 0x10d], 0x61
mov byte [ebp - 0x10c], 0xd1
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x8d
mov byte [ebp - 0x109], 0x90
mov byte [ebp - 0x108], 0x67
mov byte [ebp - 0x107], 0x6a
mov byte [ebp - 0x106], 0x13
mov byte [ebp - 0x105], 0x75
mov byte [ebp - 0x104], 0x26
mov byte [ebp - 0x103], 0x91
mov byte [ebp - 0x102], 0x7d
mov byte [ebp - 0x101], 0x80
mov byte [ebp - 0x100], 3
mov byte [ebp - 0xff], 0x69
mov byte [ebp - 0xfe], 0xe6
mov byte [ebp - 0xfd], 6
mov byte [ebp - 0xfc], 0x35
mov byte [ebp - 0xfb], 2
mov byte [ebp - 0xfa], 0x35
mov byte [ebp - 0xf9], 7
mov byte [ebp - 0xf8], 0x17
mov byte [ebp - 0xf7], 0
mov byte [ebp - 0xf6], 0x31
mov byte [ebp - 0xf5], 9
mov byte [ebp - 0xf4], 0x20
mov byte [ebp - 0xf3], 0xc
mov byte [ebp - 0xf2], 0x10
mov byte [ebp - 0xf1], 5
mov byte [ebp - 0xf0], 0x16
mov byte [ebp - 0xef], 8
mov byte [ebp - 0xee], 0xa
mov byte [ebp - 0xed], 4
mov byte [ebp - 0xec], 0x1b
mov byte [ebp - 0xeb], 0xd
mov byte [ebp - 0xea], 0x23
mov byte [ebp - 0xe9], 0xb
mov byte [ebp - 0xe8], 0x24
mov byte [ebp - 0xe7], 3
mov byte [ebp - 0xe6], 0x12
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x164]
or eax, 0x8e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
and ecx, 0x8e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
mov byte [ebp + ecx - 0x194], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x58], 0
jmp 0x1004ff7b
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7f
jae 0x1005004a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x164]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1004ffc2
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x164]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x164]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1004ff73
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x163]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x58]
movzx ecx, byte [ebp + ecx - 0x166]
movsx ecx, byte [ebp + ecx - 0x194]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x163]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x166]
movsx edx, byte [ebp + edx - 0x194]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x163]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x58]
movzx edx, byte [ebp + edx - 0x166]
movsx edx, byte [ebp + edx - 0x194]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x164]
mov byte [ebp + ecx - 0x194], al
and dword [ebp - 0x58], 0
jmp 0x1004ff73
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x194], 0
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10019fa2
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x1c8]
call fcn.1004bca2
mov dword [0x1182c870], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1001a02a
and dword [ebp - 0x64], 0
jmp 0x100500b5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xf
jae 0x100500c8
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x194], 0
jmp 0x100500ae
mov eax, dword [0x1182c778]
cmp eax, dword [ebp - 0x5c]
je 0x100500dc
mov eax, dword [0x1182c870]
cmp eax, dword [ebp - 0x5c]
jne 0x100500f4
mov ecx, dword [ebp + 0xc]
call fcn.1001a045
push eax
push dword [ebp + 8]
call fcn.1004ed8d
pop ecx
pop ecx
jmp 0x100508c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x100508bf
mov eax, dword [ebp - 0x74]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100508bf
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
jne 0x100508bf
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x74], 0
jbe 0x100508bf
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + eax + 0x78], 0
je 0x100508bf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x48], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x10050195
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10050190
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1005044d
mov eax, dword [0x1182c8bc]
and eax, 1
jne 0x100501cc
mov eax, dword [0x1182c8bc]
or eax, 1
mov dword [0x1182c8bc], eax
mov dword [ebp - 4], 2
mov ecx, 0x1182c8c0
call fcn.10026e17
push 0x100724d4
call fcn.1005960e
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1182c776]
test eax, eax
je 0x10050354
mov ecx, 0x1182c8c0
call fcn.10051036
movzx eax, al
test eax, eax
jne 0x10050354
mov dword [ebp - 0x198], 0x2050
cmp dword [ebp - 0x198], 0x99e
jge 0x1005030a
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x10663d30
call fcn.10019717
cmp dword [ebp - 0x54], 6
jge 0x1005023e
push fcn.1001ea64
mov edx, 0x10007850
mov ecx, 0x10663c78
call fcn.1001ead8
mov ecx, eax
call fcn.10019c5d
jmp 0x100502ca
mov dword [ebp - 0x6c], 2
jmp 0x1005024e
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
dec eax
cmp dword [ebp - 0x6c], eax
jge 0x1005027e
push fcn.1001ea64
push dword [ebp - 0x6c]
mov edx, 0x1000799c
mov ecx, 0x10663c78
call fcn.1001ead8
mov ecx, eax
call fcn.10019c69
mov ecx, eax
call fcn.10019c5d
jmp 0x10050247
push fcn.1001ea64
mov eax, dword [ebp - 0x54]
dec eax
push eax
mov edx, 0x10008124
mov ecx, 0x10663c78
call fcn.1001ead8
mov ecx, eax
call fcn.10019c69
mov ecx, eax
call fcn.10019c5d
push fcn.1001ea64
push dword [ebp - 0x54]
mov edx, 0x10008124
mov ecx, 0x10663c78
call fcn.1001ead8
mov ecx, eax
call fcn.10019c69
mov ecx, eax
call fcn.10019c5d
mov dword [ebp - 0x70], 2
jmp 0x100502da
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
inc eax
cmp dword [ebp - 0x70], eax
jge 0x1005030a
push fcn.1001ea64
push dword [ebp - 0x70]
mov edx, 0x1000799c
mov ecx, 0x10663c78
call fcn.1001ead8
mov ecx, eax
call fcn.10019c69
mov ecx, eax
call fcn.10019c5d
jmp 0x100502d3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x1182c8c0
call fcn.10026def
lea eax, [ebp - 0x1d0]
push eax
mov ecx, 0x1182c8c0
call fcn.1001a15b
push eax
lea ecx, [ebp - 0x180]
call fcn.10026e04
movzx eax, al
test eax, eax
je 0x10050354
lea ecx, [ebp - 0x180]
call fcn.1005103f
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x1005044d
mov ecx, 0x1182c8c0
call fcn.1004a4fb
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1182c8c0
call fcn.10051083
and dword [ebp - 0x40], 0
jmp 0x10050386
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x18]
jae 0x1005044d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x40]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
je 0x10050448
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10019fa2
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x234]
call fcn.1004bca2
mov dword [ebp - 0x174], eax
movzx eax, byte [0x1182c776]
test eax, eax
je 0x10050405
mov ecx, 0x1182c8c0
call fcn.10051036
movzx eax, al
test eax, eax
jne 0x10050422
lea eax, [ebp - 0x174]
push eax
mov ecx, 0x1182c8c0
call fcn.10051045
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov byte [0x1182c776], 1
cmp dword [ebp - 0x48], 0xffffffff
jne 0x10050439
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x5c]
jne 0x10050439
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1001a02a
jmp 0x1005037f
cmp dword [ebp + 0x10], 0
jne 0x1005046d
cmp dword [ebp - 0x48], 0xffffffff
je 0x1005046d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x48]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x100508bf
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x100508ba
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x100508ba
mov eax, dword [0x1182c8bc]
and eax, 2
jne 0x100504f7
mov eax, dword [0x1182c8bc]
or eax, 2
mov dword [0x1182c8bc], eax
mov dword [ebp - 4], 4
push 0xa80f
call fcn.10026565
pop ecx
mov byte [0x1182c898], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0x94
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 9
mov byte [ebp - 0x37], 0xd
mov byte [ebp - 0x36], 0x5c
mov byte [ebp - 0x35], 0xa4
mov byte [ebp - 0x34], 0x71
mov byte [ebp - 0x33], 0xf8
mov byte [ebp - 0x32], 0x22
mov byte [ebp - 0x31], 0x7c
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x60
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0xf8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0xf8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x28], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x4c], 0
jmp 0x1005057e
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10
jae 0x10050623
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x100505bc
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10050576
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x28]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x28]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x28], al
and dword [ebp - 0x4c], 0
jmp 0x10050576
mov dword [ebp - 0x1b4], 0x266b
cmp dword [ebp - 0x1b4], 0xb61
jge 0x100506f0
push 0x1182c660
push 0x11812df0
push 0x10008128
call fcn.10058e8b
add esp, 0xc
push 0x11812df0
call fcn.10058e00
pop ecx
mov dword [ebp - 0x178], eax
and dword [ebp - 0x60], 0
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x178]
dec eax
mov dword [ebp - 0x78], eax
jmp 0x10050683
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x100506bd
mov eax, dword [ebp - 0x78]
movsx eax, byte [eax + 0x11812df0]
cmp eax, 0x30
jne 0x100506a1
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
jmp 0x100506ae
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [0x1182c660]
jne 0x100506bb
jmp 0x100506bd
jmp 0x1005067c
mov eax, dword [ebp - 0x60]
cmp eax, dword [0x1182c660]
jne 0x100506dc
push dword [ebp - 0x168]
push 0x10007894
call fcn.100597a7
pop ecx
pop ecx
jmp 0x100506f0
mov eax, dword [ebp - 0x178]
dec eax
push eax
push 0x10007894
call fcn.100597a7
pop ecx
pop ecx
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x28], 0
mov eax, dword [0x1182c8bc]
and eax, 4
jne 0x10050736
mov eax, dword [0x1182c8bc]
or eax, 4
mov dword [0x1182c8bc], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x1182c878
call fcn.10019fa2
push 0x100724c5
call fcn.1005960e
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x68], 0
jmp 0x10050743
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jae 0x10050753
mov eax, dword [ebp - 0x68]
mov byte [ebp + eax - 0x28], 0
jmp 0x1005073c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x1182c898]
cmp eax, ecx
je 0x10050773
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x10050759
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1ec]
call fcn.100512fa
mov dword [ebp - 4], 6
push 0x1182c878
lea ecx, [ebp - 0x1ec]
call fcn.1001a034
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.10019604
push dword [eax]
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.100195f0
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.10051323
mov byte [ebp - 4], 7
lea eax, [ebp - 0x21c]
push eax
call fcn.1004ceaf
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x10050869
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x204]
call fcn.10019fa2
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x204]
call fcn.1004c4a5
movzx eax, al
test eax, eax
je 0x1005083c
push 0
push dword [ebp - 0x1c4]
push 0
push dword [ebp - 0x16c]
call fcn.1004f6fe
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10050858
push 1
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x16c]
call fcn.1004f6fe
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x204]
call fcn.1001a02a
jmp 0x1005089c
cmp dword [ebp + 0x10], 0
jne 0x1005087f
mov ecx, dword [ebp + 0xc]
call fcn.1001a045
mov dword [ebp - 0x17c], eax
jmp 0x10050889
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
push dword [ebp + 8]
call fcn.1004ed8d
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
call fcn.10026b96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1001a02a
mov eax, dword [ebp - 0x20]
jmp 0x100508c1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret