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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079071
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004c71e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax]
test eax, eax
je 0x1004c6fb
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004b67a
jmp 0x1004c77d
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
je 0x1004b699
jmp 0x1004c77d
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x1004b6b7
jmp 0x1004c77d
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x48], eax
and dword [ebp - 0xcc], 0
jmp 0x1004b6eb
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x48]
add eax, 0x28
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xcc], eax
jge 0x1004b773
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd8]
jb 0x1004b76e
mov eax, dword [ebp - 0x44]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x48]
push dword [eax + 8]
call fcn.10049cb5
pop ecx
pop ecx
add eax, dword [ebp - 0xd8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x134]
jae 0x1004b76e
lea eax, [ebp - 0x24]
push eax
push 0x243
push 0x762d
lea eax, [ebp - 0x48]
push eax
push 0xadb
push 1
push 0x3b65
push 0x4f16
push 1
call fcn.1004ad8d
add esp, 0x24
jmp 0x1004b773
jmp 0x1004b6d5
cmp dword [ebp - 0x24], 0
jne 0x1004b77e
jmp 0x1004c77d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
call fcn.1004745c
push eax
call fcn.10061cdf
pop ecx
mov byte [ebp - 0x68], 2
mov byte [ebp - 0x67], 0x60
mov byte [ebp - 0x66], 6
mov byte [ebp - 0x65], 6
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 0
mov byte [ebp - 0x62], 1
mov byte [ebp - 0x61], 0xaf
mov byte [ebp - 0x60], 9
mov byte [ebp - 0x5f], 1
mov byte [ebp - 0x5e], 7
mov byte [ebp - 0x5d], 6
mov byte [ebp - 0x5c], 5
mov byte [ebp - 0x5b], 7
mov byte [ebp - 0x5a], 4
mov byte [ebp - 0x59], 9
mov byte [ebp - 0x58], 8
mov byte [ebp - 0x57], 8
mov byte [ebp - 0x56], 1
mov byte [ebp - 0x55], 5
mov byte [ebp - 0x54], 3
mov byte [ebp - 0x53], 2
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x68]
or eax, 0x57
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
and ecx, 0x57
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x104], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xa8], 0
jmp 0x1004b83a
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x16
jae 0x1004b902
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x68]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1004b87b
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x68]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x68]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1004b832
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x67]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xa8]
movzx ecx, byte [ebp + ecx - 0x6a]
movsx ecx, byte [ebp + ecx - 0x104]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x67]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xa8]
movzx edx, byte [ebp + edx - 0x6a]
movsx edx, byte [ebp + edx - 0x104]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x68]
mov byte [ebp + ecx - 0x104], al
push 0x6fbd
push 0
push 0x249c
push 1
push 0x5e02
push 0x5d59
lea eax, [ebp - 0xa8]
push eax
push 0x2e8d
push 0x2970
call fcn.1004a66f
add esp, 0x24
jmp 0x1004b832
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x218]
call fcn.100439bc
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x144]
call fcn.10047421
pop ecx
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.100439df
and dword [ebp - 0xb4], 0
jmp 0x1004b973
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xb
jae 0x1004b98c
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x104], 0
jmp 0x1004b966
mov byte [ebp - 0x8c], 6
mov byte [ebp - 0x8b], 0x29
mov byte [ebp - 0x8a], 0
mov byte [ebp - 0x89], 8
mov byte [ebp - 0x88], 1
mov byte [ebp - 0x87], 7
mov byte [ebp - 0x86], 5
mov byte [ebp - 0x85], 7
mov byte [ebp - 0x84], 9
mov byte [ebp - 0x83], 1
mov byte [ebp - 0x82], 4
mov byte [ebp - 0x81], 4
mov byte [ebp - 0x80], 2
mov byte [ebp - 0x7f], 3
mov byte [ebp - 0x7e], 4
mov byte [ebp - 0x7d], 0x1e
mov byte [ebp - 0x7c], 0x22
mov byte [ebp - 0x7b], 0x33
mov byte [ebp - 0x7a], 0xe8
mov byte [ebp - 0x79], 8
mov byte [ebp - 0x78], 7
mov byte [ebp - 0x77], 3
mov byte [ebp - 0x76], 2
mov byte [ebp - 0x75], 7
mov byte [ebp - 0x74], 4
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x8c]
or eax, 0x10
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
and ecx, 0x10
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x110], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xa0], 0
jmp 0x1004ba65
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x19
jae 0x1004bc93
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x8c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1004baaf
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x8c]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x8c]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1004ba5d
mov dword [ebp - 0x15c], 0x1739
cmp dword [ebp - 0x15c], 0xe6e
jge 0x1004bbee
lea eax, [ebp - 0xc0]
push eax
push 0x100080d4
call fcn.10060cab
pop ecx
pop ecx
mov eax, dword [ebp - 0xc0]
inc eax
push eax
lea ecx, [ebp - 0x154]
call fcn.10043a71
mov dword [ebp - 4], 1
mov dword [ebp - 0xbc], 1
jmp 0x1004bb0f
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xc0]
jg 0x1004bb3d
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x154]
call fcn.10025e5b
push eax
push 0x100080d4
call fcn.10060cab
pop ecx
pop ecx
jmp 0x1004bb02
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x70], 1
jmp 0x1004bb51
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0xc0]
jg 0x1004bbb5
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x1004bbb5
push dword [ebp - 0x70]
lea ecx, [ebp - 0x154]
call fcn.10025e5b
push dword [eax]
lea ecx, [ebp - 0x154]
call fcn.10025e5b
push dword [eax]
lea ecx, [ebp - 0x154]
call fcn.10025e5b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x70]
jne 0x1004bb9f
mov dword [ebp - 0xe0], 1
jmp 0x1004bba6
and dword [ebp - 0xe0], 0
movzx eax, byte [ebp - 0x15]
or eax, dword [ebp - 0xe0]
mov byte [ebp - 0x15], al
jmp 0x1004bb4a
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1004bbc9
mov dword [ebp - 0xd0], 0x1000872c
jmp 0x1004bbd3
mov dword [ebp - 0xd0], 0x10008730
push dword [ebp - 0xd0]
call fcn.100614c1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10025e3f
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x8b]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xa0]
movzx ecx, byte [ebp + ecx - 0x8e]
movsx ecx, byte [ebp + ecx - 0x110]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x8b]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xa0]
movzx edx, byte [ebp + edx - 0x8e]
movsx edx, byte [ebp + edx - 0x110]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x8c]
mov byte [ebp + ecx - 0x110], al
push 0x67f
push 0x3b65
push 0x2735
push 0xe86
push 0x1bc6
push 0x5439
push 0x4dfc
push 0x4cad
push 0x2553
push 1
lea eax, [ebp - 0xa0]
push eax
push 0
call fcn.1004aec6
add esp, 0x30
jmp 0x1004ba5d
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x260]
call fcn.100439bc
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 2
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x188]
call fcn.10047421
pop ecx
mov dword [ebp - 0x120], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.100439df
and dword [ebp - 0xa4], 0
jmp 0x1004bd07
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xb
jae 0x1004bd20
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x110], 0
jmp 0x1004bcfa
push dword [ebp - 0x120]
push dword [ebp - 0x16c]
call fcn.10048897
pop ecx
pop ecx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.10048897
pop ecx
pop ecx
add eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
and dword [ebp - 0x50], 0
push 0x74b2
lea eax, [ebp - 0x50]
push eax
push 0
push 0x5d62
push 0xc85
lea eax, [ebp - 0x1c]
push eax
push 0x3f40
push 0xf28
push 0x1e26
push 0x20d3
push 1
call fcn.1004b29a
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0xac], 0
jmp 0x1004bdc2
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x4c]
jge 0x1004be8d
push 0x322f
push 0x5aad
push 1
push 0xdc9
push 0x6677
push 0x2551
lea eax, [ebp - 0xac]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.10049fdf
add esp, 0x38
lea eax, [ebp - 0x24]
push eax
push 0x1b7
lea eax, [ebp - 0x20]
push eax
push 0x1bdb
push 1
push 0x4e9e
push 0x5d4d
push 0
push 0x193e
lea eax, [ebp - 0x10]
push eax
push 0x55f
lea eax, [ebp - 0x128]
push eax
call fcn.1004a3b1
add esp, 0x30
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 0xc9e
push 0
push 0x2e3
push 0x3ea8
push 0xbf2
push 0x42cd
push 0x401b
push 0x34e9
call fcn.1004b175
add esp, 0x2c
jmp 0x1004bdb5
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1004ae77
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
and dword [ebp - 0xc8], 0
jmp 0x1004bec1
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x4c]
jge 0x1004bf46
push 0x1372
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0x155
push 1
push 0x1dc3
push 0x681f
push 0x7cad
lea eax, [ebp - 0x20]
push eax
push 0x7ee7
push 0x39f7
push 0x1fc
lea eax, [ebp - 0x10]
push eax
push 0x1eaf
call fcn.1004b426
add esp, 0x3c
push 0x98f
push 0x5456
push 0xa49
push 0x4422
push 0xbea
push 1
lea eax, [ebp - 0x10]
push eax
push 0x3610
push 0
call fcn.1004ad8d
add esp, 0x24
jmp 0x1004beb4
push 0x3edc
push 0x57d4
lea eax, [ebp - 0x1c]
push eax
push 0x6f90
push 0x5ab
lea eax, [ebp - 0x10]
push eax
push 1
push 0x4b4
push 0x72c5
lea eax, [ebp - 0x4c]
push eax
push 1
call fcn.10049d8e
add esp, 0x2c
push 0x1a2b
push 0x115c
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
push 0x323c
lea eax, [ebp - 0x50]
push eax
push 0x2f5
push 0x3e18
call fcn.10049ebe
add esp, 0x24
and dword [ebp - 0xb0], 0
jmp 0x1004bfbf
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x4c]
jge 0x1004c053
push 0x3fcf
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
push 0x474a
push 0x4e37
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x758a
push 1
push 0x4850
push 1
call fcn.1004aec6
add esp, 0x30
push 0x2d96
push 0x4953
push 1
push 0x6f75
push 0x114b
lea eax, [ebp - 0x10]
push eax
push 0x23de
push 1
push 0x7f5b
push 0x4f5c
push 0x31eb
push 1
push 0x5802
push 0x42f9
call fcn.10049fdf
add esp, 0x38
jmp 0x1004bfb2
push 0x2120
push 0x709a
push 0x6188
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x8c0
push 1
lea eax, [ebp - 0x4c]
push eax
push 0x44e0
push 0x663d
push 0x32b8
call fcn.1004a3b1
add esp, 0x30
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.100439bc
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1d0]
call fcn.10025c03
mov dword [ebp - 0xec], eax
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
shr eax, 1
push eax
call fcn.10048897
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x40], 3
mov byte [ebp - 0x3f], 0xe1
mov byte [ebp - 0x3e], 1
mov byte [ebp - 0x3d], 8
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0x4a
mov byte [ebp - 0x3a], 2
mov byte [ebp - 0x39], 0x42
mov byte [ebp - 0x38], 1
mov byte [ebp - 0x37], 0xa0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x40]
or eax, 0x8d
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
and ecx, 0x8d
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x94], al
mov dword [ebp - 0x30], 2
and dword [ebp - 0x98], 0
jmp 0x1004c14c
mov eax, dword [ebp - 0x30]
inc eax
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa
jae 0x1004c214
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x40]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x30], eax
jne 0x1004c18d
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x40]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x30], eax
jmp 0x1004c144
mov eax, dword [ebp - 0x30]
movzx eax, byte [ebp + eax - 0x3f]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x98]
movzx ecx, byte [ebp + ecx - 0x42]
movsx ecx, byte [ebp + ecx - 0x94]
or eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x3f]
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x98]
movzx edx, byte [ebp + edx - 0x42]
movsx edx, byte [ebp + edx - 0x94]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ebp + ecx - 0x40]
mov byte [ebp + ecx - 0x94], al
push 0x5d46
push 0x6bb4
push 0x3300
push 0x184f
push 1
lea eax, [ebp - 0x98]
push eax
push 0x149d
push 0x3de8
push 0
call fcn.1004b5f9
add esp, 0x24
jmp 0x1004c144
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x94], 0
cmp dword [ebp - 0x6c], 4
jle 0x1004c2dc
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x230]
call fcn.100439bc
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
sub eax, 4
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.10049b8d
pop ecx
pop ecx
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x174]
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x248]
call fcn.1004cdcc
pop ecx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
or eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xdc], eax
jmp 0x1004c308
push dword [ebp - 0x6c]
lea eax, [ebp - 0x1e8]
push eax
call fcn.10049b8d
pop ecx
pop ecx
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x148], eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x1b8]
call fcn.1004c960
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x14]
and eax, 8
je 0x1004c343
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x1e8]
call fcn.100439df
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
and eax, 4
je 0x1004c35e
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x248]
call fcn.100439df
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x1004c379
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x200]
call fcn.100439df
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1004c394
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x230]
call fcn.100439df
and dword [ebp - 0xb8], 0
jmp 0x1004c3aa
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 5
jae 0x1004c3c3
mov eax, dword [ebp - 0xb8]
mov byte [ebp + eax - 0x94], 0
jmp 0x1004c39d
push 0x724f
push 0x24a4
push 1
push 0
push 0xb52
push 1
push 0x2f69
push 0x5823
push 0x76e8
push 0x5b21
push 0x97f
lea eax, [ebp - 0x1c]
push eax
push 0x78fd
push 0x3da5
lea eax, [ebp - 0x10]
push eax
call fcn.1004b426
add esp, 0x3c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x64f4
lea eax, [ebp - 0x1b8]
push eax
push 1
push 0x7300
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x16a8
call fcn.1004b077
add esp, 0x24
push 0x6fa3
lea eax, [ebp - 0x6c]
push eax
push 0x7912
push 0x5e10
push 0xf0f
push 1
push 0x54a0
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.1004a943
add esp, 0x24
push 1
push 0x96a
push 1
push 0x3dd0
push 1
push 0x47d3
lea eax, [ebp - 0x20]
push eax
push 0x651a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x472b
call fcn.1004b175
add esp, 0x2c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jbe 0x1004c500
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004c4d4
mov dword [ebp - 0xf0], 0xc
jmp 0x1004c4f2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe4], eax
jmp 0x1004c507
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
and dword [ebp - 0x9c], 0
jmp 0x1004c529
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax + 0x18]
jae 0x1004c639
push dword [ebp - 0xf8]
mov eax, dword [ebp - 0xf8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.10048897
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
lea eax, [ebp - 0x1a0]
push eax
call fcn.10049b8d
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
lea eax, [ebp - 0x24]
push eax
push 0x759e
push 1
push 0x77f5
lea eax, [ebp - 0x20]
push eax
push 0x7ccd
push 0x299b
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1004b29a
add esp, 0x2c
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc4]
mov dword [ebp - 0x10], eax
push 0x5b22
push 1
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 0x5c1d
push 0x3b69
lea eax, [ebp - 0x10]
push eax
push 0x366e
call fcn.1004a66f
add esp, 0x24
push 0x629b
push 0
push 1
lea eax, [ebp - 0x10]
push eax
push 0x794c
push 0x1ac
push 0x6c62
push 0x4f2c
call fcn.1004afcd
add esp, 0x20
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a0]
call fcn.100439df
jmp 0x1004c51c
and dword [ebp - 0xd4], 0
lea eax, [ebp - 0x34]
push eax
push 0x297b
push 1
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd4]
push eax
push 0x4ddb
push 0x7add
push 0x5902
push 0x6838
lea eax, [ebp - 0x10]
push eax
push 0x7a6c
push 0x5b24
call fcn.1004b426
add esp, 0x3c
push 0xfa
push 0x52e6
push 0x52c6
push 1
push 0x6c42
lea eax, [ebp - 0x34]
push eax
push 0x162
push 0x29d6
push 1
push 0x6d7b
push 0x1f5b
push 0x41f7
lea eax, [ebp - 0xd4]
push eax
push 0x4b32
push 0x53cc
push 0x3b8b
call fcn.1004ab61
add esp, 0x40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
call fcn.100439df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.100439df
jmp 0x1004c71c
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
and dword [eax], 0
jmp 0x1004c77d
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], eax
push 0xfa9
push 1
push dword [ebp - 0x160]
push dword [ebp - 0x180]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push 0x7e25
push dword [ebp - 0x124]
call fcn.1004b3e7
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret