Function at 0x10049131
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100645c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2cc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x10049178
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10049178
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.10048bb6
pop ecx
pop ecx
jmp 0x1004a459
cmp dword [ebp + 0x10], 0
jne 0x10049b22
mov dword [ebp - 0x1a8], 0x90c
mov dword [ebp - 0x1cc], 0x1000bd78
cmp dword [ebp - 0x1a8], 0x977
jle 0x10049286
and dword [ebp - 0x78], 0
jmp 0x100491b3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x23b2
jge 0x1004926f
and dword [ebp - 0x48], 0
jmp 0x100491cd
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5b78
jge 0x1004926a
and dword [ebp - 0x54], 0
jmp 0x100491e7
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7301
jge 0x10049265
and dword [ebp - 0x70], 0
jmp 0x100491fd
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x4ac8
jge 0x10049260
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
imul ecx, dword [ebp - 0x70]
and eax, ecx
cdq
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x2c4]
call fcn.1000d4be
pop ecx
pop ecx
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
call fcn.10012af4
push eax
call fcn.1004ded6
pop ecx
lea ecx, [ebp - 0x2c4]
call fcn.10012aea
jmp 0x100491f6
jmp 0x100491e0
jmp 0x100491c6
jmp 0x100491ac
push 0
push 0x1cf3
push 0x391
push 0x174d
call dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1004574b
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1a8], 0x554
jge 0x100492b0
push dword [ebp - 0x1cc]
call fcn.1004ded6
pop ecx
jmp 0x100492cc
or dword [ebp - 4], 0xffffffff
jmp 0x100492d6
cmp dword [0x1060db60], 0
jne 0x10049af6
mov dword [ebp - 0x200], 0xaf5d
lea eax, [ebp - 0x200]
push eax
call fcn.10048aaf
pop ecx
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 0x194], 5
mov byte [ebp - 0x193], 0x4d
mov byte [ebp - 0x192], 2
mov byte [ebp - 0x191], 6
mov byte [ebp - 0x190], 0
mov byte [ebp - 0x18f], 0x33
mov byte [ebp - 0x18e], 7
mov byte [ebp - 0x18d], 0x2e
mov byte [ebp - 0x18c], 1
mov byte [ebp - 0x18b], 0xc
mov byte [ebp - 0x18a], 0xa
mov byte [ebp - 0x189], 0x20
mov byte [ebp - 0x188], 0x50
mov byte [ebp - 0x187], 0x79
mov byte [ebp - 0x186], 0x9e
mov byte [ebp - 0x185], 0x33
mov byte [ebp - 0x184], 0x30
mov byte [ebp - 0x183], 0x7e
mov byte [ebp - 0x182], 0x25
mov byte [ebp - 0x181], 0x8e
mov byte [ebp - 0x180], 0xb8
mov byte [ebp - 0x17f], 0x4f
mov byte [ebp - 0x17e], 0x40
mov byte [ebp - 0x17d], 0x25
mov byte [ebp - 0x17c], 0xfd
mov byte [ebp - 0x17b], 0x25
mov byte [ebp - 0x17a], 0x15
mov byte [ebp - 0x179], 0xe7
mov byte [ebp - 0x178], 0x4d
mov byte [ebp - 0x177], 0x6f
mov byte [ebp - 0x176], 0x77
mov byte [ebp - 0x175], 0x90
mov byte [ebp - 0x174], 3
mov byte [ebp - 0x173], 0x44
mov byte [ebp - 0x172], 0x8a
mov byte [ebp - 0x171], 0x68
mov byte [ebp - 0x170], 0xb
mov byte [ebp - 0x16f], 0x4a
mov byte [ebp - 0x16e], 0xb4
mov byte [ebp - 0x16d], 0x5d
mov byte [ebp - 0x16c], 0xe3
mov byte [ebp - 0x16b], 0xeb
mov byte [ebp - 0x16a], 0xe3
mov byte [ebp - 0x169], 0x59
mov byte [ebp - 0x168], 0xf4
mov byte [ebp - 0x167], 0x3a
mov byte [ebp - 0x166], 0xb7
mov byte [ebp - 0x165], 0xcf
mov byte [ebp - 0x164], 0xb2
mov byte [ebp - 0x163], 0xb2
mov byte [ebp - 0x162], 0xf5
mov byte [ebp - 0x161], 0x6b
mov byte [ebp - 0x160], 0x64
mov byte [ebp - 0x15f], 0x65
mov byte [ebp - 0x15e], 0x75
mov byte [ebp - 0x15d], 0x64
mov byte [ebp - 0x15c], 0x76
mov byte [ebp - 0x15b], 0x9f
mov byte [ebp - 0x15a], 0x5a
mov byte [ebp - 0x159], 0x55
mov byte [ebp - 0x158], 0xbc
mov byte [ebp - 0x157], 0x26
mov byte [ebp - 0x156], 0xcb
mov byte [ebp - 0x155], 0xa9
mov byte [ebp - 0x154], 6
mov byte [ebp - 0x153], 0x1a
mov byte [ebp - 0x152], 0x8b
mov byte [ebp - 0x151], 0x74
mov byte [ebp - 0x150], 0x69
mov byte [ebp - 0x14f], 0x8f
mov byte [ebp - 0x14e], 6
mov byte [ebp - 0x14d], 0xb9
mov byte [ebp - 0x14c], 0xac
mov byte [ebp - 0x14b], 0x7b
mov byte [ebp - 0x14a], 0xd0
mov byte [ebp - 0x149], 0x14
mov byte [ebp - 0x148], 0xae
mov byte [ebp - 0x147], 0xfa
mov byte [ebp - 0x146], 0x2f
mov byte [ebp - 0x145], 0x37
mov byte [ebp - 0x144], 0xa8
mov byte [ebp - 0x143], 0x1b
mov byte [ebp - 0x142], 0xfc
mov byte [ebp - 0x141], 0x2d
mov byte [ebp - 0x140], 0x4a
mov byte [ebp - 0x13f], 0x21
mov byte [ebp - 0x13e], 0xb9
mov byte [ebp - 0x13d], 0x62
mov byte [ebp - 0x13c], 0x6c
mov byte [ebp - 0x13b], 0xf9
mov byte [ebp - 0x13a], 0xf8
mov byte [ebp - 0x139], 0x49
mov byte [ebp - 0x138], 0x64
mov byte [ebp - 0x137], 4
mov byte [ebp - 0x136], 0x20
mov byte [ebp - 0x135], 8
mov byte [ebp - 0x134], 0xa
mov byte [ebp - 0x133], 3
mov byte [ebp - 0x132], 0x39
mov byte [ebp - 0x131], 6
mov byte [ebp - 0x130], 0x25
mov byte [ebp - 0x12f], 0xb
mov byte [ebp - 0x12e], 0xb
mov byte [ebp - 0x12d], 9
mov byte [ebp - 0x12c], 0x16
mov byte [ebp - 0x12b], 0xc
mov byte [ebp - 0x12a], 0x39
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x194]
or eax, 0x3f
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x194]
and ecx, 0x3f
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x194]
mov byte [ebp + ecx - 0x1f8], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x5c], 0
jmp 0x1004963b
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6b
jae 0x100496e5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x194]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10049682
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x194]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x194]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10049633
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x193]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0x196]
movsx ecx, byte [ebp + ecx - 0x1f8]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x193]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x196]
movsx edx, byte [ebp + edx - 0x1f8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x194]
mov byte [ebp + ecx - 0x1f8], al
and dword [ebp - 0x5c], 0
jmp 0x10049633
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1f8], 0
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x294]
call fcn.10045023
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x210]
call fcn.1004574b
mov dword [0x1060db60], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10012dd6
and dword [ebp - 0x74], 0
jmp 0x10049750
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xe
jae 0x10049763
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x1f8], 0
jmp 0x10049749
mov byte [ebp - 0xc4], 0xd
mov byte [ebp - 0xc3], 0x1e
mov byte [ebp - 0xc2], 6
mov byte [ebp - 0xc1], 7
mov byte [ebp - 0xc0], 1
mov byte [ebp - 0xbf], 0x22
mov byte [ebp - 0xbe], 3
mov byte [ebp - 0xbd], 0x13
mov byte [ebp - 0xbc], 4
mov byte [ebp - 0xbb], 0x15
mov byte [ebp - 0xba], 8
mov byte [ebp - 0xb9], 0x1b
mov byte [ebp - 0xb8], 2
mov byte [ebp - 0xb7], 0xa
mov byte [ebp - 0xb6], 5
mov byte [ebp - 0xb5], 0
mov byte [ebp - 0xb4], 0xc
mov byte [ebp - 0xb3], 0x16
mov byte [ebp - 0xb2], 7
mov byte [ebp - 0xb1], 1
mov byte [ebp - 0xb0], 9
mov byte [ebp - 0xaf], 0x11
mov byte [ebp - 0xae], 0xa
mov byte [ebp - 0xad], 6
mov byte [ebp - 0xac], 0
mov byte [ebp - 0xab], 0x26
mov byte [ebp - 0xaa], 0xb
mov byte [ebp - 0xa9], 0x30
mov byte [ebp - 0xa8], 0x2e
mov byte [ebp - 0xa7], 0xf9
mov byte [ebp - 0xa6], 0x31
mov byte [ebp - 0xa5], 0xf0
mov byte [ebp - 0xa4], 0xfe
mov byte [ebp - 0xa3], 0x34
mov byte [ebp - 0xa2], 0xe1
mov byte [ebp - 0xa1], 0x69
mov byte [ebp - 0xa0], 0xf5
mov byte [ebp - 0x9f], 0x20
mov byte [ebp - 0x9e], 0x4c
mov byte [ebp - 0x9d], 0x2a
mov byte [ebp - 0x9c], 0x14
mov byte [ebp - 0x9b], 0x1e
mov byte [ebp - 0x9a], 0xee
mov byte [ebp - 0x99], 0x27
mov byte [ebp - 0x98], 0xde
mov byte [ebp - 0x97], 0x39
mov byte [ebp - 0x96], 0xf7
mov byte [ebp - 0x95], 7
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 0x2a
mov byte [ebp - 0x92], 0x30
mov byte [ebp - 0x91], 0x75
mov byte [ebp - 0x90], 0x4b
mov byte [ebp - 0x8f], 0x29
mov byte [ebp - 0x8e], 0x3b
mov byte [ebp - 0x8d], 0x60
mov byte [ebp - 0x8c], 0xe
mov byte [ebp - 0x8b], 0x5c
mov byte [ebp - 0x8a], 0x1d
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 0x77
mov byte [ebp - 0x87], 0xd7
mov byte [ebp - 0x86], 0x1c
mov byte [ebp - 0x85], 0xd7
mov byte [ebp - 0x84], 0x21
mov byte [ebp - 0x83], 0x4f
mov byte [ebp - 0x82], 0x6c
mov byte [ebp - 0x81], 0x12
mov byte [ebp - 0x80], 0x9a
mov byte [ebp - 0x7f], 2
mov byte [ebp - 0x7e], 0xbc
mov byte [ebp - 0x7d], 0x15
mov byte [ebp - 0x7c], 0xab
mov byte [ebp - 0x7b], 0x8d
mov byte [ebp - 0x7a], 0x97
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xc4]
or eax, 0x49
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
and ecx, 0x49
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x1c4], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x100499a9
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4b
jae 0x10049a78
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xc4]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x100499f0
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc4]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc4]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100499a1
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0xc3]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0xc6]
movsx ecx, byte [ebp + ecx - 0x1c4]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x1c4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc3]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0xc6]
movsx edx, byte [ebp + edx - 0x1c4]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0xc4]
mov byte [ebp + ecx - 0x1c4], al
and dword [ebp - 0x40], 0
jmp 0x100499a1
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1c4], 0
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.10045023
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1fc]
call fcn.1004574b
mov dword [0x1060dce8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.10012dd6
and dword [ebp - 0x64], 0
jmp 0x10049ae3
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xf
jae 0x10049af6
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x1c4], 0
jmp 0x10049adc
mov eax, dword [0x1060db60]
cmp eax, dword [ebp - 0x4c]
je 0x10049b0a
mov eax, dword [0x1060dce8]
cmp eax, dword [ebp - 0x4c]
jne 0x10049b22
mov ecx, dword [ebp + 0xc]
call fcn.10012af4
push eax
push dword [ebp + 8]
call fcn.10048bb6
pop ecx
pop ecx
jmp 0x1004a459
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x1004a457
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004a457
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1004a457
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1004a457
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1004a457
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 0x10049bc3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10049bbe
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x20], ax
jmp 0x10049d59
mov eax, dword [0x1060dcc4]
and eax, 1
jne 0x10049bfa
mov eax, dword [0x1060dcc4]
or eax, 1
mov dword [0x1060dcc4], eax
mov dword [ebp - 4], 4
mov ecx, 0x1060dc80
call fcn.1001301a
push 0x1006480f
call fcn.1004deac
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1060db72]
test eax, eax
je 0x10049c60
mov ecx, 0x1060dc80
call fcn.1004ae5b
movzx eax, al
test eax, eax
jne 0x10049c60
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1a4]
push eax
mov ecx, 0x1060dc80
call fcn.10012ff2
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1060dc80
call fcn.10012fe4
push eax
lea ecx, [ebp - 0x1a4]
call fcn.10013007
movzx eax, al
test eax, eax
je 0x10049c60
lea ecx, [ebp - 0x1a4]
call fcn.1004ae64
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10049d59
mov ecx, 0x1060dc80
call fcn.1004aea8
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1060dc80
call fcn.1004aeac
and dword [ebp - 0x3c], 0
jmp 0x10049c92
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 0x10049d59
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 - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x10049d54
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.10045023
mov dword [ebp - 4], 5
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x27c]
call fcn.1004574b
mov dword [ebp - 0x19c], eax
movzx eax, byte [0x1060db72]
test eax, eax
je 0x10049d11
mov ecx, 0x1060dc80
call fcn.1004ae5b
movzx eax, al
test eax, eax
jne 0x10049d2e
lea eax, [ebp - 0x19c]
push eax
mov ecx, 0x1060dc80
call fcn.1004ae6a
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov byte [0x1060db72], 1
cmp dword [ebp - 0x38], 0xffffffff
jne 0x10049d45
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x4c]
jne 0x10049d45
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10012dd6
jmp 0x10049c8b
cmp dword [ebp + 0x10], 0
jne 0x10049d79
cmp dword [ebp - 0x38], 0xffffffff
je 0x10049d79
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 0x1004a457
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 - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
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 0x1004a452
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 0x1004a452
mov eax, dword [0x1060dcc4]
and eax, 2
jne 0x10049e03
mov eax, dword [0x1060dcc4]
or eax, 2
mov dword [0x1060dcc4], eax
mov dword [ebp - 4], 6
push 0xc63a
call fcn.10012455
pop ecx
mov byte [0x1060dc78], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x128], 0
mov byte [ebp - 0x127], 0x6c
mov byte [ebp - 0x126], 0x5a
mov byte [ebp - 0x125], 0
mov byte [ebp - 0x124], 0xda
mov byte [ebp - 0x123], 0x78
mov byte [ebp - 0x122], 0x79
mov byte [ebp - 0x121], 0xf5
mov byte [ebp - 0x120], 0x12
mov byte [ebp - 0x11f], 0xf
mov byte [ebp - 0x11e], 0xd5
mov byte [ebp - 0x11d], 0x80
mov byte [ebp - 0x11c], 0x16
mov byte [ebp - 0x11b], 0xa3
mov byte [ebp - 0x11a], 0xb3
mov byte [ebp - 0x119], 0xad
mov byte [ebp - 0x118], 0xfe
mov byte [ebp - 0x117], 0x47
mov byte [ebp - 0x116], 0x88
mov byte [ebp - 0x115], 0xd5
mov byte [ebp - 0x114], 0x5d
mov byte [ebp - 0x113], 0x56
mov byte [ebp - 0x112], 0xda
mov byte [ebp - 0x111], 0x57
mov byte [ebp - 0x110], 0xf6
mov byte [ebp - 0x10f], 0x8e
mov byte [ebp - 0x10e], 0x8b
mov byte [ebp - 0x10d], 0xe
mov byte [ebp - 0x10c], 2
mov byte [ebp - 0x10b], 0xa8
mov byte [ebp - 0x10a], 0xf
mov byte [ebp - 0x109], 0xf4
mov byte [ebp - 0x108], 0xd6
mov byte [ebp - 0x107], 0xa3
mov byte [ebp - 0x106], 0xab
mov byte [ebp - 0x105], 0xb1
mov byte [ebp - 0x104], 0xba
mov byte [ebp - 0x103], 0x92
mov byte [ebp - 0x102], 0x91
mov byte [ebp - 0x101], 0xac
mov byte [ebp - 0x100], 0x5d
mov byte [ebp - 0xff], 0xa5
mov byte [ebp - 0xfe], 0x60
mov byte [ebp - 0xfd], 0x4a
mov byte [ebp - 0xfc], 8
mov byte [ebp - 0xfb], 0xbf
mov byte [ebp - 0xfa], 0xe4
mov byte [ebp - 0xf9], 0xf9
mov byte [ebp - 0xf8], 0x22
mov byte [ebp - 0xf7], 0xc9
mov byte [ebp - 0xf6], 0x36
mov byte [ebp - 0xf5], 0xba
mov byte [ebp - 0xf4], 0x28
mov byte [ebp - 0xf3], 0x26
mov byte [ebp - 0xf2], 0xf2
mov byte [ebp - 0xf1], 0x2c
mov byte [ebp - 0xf0], 0xa
mov byte [ebp - 0xef], 0xdd
mov byte [ebp - 0xee], 0xbd
mov byte [ebp - 0xed], 0xea
mov byte [ebp - 0xec], 0x26
mov byte [ebp - 0xeb], 0xf7
mov byte [ebp - 0xea], 0x49
mov byte [ebp - 0xe9], 0x37
mov byte [ebp - 0xe8], 0xdd
mov byte [ebp - 0xe7], 0x1c
mov byte [ebp - 0xe6], 0x8c
mov byte [ebp - 0xe5], 0xba
mov byte [ebp - 0xe4], 0xe7
mov byte [ebp - 0xe3], 0x5c
mov byte [ebp - 0xe2], 0xe4
mov byte [ebp - 0xe1], 0xd5
mov byte [ebp - 0xe0], 0x63
mov byte [ebp - 0xdf], 0xd2
mov byte [ebp - 0xde], 0xd3
mov byte [ebp - 0xdd], 0x52
mov byte [ebp - 0xdc], 0xd7
mov byte [ebp - 0xdb], 0xfa
mov byte [ebp - 0xda], 0x8a
mov byte [ebp - 0xd9], 0xf5
mov byte [ebp - 0xd8], 0x11
mov byte [ebp - 0xd7], 0xd5
mov byte [ebp - 0xd6], 0x7e
mov byte [ebp - 0xd5], 0x32
mov byte [ebp - 0xd4], 0x9c
mov byte [ebp - 0xd3], 0xdb
mov byte [ebp - 0xd2], 0x32
mov byte [ebp - 0xd1], 0x7f
mov byte [ebp - 0xd0], 0x47
mov byte [ebp - 0xcf], 0xc3
mov byte [ebp - 0xce], 0x68
mov byte [ebp - 0xcd], 0xa1
mov byte [ebp - 0xcc], 0xdd
mov byte [ebp - 0xcb], 1
mov byte [ebp - 0xca], 8
mov byte [ebp - 0xc9], 2
mov byte [ebp - 0xc8], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x128]
or eax, 8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
and ecx, 8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x34], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x50], 0
jmp 0x1004a0f5
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x61
jae 0x1004a196
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x128]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004a13c
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x128]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x128]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004a0ed
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x127]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x50]
movzx ecx, byte [ebp + ecx - 0x12a]
movsx ecx, byte [ebp + ecx - 0x34]
or eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x50]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x34]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x34], al
and dword [ebp - 0x50], 0
jmp 0x1004a0ed
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x34], 0
mov eax, dword [0x1060dcc4]
and eax, 4
jne 0x1004a1dc
mov eax, dword [0x1060dcc4]
or eax, 4
mov dword [0x1060dcc4], eax
mov dword [ebp - 4], 7
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1060dcf0
call fcn.10045023
push 0x10064800
call fcn.1004deac
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x58], 0
jmp 0x1004a1e9
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jae 0x1004a1f9
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x34], 0
jmp 0x1004a1e2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax]
movsx ecx, byte [0x1060dc78]
cmp eax, ecx
je 0x1004a219
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
jmp 0x1004a1ff
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x234]
call fcn.1004b123
mov dword [ebp - 4], 8
push 0x1060dcf0
lea ecx, [ebp - 0x234]
call fcn.10045052
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x234]
call fcn.10013729
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10013715
push dword [eax]
lea ecx, [ebp - 0x264]
call fcn.1004b14c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x264]
push eax
call fcn.1004763d
pop ecx
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x1004a401
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x24c]
call fcn.10045023
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1b4], 0x5356
mov dword [ebp - 0x1e8], 0x1000bdf0
cmp dword [ebp - 0x1b4], 0x53c3
jle 0x1004a357
and dword [ebp - 0x60], 0
jmp 0x1004a2e2
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x6657
jge 0x1004a357
and dword [ebp - 0x68], 0
jmp 0x1004a2f8
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x5b27
jge 0x1004a355
mov eax, dword [ebp - 0x60]
cdq
idiv dword [ebp - 0x68]
mov eax, edx
cdq
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], edx
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
lea ecx, [ebp - 0x2dc]
call fcn.1000d4be
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
call fcn.10012af4
push eax
call fcn.1004ded6
pop ecx
lea ecx, [ebp - 0x2dc]
call fcn.10012aea
jmp 0x1004a2f1
jmp 0x1004a2db
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b4], 0x5058
jge 0x1004a373
push dword [ebp - 0x1e8]
call fcn.1004ded6
pop ecx
jmp 0x1004a38f
mov dword [ebp - 4], 0xa
jmp 0x1004a39f
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x24c]
call fcn.10046a9b
movzx eax, al
test eax, eax
je 0x1004a3d4
push 0
push dword [ebp - 0x204]
push 0
push dword [ebp - 0x198]
call fcn.10049131
add esp, 0x10
mov dword [ebp - 0x28], eax
jmp 0x1004a3f0
push 1
push 0
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x198]
call fcn.10049131
add esp, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24c]
call fcn.10012dd6
jmp 0x1004a434
cmp dword [ebp + 0x10], 0
jne 0x1004a417
mov ecx, dword [ebp + 0xc]
call fcn.10012af4
mov dword [ebp - 0x1ac], eax
jmp 0x1004a421
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x1ac], eax
push dword [ebp - 0x1ac]
push dword [ebp + 8]
call fcn.10048bb6
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x264]
call fcn.10012cae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10012dd6
mov eax, dword [ebp - 0x28]
jmp 0x1004a459
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