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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fdc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x10050ce2
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x19c]
movzx eax, byte [eax]
test eax, eax
je 0x10050ae7
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004fb9d
jmp 0x10050d1e
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0x4550
je 0x1004fbbc
jmp 0x10050d1e
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x1004fbda
jmp 0x10050d1e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x54], eax
and dword [ebp - 0xc8], 0
jmp 0x1004fc0e
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x54]
add eax, 0x28
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc8], eax
jge 0x1004fc8c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xec]
jb 0x1004fc87
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x54]
push dword [eax + 8]
call fcn.1004daf6
pop ecx
pop ecx
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1bc]
jae 0x1004fc87
lea eax, [ebp - 0x54]
push eax
push 0
push 0x242c
push 0x1250
push 0x7909
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.1004f60a
add esp, 0x1c
jmp 0x1004fc8c
jmp 0x1004fbf8
cmp dword [ebp - 0x28], 0
jne 0x1004fc97
jmp 0x10050d1e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.1004bb92
push eax
call fcn.10058320
pop ecx
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x6b], 0xad
mov byte [ebp - 0x6a], 5
mov byte [ebp - 0x69], 4
mov byte [ebp - 0x68], 3
mov byte [ebp - 0x67], 0x2e
mov byte [ebp - 0x66], 0x7a
mov byte [ebp - 0x65], 0x4d
mov byte [ebp - 0x64], 3
mov byte [ebp - 0x63], 6
mov byte [ebp - 0x62], 7
mov byte [ebp - 0x61], 1
mov byte [ebp - 0x60], 6
mov byte [ebp - 0x5f], 7
mov byte [ebp - 0x5e], 4
mov byte [ebp - 0x5d], 9
mov byte [ebp - 0x5c], 2
mov byte [ebp - 0x5b], 0xf
mov byte [ebp - 0x5a], 8
mov byte [ebp - 0x59], 7
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x57], 1
mov byte [ebp - 0x56], 9
mov byte [ebp - 0x55], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x6c]
or eax, 0x98
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
and ecx, 0x98
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x118], al
mov dword [ebp - 0x20], 2
and dword [ebp - 0x7c], 0
jmp 0x1004fd5d
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jae 0x1004ff45
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x6c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x20], eax
jne 0x1004fd9b
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x6c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x6c]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x20], eax
jmp 0x1004fd55
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x6b]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x7c]
movzx ecx, byte [ebp + ecx - 0x6e]
movsx ecx, byte [ebp + ecx - 0x118]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x7c]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x118]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x7c]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x118]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x118], al
push 0x69f3
push 0x55f4
push 0x3e2b
push 0x76b8
push 0x57c0
push 0x41ce
push 1
push 1
push 0x5e3a
lea eax, [ebp - 0x7c]
push eax
push 0
call fcn.1004f2a1
add esp, 0x2c
mov dword [ebp - 0xf4], 0x2072
mov dword [ebp - 0x1cc], 0x1000934c
cmp dword [ebp - 0xf4], 0x22d5
jle 0x1004fefe
and dword [ebp - 0xc0], 0
jmp 0x1004fe74
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x6f3a
jge 0x1004fefe
and dword [ebp - 0xbc], 0
jmp 0x1004fe96
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x158c
jge 0x1004fef9
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0xbc]
cdq
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x2bc]
call fcn.1000a964
pop ecx
pop ecx
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
call fcn.10021475
push eax
call fcn.100579ef
pop ecx
lea ecx, [ebp - 0x2bc]
call fcn.1002146b
jmp 0x1004fe89
jmp 0x1004fe67
and dword [ebp - 4], 0
cmp dword [ebp - 0xf4], 0x1cfd
jge 0x1004ff1a
push dword [ebp - 0x1cc]
call fcn.100579ef
pop ecx
jmp 0x1004ff36
or dword [ebp - 4], 0xffffffff
jmp 0x1004ff40
jmp 0x1004fd55
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x118], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1002191b
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x1c8]
call fcn.1004bb57
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002193e
and dword [ebp - 0xc4], 0
jmp 0x1004ffb9
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xb
jae 0x1004ffd2
mov eax, dword [ebp - 0xc4]
mov byte [ebp + eax - 0x118], 0
jmp 0x1004ffac
mov byte [ebp - 0x98], 8
mov byte [ebp - 0x97], 0x7c
mov byte [ebp - 0x96], 4
mov byte [ebp - 0x95], 4
mov byte [ebp - 0x94], 6
mov byte [ebp - 0x93], 0xd
mov byte [ebp - 0x92], 5
mov byte [ebp - 0x91], 8
mov byte [ebp - 0x90], 3
mov byte [ebp - 0x8f], 3
mov byte [ebp - 0x8e], 2
mov byte [ebp - 0x8d], 5
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8b], 1
mov byte [ebp - 0x8a], 1
mov byte [ebp - 0x89], 0
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x87], 7
mov byte [ebp - 0x86], 4
mov byte [ebp - 0x85], 0xbf
mov byte [ebp - 0x84], 0xb0
mov byte [ebp - 0x83], 0x49
mov byte [ebp - 0x82], 0x8c
mov byte [ebp - 0x81], 9
mov byte [ebp - 0x80], 1
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
or eax, 0x4c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
and ecx, 0x4c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0x124], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0xb8], 0
jmp 0x100500cf
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x19
jae 0x100501a5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x10050119
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x98]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x98]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x100500c7
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x97]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xb8]
movzx ecx, byte [ebp + ecx - 0x9a]
movsx ecx, byte [ebp + ecx - 0x124]
or eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x97]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xb8]
movzx edx, byte [ebp + edx - 0x9a]
movsx edx, byte [ebp + edx - 0x124]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0x124], al
push 0x7a99
push 0
lea eax, [ebp - 0xb8]
push eax
push 0x6342
push 0x2c84
push 0x64f2
push 1
call fcn.1004f60a
add esp, 0x1c
jmp 0x100500c7
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x124], 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.1002191b
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 3
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x128]
call fcn.1004bb57
pop ecx
mov dword [ebp - 0x138], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.1002193e
and dword [ebp - 0xac], 0
jmp 0x10050219
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x10050232
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0x124], 0
jmp 0x1005020c
push dword [ebp - 0x138]
push dword [ebp - 0x16c]
call fcn.1004ce8f
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.1004ce8f
pop ecx
pop ecx
add eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x100502a8
push 1
push 0x1ada
push 0x929
lea eax, [ebp - 0x14]
push eax
push 0x3ab3
push 1
lea eax, [ebp - 0x70]
push eax
push 0x479e
push 0x5bd2
call fcn.1004e6e0
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
and dword [ebp - 0x74], 0
jmp 0x100502ca
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x50]
jge 0x100503e4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x74], eax
jae 0x1005032a
push 0x6040
lea eax, [ebp - 0x74]
push eax
push 0x4e6c
push 0x1a3f
push 0x216c
lea eax, [ebp - 0x14]
push eax
push 0
push 0x22ff
lea eax, [ebp - 0x100]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x5388
lea eax, [ebp - 0x2c]
push eax
call fcn.1004e54e
add esp, 0x34
jmp 0x10050368
push 0x2750
push 0x4a59
push 0x5f4e
push 0x1210
push 0x363c
push 0x6c
push 0
push 0x7225
push 0
lea eax, [ebp - 0x100]
push eax
push 0x6145
lea eax, [ebp - 0x54]
push eax
push 1
call fcn.1004ea9f
add esp, 0x34
push 0x66da
push 0x4063
push 0x53ca
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x100]
push eax
push 0x35c4
lea eax, [ebp - 0x2c]
push eax
push 1
push 0x6f61
lea eax, [ebp - 0x1c]
push eax
call fcn.1004e920
add esp, 0x2c
push 0x466e
push 0x2cdf
push 0x7aa9
push 0x492d
push 0x2cb6
push 0x6e2b
push 1
push 0x1c35
push 1
push 0x5680
lea eax, [ebp - 0x1c]
push eax
push 0x4903
push 1
call fcn.1004ea9f
add esp, 0x34
jmp 0x100502c3
lea eax, [ebp - 0x14]
push eax
push 0x1618
push 0x5492
push 1
push 1
push 0x6f6a
lea eax, [ebp - 0x70]
push eax
push 0x1e0e
call fcn.1004ec55
add esp, 0x20
lea eax, [ebp - 0x50]
push eax
push 0x6f21
push 1
push 0x38cf
lea eax, [ebp - 0x70]
push eax
push 1
push 0x64a6
push 1
push 0x4d32
lea eax, [ebp - 0x14]
push eax
call fcn.1004ed41
add esp, 0x28
and dword [ebp - 0xcc], 0
jmp 0x10050450
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x50]
jge 0x100504ad
push 0x6945
push 0x5e49
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x6208
push 1
push 1
lea eax, [ebp - 0x2c]
push eax
push 0x4e7b
call fcn.1004dc7e
add esp, 0x24
push 0
push 0x2667
lea eax, [ebp - 0x1c]
push eax
push 0x579
push 0x4492
push 0x3ca2
push 1
call fcn.1004f55c
add esp, 0x1c
jmp 0x10050443
push 0xd0e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x152c
push 0x2ca0
push 0x720c
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x7480
push 1
call fcn.1004f2a1
add esp, 0x2c
push 0x18b2
push 0x5f3a
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x5aee
push 0x712d
lea eax, [ebp - 0x70]
push eax
call fcn.1004ec55
add esp, 0x20
and dword [ebp - 0xb4], 0
jmp 0x1005051e
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x50]
jge 0x10050559
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0xb4]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
mov ax, word [esi + eax]
mov word [edx + ecx], ax
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x10050511
push 1
push 0x21c4
push 0x269d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1004f55c
add esp, 0x1c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.1002191b
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x214]
call fcn.1002198a
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
shr eax, 1
push eax
call fcn.1004ce8f
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0x8e
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 0x4a
mov byte [ebp - 0x48], 4
mov byte [ebp - 0x47], 0x4a
mov byte [ebp - 0x46], 0xd4
mov byte [ebp - 0x45], 0x9d
mov byte [ebp - 0x44], 0xbd
mov byte [ebp - 0x43], 2
mov byte [ebp - 0x42], 0x42
mov byte [ebp - 0x41], 3
mov byte [ebp - 0x40], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x4c]
or eax, 0xea
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
and ecx, 0xea
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0xa0], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0xb0], 0
jmp 0x10050645
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xd
jae 0x1005070f
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x4c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x10050686
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x4c]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x4c]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x1005063d
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x4b]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x4e]
movsx ecx, byte [ebp + ecx - 0xa0]
or eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x4b]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0x4e]
movsx edx, byte [ebp + edx - 0xa0]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x4c]
mov byte [ebp + ecx - 0xa0], al
push 0x538d
push 1
push 0x277c
push 1
push 0x2261
push 0x44c6
push 0x1da8
push 1
push 0x6930
lea eax, [ebp - 0xb0]
push eax
call fcn.1004dfe9
add esp, 0x28
jmp 0x1005063d
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xa0], 0
cmp dword [ebp - 0x78], 4
jle 0x100507d7
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28c]
call fcn.1002191b
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x78]
sub eax, 4
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.1004d640
pop ecx
pop ecx
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x148]
mov edx, dword [ebp - 0x178]
lea ecx, [ebp - 0x244]
call fcn.10051340
pop ecx
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0xf8], eax
jmp 0x10050803
push dword [ebp - 0x78]
lea eax, [ebp - 0x274]
push eax
call fcn.1004d640
pop ecx
pop ecx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x188], eax
push dword [ebp - 0x188]
lea ecx, [ebp - 0x1fc]
call fcn.10050ef2
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1005083e
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x274]
call fcn.1002193e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x10050859
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x244]
call fcn.1002193e
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x10050874
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x25c]
call fcn.1002193e
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1005088f
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x28c]
call fcn.1002193e
and dword [ebp - 0xa4], 0
jmp 0x100508a5
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 5
jae 0x100508be
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0xa0], 0
jmp 0x10050898
push 0x2205
push 0x4ab6
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x203d
push 0x6572
call fcn.1004e351
add esp, 0x20
push 0
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.10050f3a
push 0x5a83
push 0x5ac2
push 0x2953
push 0x4d7c
push 1
push 0x5595
lea eax, [ebp - 0x78]
push eax
push 1
push 0x66d6
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1004f6de
add esp, 0x2c
lea eax, [ebp - 0x28]
push eax
push 0x4309
lea eax, [ebp - 0x2c]
push eax
push 0x3eb3
push 1
push 0x4fa8
push 0x5790
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x2126
push 1
call fcn.1004f6de
add esp, 0x2c
push 0x4188
push 0x7f15
push 0x2e1b
push 0x6f4
push 0x4ccb
push 0x2060
push 1
push 0x48d7
push 0x7703
push 1
push 0x3d12
lea eax, [ebp - 0x1c]
push eax
push 0x701c
call fcn.1004e54e
add esp, 0x34
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x10050a0a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x100509de
mov dword [ebp - 0xd0], 0xc
jmp 0x100509fc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xfc], eax
jmp 0x10050a11
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x160], eax
push 1
push 0xdf6
push 0x6311
lea eax, [ebp - 0x28]
push eax
push 0x35c2
push 0x7fd0
lea eax, [ebp - 0x2c]
push eax
push 0x5865
push 0x72f9
push 0x5144
push 0x56dc
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x6e1b
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1004f82e
add esp, 0x40
and dword [ebp - 0xe8], 0
push 0x1616
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x6304
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xe8]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x252c
push 0x5b4d
push 0x2136
push 1
call fcn.1004ea9f
add esp, 0x34
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1fc]
call fcn.1002193e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.1002193e
jmp 0x10050ce0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.10021a50
cmp dword [eax], 0xffffffff
jl 0x10050bbb
mov dword [ebp - 0x104], 1
jmp 0x10050bc2
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x104]
cmp dword [eax], ecx
jge 0x10050be1
mov dword [ebp - 0xf0], 1
jmp 0x10050be8
and dword [ebp - 0xf0], 0
push 0
mov ecx, dword [ebp - 0xa8]
call fcn.10021a50
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax]
jge 0x10050c0b
mov dword [ebp - 0x108], 1
jmp 0x10050c12
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
cmp dword [ebp - 0x108], eax
jle 0x10050c2e
mov dword [ebp - 0x134], 1
jmp 0x10050c35
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.10021a50
cmp esi, dword [eax]
jge 0x10050c80
mov dword [ebp - 0x13c], 1
jmp 0x10050c87
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x10050cb2
mov eax, 0xf6a191a8
test eax, eax
je 0x10050cb2
mov dword [ebp - 0xe4], 1
jmp 0x10050cb9
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x38]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.10021a50
mov esi, dword [eax]
sub esi, dword [ebp - 0xe4]
push 1
mov ecx, dword [ebp - 0x14c]
call fcn.10021a50
mov dword [eax], esi
jmp 0x10050d1e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x154]
push dword [ebp - 0x15c]
push 0x6e59
push 1
push dword [ebp - 0x164]
call fcn.1004ed12
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret