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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x27c
cmp dword [ebp + 0x10], 0
jbe 0x10049843
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10049843
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1004920c
pop ecx
pop ecx
jmp 0x1004aa6f
cmp dword [ebp + 0x10], 0
jne 0x1004a234
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.100461c1
mov dword [ebp - 0x5c], eax
cmp dword [0x11ad1af0], 0
jne 0x1004a208
mov dword [ebp - 0x1dc], 0x11638
lea eax, [ebp - 0x1dc]
push eax
call fcn.10049105
pop ecx
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1c8], 0x1a35
cmp dword [ebp - 0x1c8], 0x1008
jge 0x10049915
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0x10007900
call fcn.100539eb
add esp, 0x10
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x70]
jge 0x100498e7
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x198]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x19c]
jge 0x100498fb
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
sub eax, dword [ebp - 0x18c]
inc eax
push eax
push 0x100078b4
call fcn.10053e49
pop ecx
pop ecx
mov byte [ebp - 0x164], 5
mov byte [ebp - 0x163], 0xef
mov byte [ebp - 0x162], 8
mov byte [ebp - 0x161], 0x1d
mov byte [ebp - 0x160], 7
mov byte [ebp - 0x15f], 6
mov byte [ebp - 0x15e], 4
mov byte [ebp - 0x15d], 0xc
mov byte [ebp - 0x15c], 0xb
mov byte [ebp - 0x15b], 0x1d
mov byte [ebp - 0x15a], 0
mov byte [ebp - 0x159], 0x3f
mov byte [ebp - 0x158], 0x34
mov byte [ebp - 0x157], 0xa5
mov byte [ebp - 0x156], 0xa9
mov byte [ebp - 0x155], 0x20
mov byte [ebp - 0x154], 0x6e
mov byte [ebp - 0x153], 3
mov byte [ebp - 0x152], 0x67
mov byte [ebp - 0x151], 0xbd
mov byte [ebp - 0x150], 0xa4
mov byte [ebp - 0x14f], 0xc
mov byte [ebp - 0x14e], 0x2d
mov byte [ebp - 0x14d], 0xfa
mov byte [ebp - 0x14c], 0xa2
mov byte [ebp - 0x14b], 0xd1
mov byte [ebp - 0x14a], 0xfe
mov byte [ebp - 0x149], 0xf4
mov byte [ebp - 0x148], 0x59
mov byte [ebp - 0x147], 0xe3
mov byte [ebp - 0x146], 0x3f
mov byte [ebp - 0x145], 0xa
mov byte [ebp - 0x144], 0xde
mov byte [ebp - 0x143], 0x26
mov byte [ebp - 0x142], 0x8a
mov byte [ebp - 0x141], 0xd6
mov byte [ebp - 0x140], 0xcd
mov byte [ebp - 0x13f], 0x48
mov byte [ebp - 0x13e], 0x15
mov byte [ebp - 0x13d], 0x2a
mov byte [ebp - 0x13c], 0x2a
mov byte [ebp - 0x13b], 0xa2
mov byte [ebp - 0x13a], 0xee
mov byte [ebp - 0x139], 0xd1
mov byte [ebp - 0x138], 0x58
mov byte [ebp - 0x137], 0x5e
mov byte [ebp - 0x136], 0xcd
mov byte [ebp - 0x135], 0xc5
mov byte [ebp - 0x134], 0x65
mov byte [ebp - 0x133], 0x30
mov byte [ebp - 0x132], 0x45
mov byte [ebp - 0x131], 0x8d
mov byte [ebp - 0x130], 0x2d
mov byte [ebp - 0x12f], 0x79
mov byte [ebp - 0x12e], 0x95
mov byte [ebp - 0x12d], 0xee
mov byte [ebp - 0x12c], 0x91
mov byte [ebp - 0x12b], 0x2c
mov byte [ebp - 0x12a], 0x64
mov byte [ebp - 0x129], 0xc5
mov byte [ebp - 0x128], 0xd6
mov byte [ebp - 0x127], 0xc3
mov byte [ebp - 0x126], 0x1c
mov byte [ebp - 0x125], 2
mov byte [ebp - 0x124], 0x65
mov byte [ebp - 0x123], 2
mov byte [ebp - 0x122], 0x33
mov byte [ebp - 0x121], 3
mov byte [ebp - 0x120], 0x22
mov byte [ebp - 0x11f], 1
mov byte [ebp - 0x11e], 0x33
mov byte [ebp - 0x11d], 9
mov byte [ebp - 0x11c], 0xb
mov byte [ebp - 0x11b], 0xa
mov byte [ebp - 0x11a], 0x2b
mov byte [ebp - 0x119], 6
mov byte [ebp - 0x118], 0x36
mov byte [ebp - 0x117], 0xc
mov byte [ebp - 0x116], 0x24
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x164]
or eax, 0x9d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
and ecx, 0x9d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x164]
mov byte [ebp + ecx - 0x1c0], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x68], 0
jmp 0x10049b91
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4f
jae 0x10049cea
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x164]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x10049c87
mov dword [ebp - 0x1ec], 0x21f1
cmp dword [ebp - 0x1ec], 0x971
jge 0x10049c5e
and dword [ebp - 0x168], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x188]
push eax
push 0x100079f0
call fcn.100539eb
add esp, 0xc
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x2c]
jge 0x10049c42
mov eax, dword [ebp - 0x2c]
and eax, 0x80000001
jns 0x10049c09
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x10049c1f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e0], eax
jmp 0x10049c33
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
jmp 0x10049bef
mov eax, dword [ebp - 0x168]
add eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x2c]
push eax
push 0x100078b4
call fcn.10053e49
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x164]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x164]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x10049b89
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x163]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x68]
movzx ecx, byte [ebp + ecx - 0x166]
movsx ecx, byte [ebp + ecx - 0x1c0]
or eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x163]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x166]
movsx edx, byte [ebp + edx - 0x1c0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x164]
mov byte [ebp + ecx - 0x1c0], al
and dword [ebp - 0x68], 0
jmp 0x10049b89
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x1c0], 0
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x270]
call fcn.1004281d
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c4], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1c4]
call fcn.100461c1
mov dword [0x11ad1af0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.100350cd
and dword [ebp - 0x64], 0
jmp 0x10049d52
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xe
jae 0x10049d65
mov eax, dword [ebp - 0x64]
mov byte [ebp + eax - 0x1c0], 0
jmp 0x10049d4b
mov byte [ebp - 0xb8], 9
mov byte [ebp - 0xb7], 0x5d
mov byte [ebp - 0xb6], 8
mov byte [ebp - 0xb5], 0xc
mov byte [ebp - 0xb4], 1
mov byte [ebp - 0xb3], 0x1d
mov byte [ebp - 0xb2], 0xa
mov byte [ebp - 0xb1], 0x17
mov byte [ebp - 0xb0], 6
mov byte [ebp - 0xaf], 0x35
mov byte [ebp - 0xae], 0xb
mov byte [ebp - 0xad], 0x23
mov byte [ebp - 0xac], 0xc
mov byte [ebp - 0xab], 0
mov byte [ebp - 0xaa], 0
mov byte [ebp - 0xa9], 0x30
mov byte [ebp - 0xa8], 2
mov byte [ebp - 0xa7], 0x26
mov byte [ebp - 0xa6], 7
mov byte [ebp - 0xa5], 0x17
mov byte [ebp - 0xa4], 0x27
mov byte [ebp - 0xa3], 0x65
mov byte [ebp - 0xa2], 0x69
mov byte [ebp - 0xa1], 0xce
mov byte [ebp - 0xa0], 0x81
mov byte [ebp - 0x9f], 0xcf
mov byte [ebp - 0x9e], 0x32
mov byte [ebp - 0x9d], 0x63
mov byte [ebp - 0x9c], 0xca
mov byte [ebp - 0x9b], 0x54
mov byte [ebp - 0x9a], 0x1a
mov byte [ebp - 0x99], 0xfd
mov byte [ebp - 0x98], 0xf4
mov byte [ebp - 0x97], 0xa9
mov byte [ebp - 0x96], 0xf6
mov byte [ebp - 0x95], 0xea
mov byte [ebp - 0x94], 0xdf
mov byte [ebp - 0x93], 0x90
mov byte [ebp - 0x92], 0x8c
mov byte [ebp - 0x91], 3
mov byte [ebp - 0x90], 0x64
mov byte [ebp - 0x8f], 0x9a
mov byte [ebp - 0x8e], 0x93
mov byte [ebp - 0x8d], 0x92
mov byte [ebp - 0x8c], pe_nt_image_headers32
mov byte [ebp - 0x8b], 0xfd
mov byte [ebp - 0x8a], 0x8a
mov byte [ebp - 0x89], 0xe
mov byte [ebp - 0x88], 0x93
mov byte [ebp - 0x87], 0xf5
mov byte [ebp - 0x86], 0xda
mov byte [ebp - 0x85], 0x1d
mov byte [ebp - 0x84], 0x78
mov byte [ebp - 0x83], 0x64
mov byte [ebp - 0x82], 0x4c
mov byte [ebp - 0x81], 0xda
mov byte [ebp - 0x80], 0xa8
mov byte [ebp - 0x7f], 0x24
mov byte [ebp - 0x7e], 0x5e
mov byte [ebp - 0x7d], 0xda
mov byte [ebp - 0x7c], 5
mov byte [ebp - 0x7b], 0x17
mov byte [ebp - 0x7a], 4
mov byte [ebp - 0x79], 0x11
mov byte [ebp - 0x78], 3
mov byte [ebp - 0x77], 0x15
mov byte [ebp - 0x76], 0xd
mov byte [ebp - 0x75], 0x36
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb8]
or eax, 0x3e
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
and ecx, 0x3e
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x1ac], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x4c], 0
jmp 0x10049f6b
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x44
jae 0x1004a18a
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x10049fb2
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xb8]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xb8]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x10049f63
mov dword [ebp - 0x1d4], 0x1f08
cmp dword [ebp - 0x1d4], 0xe71
jge 0x1004a102
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
push 0x10007848
call fcn.100539eb
pop ecx
pop ecx
and dword [ebp - 0x17c], 0
and dword [ebp - 0x190], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0x22], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x1cc], 0
je 0x1004a0b5
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x1000784c
call fcn.100539eb
add esp, 0xc
mov eax, dword [ebp - 0x17c]
and eax, 0x80000001
jns 0x1004a04c
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1004a056
mov byte [ebp - 0x21], 1
jmp 0x1004a05a
mov byte [ebp - 0x21], 0
mov al, byte [ebp - 0x21]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x190]
and eax, 0x80000001
jns 0x1004a072
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1004a07c
mov byte [ebp - 0x23], 1
jmp 0x1004a080
mov byte [ebp - 0x23], 0
mov al, byte [ebp - 0x23]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0xd]
movzx ecx, byte [ebp - 0x19]
xor eax, ecx
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xe]
movzx ecx, byte [ebp - 0xf]
xor eax, ecx
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x19]
movzx ecx, byte [ebp - 0xf]
xor eax, ecx
je 0x1004a0b0
mov byte [ebp - 0x22], 1
jmp 0x1004a002
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1004a0d2
movzx eax, byte [ebp - 0xe]
test eax, eax
jne 0x1004a0d2
push 0x10007f04
call fcn.100545b2
pop ecx
jmp 0x1004a102
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1004a0f7
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1004a0f7
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1004a0f7
push 0x10007f08
call fcn.100545b2
pop ecx
jmp 0x1004a102
push 0x10007898
call fcn.100545b2
pop ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xb7]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x4c]
movzx ecx, byte [ebp + ecx - 0xba]
movsx ecx, byte [ebp + ecx - 0x1ac]
add eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xb7]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xb7]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
movzx edx, byte [ebp + edx - 0xba]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xb8]
mov byte [ebp + ecx - 0x1ac], al
and dword [ebp - 0x4c], 0
jmp 0x10049f63
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x288]
call fcn.1004281d
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1e4]
call fcn.100461c1
mov dword [0x11ad1be8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.100350cd
and dword [ebp - 0x74], 0
jmp 0x1004a1f5
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xf
jae 0x1004a208
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax - 0x1ac], 0
jmp 0x1004a1ee
mov eax, dword [0x11ad1af0]
cmp eax, dword [ebp - 0x5c]
je 0x1004a21c
mov eax, dword [0x11ad1be8]
cmp eax, dword [ebp - 0x5c]
jne 0x1004a234
mov ecx, dword [ebp + 0xc]
call fcn.10035129
push eax
push dword [ebp + 8]
call fcn.1004920c
pop ecx
pop ecx
jmp 0x1004aa6f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x1004aa6d
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1004aa6d
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x4550
jne 0x1004aa6d
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x74], 0
jbe 0x1004aa6d
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + eax + 0x78], 0
je 0x1004aa6d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x34], edx
mov eax, 0xffff
mov word [ebp - 0x28], ax
or dword [ebp - 0x40], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1004a2d5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1004a2d0
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x28], ax
jmp 0x1004a46b
mov eax, dword [0x11ad1c10]
and eax, 1
jne 0x1004a30c
mov eax, dword [0x11ad1c10]
or eax, 1
mov dword [0x11ad1c10], eax
mov dword [ebp - 4], 2
mov ecx, 0x11ad1c34
call fcn.10035237
push 0x1006c757
call fcn.10053e1f
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x11ad1aee]
test eax, eax
je 0x1004a372
mov ecx, 0x11ad1c34
call fcn.1004b26c
movzx eax, al
test eax, eax
jne 0x1004a372
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x194]
push eax
mov ecx, 0x11ad1c34
call fcn.10035222
lea eax, [ebp - 0x1f4]
push eax
mov ecx, 0x11ad1c34
call fcn.1002a8b2
push eax
lea ecx, [ebp - 0x194]
call fcn.1002ad24
movzx eax, al
test eax, eax
je 0x1004a372
lea ecx, [ebp - 0x194]
call fcn.1004b275
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x1004a46b
mov ecx, 0x11ad1c34
call fcn.1002ac10
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x11ad1c34
call fcn.1004b2b9
and dword [ebp - 0x44], 0
jmp 0x1004a3a4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax + 0x18]
jae 0x1004a46b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x44]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x1004a466
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x258]
call fcn.1004281d
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x258]
call fcn.100461c1
mov dword [ebp - 0x178], eax
movzx eax, byte [0x11ad1aee]
test eax, eax
je 0x1004a423
mov ecx, 0x11ad1c34
call fcn.1004b26c
movzx eax, al
test eax, eax
jne 0x1004a440
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x11ad1c34
call fcn.1004b27b
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov byte [0x11ad1aee], 1
cmp dword [ebp - 0x40], 0xffffffff
jne 0x1004a457
mov eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x5c]
jne 0x1004a457
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.100350cd
jmp 0x1004a39d
cmp dword [ebp + 0x10], 0
jne 0x1004a48b
cmp dword [ebp - 0x40], 0xffffffff
je 0x1004a48b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x40]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x28], ax
movzx eax, word [ebp - 0x28]
cmp eax, 0xffff
je 0x1004aa6d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x28]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x48]
add ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jbe 0x1004aa68
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x30], edx
jae 0x1004aa68
mov eax, dword [0x11ad1c10]
and eax, 2
jne 0x1004a515
mov eax, dword [0x11ad1c10]
or eax, 2
mov dword [0x11ad1c10], eax
mov dword [ebp - 4], 4
push 0xee7e
call fcn.10034953
pop ecx
mov byte [0x11ad1c74], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x114], 2
mov byte [ebp - 0x113], 0xcc
mov byte [ebp - 0x112], 1
mov byte [ebp - 0x111], 0
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x10f], 8
mov byte [ebp - 0x10e], 0x53
mov byte [ebp - 0x10d], 0x8e
mov byte [ebp - 0x10c], 0x26
mov byte [ebp - 0x10b], 0x68
mov byte [ebp - 0x10a], 0xbc
mov byte [ebp - 0x109], 0x93
mov byte [ebp - 0x108], 0xe5
mov byte [ebp - 0x107], 0xac
mov byte [ebp - 0x106], 0x93
mov byte [ebp - 0x105], 0x21
mov byte [ebp - 0x104], 0x97
mov byte [ebp - 0x103], 0xdd
mov byte [ebp - 0x102], 0x29
mov byte [ebp - 0x101], 0x5f
mov byte [ebp - 0x100], 0x5e
mov byte [ebp - 0xff], 0x86
mov byte [ebp - 0xfe], 0xd0
mov byte [ebp - 0xfd], 0xc6
mov byte [ebp - 0xfc], 0xc7
mov byte [ebp - 0xfb], 0x44
mov byte [ebp - 0xfa], 0x8c
mov byte [ebp - 0xf9], 0x7d
mov byte [ebp - 0xf8], 0x12
mov byte [ebp - 0xf7], 0x9b
mov byte [ebp - 0xf6], 0xe0
mov byte [ebp - 0xf5], 0x7a
mov byte [ebp - 0xf4], 0x84
mov byte [ebp - 0xf3], 0xeb
mov byte [ebp - 0xf2], 0xce
mov byte [ebp - 0xf1], 0xab
mov byte [ebp - 0xf0], 0x57
mov byte [ebp - 0xef], 0xce
mov byte [ebp - 0xee], 0x77
mov byte [ebp - 0xed], 0x88
mov byte [ebp - 0xec], 0xbf
mov byte [ebp - 0xeb], 0x85
mov byte [ebp - 0xea], 0xbc
mov byte [ebp - 0xe9], 0xd1
mov byte [ebp - 0xe8], 0xc
mov byte [ebp - 0xe7], 0xb0
mov byte [ebp - 0xe6], 0xd2
mov byte [ebp - 0xe5], 0xe7
mov byte [ebp - 0xe4], 0xf1
mov byte [ebp - 0xe3], 0x7e
mov byte [ebp - 0xe2], 0x8d
mov byte [ebp - 0xe1], 0x6d
mov byte [ebp - 0xe0], 0x6b
mov byte [ebp - 0xdf], 0x97
mov byte [ebp - 0xde], 0x6e
mov byte [ebp - 0xdd], 0xad
mov byte [ebp - 0xdc], 0xd2
mov byte [ebp - 0xdb], 0xda
mov byte [ebp - 0xda], 0xb7
mov byte [ebp - 0xd9], 0
mov byte [ebp - 0xd8], 0x20
mov byte [ebp - 0xd7], 0x4a
mov byte [ebp - 0xd6], 1
mov byte [ebp - 0xd5], 0x87
mov byte [ebp - 0xd4], 0x5a
mov byte [ebp - 0xd3], 0xaa
mov byte [ebp - 0xd2], 0x1e
mov byte [ebp - 0xd1], 0x1f
mov byte [ebp - 0xd0], 0x3b
mov byte [ebp - 0xcf], 0x3d
mov byte [ebp - 0xce], 0x4e
mov byte [ebp - 0xcd], 0x4d
mov byte [ebp - 0xcc], 0x16
mov byte [ebp - 0xcb], 0x10
mov byte [ebp - 0xca], 0x87
mov byte [ebp - 0xc9], 4
mov byte [ebp - 0xc8], 0xe9
mov byte [ebp - 0xc7], 0x58
mov byte [ebp - 0xc6], 0x4a
mov byte [ebp - 0xc5], 0x1c
mov byte [ebp - 0xc4], 0xcc
mov byte [ebp - 0xc3], 0x4b
mov byte [ebp - 0xc2], 0x65
mov byte [ebp - 0xc1], 0xb5
mov byte [ebp - 0xc0], 0x82
mov byte [ebp - 0xbf], 0x58
mov byte [ebp - 0xbe], 4
mov byte [ebp - 0xbd], 8
mov byte [ebp - 0xbc], 0x75
mov byte [ebp - 0xbb], 0x61
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x114]
or eax, 0xa0
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x114]
and ecx, 0xa0
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x114]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x54], 0
jmp 0x1004a7db
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5a
jae 0x1004a89e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x114]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1004a822
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x114]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x114]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1004a7d3
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x113]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x54]
movzx ecx, byte [ebp + ecx - 0x116]
movsx ecx, byte [ebp + ecx - 0x38]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x113]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x116]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x113]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x116]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x114]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x54], 0
jmp 0x1004a7d3
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x11ad1c10]
and eax, 4
jne 0x1004a8e4
mov eax, dword [0x11ad1c10]
or eax, 4
mov dword [0x11ad1c10], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x11ad1bf8
call fcn.1004281d
push 0x1006c748
call fcn.10053e1f
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x60], 0
jmp 0x1004a8f1
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jae 0x1004a901
mov eax, dword [ebp - 0x60]
mov byte [ebp + eax - 0x38], 0
jmp 0x1004a8ea
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movsx eax, byte [eax]
movsx ecx, byte [0x11ad1c74]
cmp eax, ecx
je 0x1004a921
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
jmp 0x1004a907
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x210]
call fcn.1004b5f1
mov dword [ebp - 4], 6
push 0x11ad1bf8
lea ecx, [ebp - 0x210]
call fcn.1004284c
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x210]
call fcn.10035678
push dword [eax]
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x210]
call fcn.10035664
push dword [eax]
lea ecx, [ebp - 0x240]
call fcn.1004b61a
mov byte [ebp - 4], 7
lea eax, [ebp - 0x240]
push eax
call fcn.100472b1
pop ecx
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x1004aa17
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x228]
call fcn.1004281d
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1e8]
lea ecx, [ebp - 0x228]
call fcn.100470bf
movzx eax, al
test eax, eax
je 0x1004a9ea
push 0
push dword [ebp - 0x1e8]
push 0
push dword [ebp - 0x16c]
call fcn.10049803
add esp, 0x10
mov dword [ebp - 0x30], eax
jmp 0x1004aa06
push 1
push 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x16c]
call fcn.10049803
add esp, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x228]
call fcn.100350cd
jmp 0x1004aa4a
cmp dword [ebp + 0x10], 0
jne 0x1004aa2d
mov ecx, dword [ebp + 0xc]
call fcn.10035129
mov dword [ebp - 0x180], eax
jmp 0x1004aa37
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x180], eax
push dword [ebp - 0x180]
push dword [ebp + 8]
call fcn.1004920c
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x240]
call fcn.10034fb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.100350cd
mov eax, dword [ebp - 0x30]
jmp 0x1004aa6f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret