Function at 0x100494ef
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069894
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push esi
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004a8bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
test eax, eax
je 0x1004a86c
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004957a
jmp 0x1004a90c
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0x4550
je 0x10049599
jmp 0x1004a90c
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x100495b7
jmp 0x1004a90c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x54], eax
and dword [ebp - 0xcc], 0
jmp 0x100495eb
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x54]
add eax, 0x28
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xcc], eax
jge 0x1004966e
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x100]
jb 0x10049669
mov eax, dword [ebp - 0x48]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x54]
push dword [eax + 8]
call fcn.1004773c
pop ecx
pop ecx
add eax, dword [ebp - 0x100]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x15c]
jae 0x10049669
push 0x75bf
push 0x7905
push 1
lea eax, [ebp - 0x54]
push eax
push 0
push 0x78bc
push 0x2820
lea eax, [ebp - 0x1c]
push eax
call fcn.100477be
add esp, 0x20
jmp 0x1004966e
jmp 0x100495d5
cmp dword [ebp - 0x1c], 0
jne 0x10049679
jmp 0x1004a90c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.10045c12
push eax
call fcn.1005205b
pop ecx
mov byte [ebp - 0x84], 8
mov byte [ebp - 0x83], 0xee
mov byte [ebp - 0x82], 7
mov byte [ebp - 0x81], 6
mov byte [ebp - 0x80], 6
mov byte [ebp - 0x7f], 7
mov byte [ebp - 0x7e], 3
mov byte [ebp - 0x7d], 6
mov byte [ebp - 0x7c], 9
mov byte [ebp - 0x7b], 7
mov byte [ebp - 0x7a], 0
mov byte [ebp - 0x79], 1
mov byte [ebp - 0x78], 5
mov byte [ebp - 0x77], 0
mov byte [ebp - 0x76], 4
mov byte [ebp - 0x75], 9
mov byte [ebp - 0x74], 2
mov byte [ebp - 0x73], 0xf
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 7
mov byte [ebp - 0x70], 0x95
mov byte [ebp - 0x6f], 1
mov byte [ebp - 0x6e], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x84]
or eax, 0xde
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
and ecx, 0xde
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x12c], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xbc], 0
jmp 0x10049753
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x17
jae 0x1004982e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x84]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1004979d
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x84]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x84]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1004974b
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x83]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xbc]
movzx ecx, byte [ebp + ecx - 0x86]
movsx ecx, byte [ebp + ecx - 0x12c]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x83]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xbc]
movzx edx, byte [ebp + edx - 0x86]
movsx edx, byte [ebp + edx - 0x12c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x84]
mov byte [ebp + ecx - 0x12c], al
push 0x7e27
push 0x5bd5
push 0x401a
push 0
push 0
push 0x1429
push 0x761b
lea eax, [ebp - 0xbc]
push eax
call fcn.100478ad
add esp, 0x20
jmp 0x1004974b
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x248]
call fcn.10039701
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x16c]
call fcn.10045bd7
pop ecx
mov dword [ebp - 0x1a8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.10039724
and dword [ebp - 0xb4], 0
jmp 0x1004989f
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x100498b8
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x12c], 0
jmp 0x10049892
mov byte [ebp - 0x9c], 4
mov byte [ebp - 0x9b], 0xe
mov byte [ebp - 0x9a], 7
mov byte [ebp - 0x99], 2
mov byte [ebp - 0x98], 2
mov byte [ebp - 0x97], 1
mov byte [ebp - 0x96], 8
mov byte [ebp - 0x95], 7
mov byte [ebp - 0x94], 3
mov byte [ebp - 0x93], 2
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 0xb
mov byte [ebp - 0x90], 0xfd
mov byte [ebp - 0x8f], 5
mov byte [ebp - 0x8e], 3
mov byte [ebp - 0x8d], 0
mov byte [ebp - 0x8c], 0
mov byte [ebp - 0x8b], 6
mov byte [ebp - 0x8a], 8
mov byte [ebp - 0x89], 9
mov byte [ebp - 0x88], 9
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x9c]
or eax, 0x3a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x9c]
and ecx, 0x3a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x9c]
mov byte [ebp + ecx - 0x138], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0xb0], 0
jmp 0x100499aa
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x17
jae 0x10049a8c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x9c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x100499f4
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x9c]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x9c]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x100499a2
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x9b]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x9e]
movsx ecx, byte [ebp + ecx - 0x138]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x9b]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0x9e]
movsx edx, byte [ebp + edx - 0x138]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x9c]
mov byte [ebp + ecx - 0x138], al
push 0x3474
push 0x2c6
push 0x4c00
push 1
push 0x754
push 0x3b4e
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
push 0x6cb1
call fcn.10048f66
add esp, 0x28
jmp 0x100499a2
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x138], 0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x218]
call fcn.10039701
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1ac]
call fcn.10045bd7
pop ecx
mov dword [ebp - 0x180], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.10039724
and dword [ebp - 0xb8], 0
jmp 0x10049b00
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xb
jae 0x10049b19
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x138], 0
jmp 0x10049af3
push dword [ebp - 0x180]
push dword [ebp - 0x1a8]
call fcn.10047464
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 8], ecx
mov dword [ebp - 0x148], 0x24d8
cmp dword [ebp - 0x148], 0x7b4
jge 0x10049ed1
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
push 0x100088bc
call fcn.1005199d
pop ecx
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10044fe4
mov dword [ebp - 4], 2
and dword [ebp - 0x4c], 0
jmp 0x10049b8b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x10049cae
and dword [ebp - 0x190], 0
lea eax, [ebp - 0x190]
push eax
push 4
lea ecx, [ebp - 0x1b8]
call fcn.1004ab7a
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0xa8]
call fcn.1004aba1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b8]
call fcn.100208b4
and dword [ebp - 0x108], 0
and dword [ebp - 0x120], 0
and dword [ebp - 0x114], 0
and dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x10008fa0
call fcn.1005199d
add esp, 0x14
push 0
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [ebp - 0x108]
mov dword [eax], ecx
push 1
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [ebp - 0x120]
mov dword [eax], ecx
push 2
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
push 3
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [ebp - 0x11c]
mov dword [eax], ecx
jmp 0x10049b84
push dword [ebp - 0x50]
call fcn.1004cbbf
pop ecx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xdc], eax
and dword [ebp - 0xc0], 0
jmp 0x10049cdf
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x50]
jge 0x10049cfb
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0xc0]
mov byte [eax], 1
jmp 0x10049cd2
and dword [ebp - 0x34], 0
jmp 0x10049d08
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x50]
jge 0x10049e2b
and dword [ebp - 0x40], 0
jmp 0x10049d21
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x50]
jge 0x10049e26
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x40]
jne 0x10049d37
jmp 0x10049d1a
push 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov esi, eax
push 0
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10049e21
push 1
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov esi, eax
push 1
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10049e21
push 2
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov esi, eax
push 2
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10049e21
push 3
push dword [ebp - 0x34]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov esi, eax
push 3
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x10049e21
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x34]
mov byte [eax], 0
jmp 0x10049e26
jmp 0x10049d1a
jmp 0x10049d01
or dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xf8], 0xc2
and dword [ebp - 0x44], 0
jmp 0x10049e49
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x50]
jge 0x10049eae
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
jne 0x10049e63
jmp 0x10049e42
push 3
push dword [ebp - 0x44]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov eax, dword [eax]
cmp eax, dword [ebp - 0xf8]
jge 0x10049eac
push 3
push dword [ebp - 0x44]
lea ecx, [ebp - 0xa8]
call fcn.1004ac38
mov ecx, eax
call fcn.100208d0
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xec], eax
jmp 0x10049e42
mov eax, dword [ebp - 0xec]
inc eax
push eax
push 0x10008c4c
call fcn.10051696
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1004ac04
push 0x5872
push 0x11af
push 1
push 0x460a
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6988
call fcn.100477be
add esp, 0x20
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x10049f47
push 1
push 0x7493
push 1
lea eax, [ebp - 0x64]
push eax
push 0
push 0x2093
lea eax, [ebp - 0x10]
push eax
push 0x3b2f
push 0x2836
push 0x7d6f
push 0x302
push 0x8b2
push 0x4941
call fcn.1004799f
add esp, 0x34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
and dword [ebp - 0x68], 0
jmp 0x10049f69
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x58]
jge 0x1004a01a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x68], eax
jae 0x10049fa0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x68]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xf4], eax
jmp 0x10049fcb
push 0x519e
lea eax, [ebp - 0xf4]
push eax
push 0x13d9
push 1
push 0
push 0x52f
lea eax, [ebp - 0x54]
push eax
push 0x4941
call fcn.100478ad
add esp, 0x20
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xf4]
mov dword [ecx + eax], edx
push 0x2ef0
push 0
push 0x7b60
push 0x3004
push 0x3728
push 0x23ec
push 0x5c0f
lea eax, [ebp - 0x14]
push eax
push 0x6a5c
push 0
push 0x5208
call fcn.100485c7
add esp, 0x2c
jmp 0x10049f62
push 0x1c84
push 0x4fb8
push 0xdc6
lea eax, [ebp - 0x64]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x2e69
push 0xfda
push 0x3652
push 0x2d19
push 1
push 0x67a2
call fcn.100488db
add esp, 0x30
push 0x2e3c
lea eax, [ebp - 0x58]
push eax
push 0x4f8c
push 0
lea eax, [ebp - 0x64]
push eax
push 0x6ad9
push 1
lea eax, [ebp - 0x10]
push eax
push 0x5731
call fcn.10047ea4
add esp, 0x24
and dword [ebp - 0xd8], 0
jmp 0x1004a098
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x58]
jge 0x1004a0e4
push 0x6e7a
push 1
push 0x1633
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5297
push 0x78e3
push 0x5ff7
push 0x755a
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.100485c7
add esp, 0x2c
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x1004a08b
push 1
push 0x2a62
push 1
push 0x3904
push 1
lea eax, [ebp - 0x14]
push eax
push 0x5928
push 0x6db2
push 0x2713
push 0x5399
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x6d1d
call fcn.1004799f
add esp, 0x34
push 0x3f7e
lea eax, [ebp - 0x10]
push eax
push 0
push 0x238d
push 1
lea eax, [ebp - 0x64]
push eax
push 0x7ffb
call fcn.100494ef
add esp, 0x1c
and dword [ebp - 0xc8], 0
jmp 0x1004a15a
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x58]
jge 0x1004a1f8
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x51db
push 0x5606
push 0x3a5c
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5f77
push 0x364b
push 0
push 0x174b
push 0x5078
push 1
call fcn.100486d5
add esp, 0x3c
push 0x69ea
lea eax, [ebp - 0x14]
push eax
push 0
push 0x6427
push 0x3fb6
push 0x7c54
push 0x1a2
push 0x4226
push 0x73e2
push 0x69bc
push 1
push 0x5288
push 0x491d
call fcn.10047f8a
add esp, 0x34
jmp 0x1004a14d
push 0x2ad1
push 0x1a6f
push 0
push 1
push 0x3408
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0xa21
lea eax, [ebp - 0x14]
push eax
push 0x8f9
push 0x332b
push 0x42f2
push 0x6850
push 0x2966
call fcn.100482f0
add esp, 0x3c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x200]
call fcn.10039701
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x200]
call fcn.10039770
mov dword [ebp - 0x110], eax
push dword [ebp - 0x110]
mov eax, dword [ebp - 0x110]
shr eax, 1
push eax
call fcn.10047464
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x3c], 2
mov byte [ebp - 0x3b], 0xc4
mov byte [ebp - 0x3a], 1
mov byte [ebp - 0x39], 8
mov byte [ebp - 0x38], 3
mov byte [ebp - 0x37], 8
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0x42
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0xa8
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0xa8
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x60], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0xd0], 0
jmp 0x1004a2f2
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 8
jae 0x1004a361
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xd0]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x60]
add eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xd0]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x60]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xd0]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x60]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x60], al
jmp 0x1004a2ea
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x60], 0
cmp dword [ebp - 0x6c], 4
jle 0x1004a423
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x290]
call fcn.10039701
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
sub eax, 4
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10047660
pop ecx
pop ecx
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x184]
mov edx, dword [ebp - 0x13c]
lea ecx, [ebp - 0x230]
call fcn.1004b26a
pop ecx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x170], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xfc], eax
jmp 0x1004a44f
push dword [ebp - 0x6c]
lea eax, [ebp - 0x278]
push eax
call fcn.10047660
pop ecx
pop ecx
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x178], eax
push dword [ebp - 0x178]
lea ecx, [ebp - 0x1d0]
call fcn.1004aabd
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1004a48a
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x278]
call fcn.10039724
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1004a4a5
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x230]
call fcn.10039724
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1004a4c0
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x260]
call fcn.10039724
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1004a4db
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x290]
call fcn.10039724
and dword [ebp - 0xac], 0
jmp 0x1004a4f1
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 5
jae 0x1004a507
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x60], 0
jmp 0x1004a4e4
push 0x2c6b
lea eax, [ebp - 0x10]
push eax
push 0x402a
push 1
lea eax, [ebp - 0x14]
push eax
push 0x5121
push 0x30f5
push 0
push 1
push 0x27be
call fcn.10048f66
add esp, 0x28
lea eax, [ebp - 0x1c]
push eax
push 0x55f5
push 1
lea eax, [ebp - 0x10]
push eax
push 0x2d69
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x3162
push 0x5534
push 0x42c3
push 1
push 0x3271
lea eax, [ebp - 0x6c]
push eax
call fcn.10047f8a
add esp, 0x34
lea eax, [ebp - 0x6c]
push eax
push 0x63ac
push 1
push 0
push 0x3273
push 0x751f
lea eax, [ebp - 0x14]
push eax
push 0x7e7
push 0x70c2
push 0x7c88
call fcn.1004849d
add esp, 0x28
push 0x646e
push 0x154c
push 1
push 1
push 0x3eb4
push 1
push 0x1ae5
push 0x6f60
lea eax, [ebp - 0x14]
push eax
push 0x64e
push 0x82b
push 0x77a0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x7e26
call fcn.100482f0
add esp, 0x3c
push 1
push 0x7dba
push 0x57ca
lea eax, [ebp - 0x14]
push eax
push 0x5302
push 0x3df3
push 0x3b3a
push 0x122e
push 0x5544
push 0x53a0
push 0x3145
push 1
push 0x63ca
push 0x4c0f
push 0
call fcn.100486d5
add esp, 0x3c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jbe 0x1004a697
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004a66b
mov dword [ebp - 0x118], 0xc
jmp 0x1004a689
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x104], eax
jmp 0x1004a69e
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xe0], eax
and dword [ebp - 0xc4], 0
jmp 0x1004a6c0
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc4]
cmp ecx, dword [eax + 0x18]
jae 0x1004a7eb
push dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10047464
pop ecx
pop ecx
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
lea eax, [ebp - 0x1e8]
push eax
call fcn.10047660
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
push 0x47a
lea eax, [ebp - 0x14]
push eax
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e8]
push eax
push 0x1867
push 0x6a6b
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1004849d
add esp, 0x28
push 1
push 0x7dc4
lea eax, [ebp - 0x14]
push eax
push 0x368a
push 0x1b98
push 0x1fa9
push 0x6b95
push 0x5ed0
lea eax, [ebp - 0xd4]
push eax
push 0x1531
push 0x3000
push 0x2a16
push 0
call fcn.1004915c
add esp, 0x34
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + eax], 0
push 0x3e7
push 0x533
push 0x7317
push 1
push 0x6fa0
push 0x86d
push 0x6c8f
push 1
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.10048f66
add esp, 0x28
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1e8]
call fcn.10039724
jmp 0x1004a6b3
and dword [ebp - 0xe8], 0
push 1
push 0x57ef
lea eax, [ebp - 0x20]
push eax
push 0x5a31
lea eax, [ebp - 0xe8]
push eax
push 0x49b1
push 0x4edb
push 0x4811
push 0x1fc3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x40a0
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.100486d5
add esp, 0x3c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d0]
call fcn.10039724
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.10039724
jmp 0x1004a8ba
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x140]
mov eax, dword [eax + 0x18]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx]
mov dword [ecx + 0x18], eax
jmp 0x1004a90c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14c], eax
push 0x7f4f
push 0x2904
push 0x2bca
push 0x5c75
push 1
push dword [ebp - 0x144]
push dword [ebp - 0x14c]
push 0x6320
push 0x4740
push 0x3200
push 0x3a40
call fcn.10048592
add esp, 0x2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret