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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
and dword [ebp - 0x18], 0
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004b849
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x150], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x1004b7aa
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004a8bb
jmp 0x1004b862
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x4550
je 0x1004a8da
jmp 0x1004b862
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
jne 0x1004a8f8
jmp 0x1004b862
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x44], eax
and dword [ebp - 0xbc], 0
jmp 0x1004a92c
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x44]
add eax, 0x28
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xbc], eax
jge 0x1004a9aa
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
jb 0x1004a9a5
mov eax, dword [ebp - 0x40]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
push dword [eax + 8]
call fcn.10047cd1
pop ecx
pop ecx
add eax, dword [ebp - 0xc4]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x120]
jae 0x1004a9a5
push 0
lea eax, [ebp - 0x20]
push eax
push 0x69a4
lea eax, [ebp - 0x44]
push eax
push 0x124f
push 1
push 0x34f4
call fcn.100481d2
add esp, 0x1c
jmp 0x1004a9aa
jmp 0x1004a916
cmp dword [ebp - 0x20], 0
jne 0x1004a9b5
jmp 0x1004b862
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
call fcn.10046be2
push eax
call fcn.10054f1b
pop ecx
mov byte [ebp - 0x98], 9
mov byte [ebp - 0x97], 0x87
mov byte [ebp - 0x96], 3
mov byte [ebp - 0x95], 7
mov byte [ebp - 0x94], 4
mov byte [ebp - 0x93], 0xf
mov byte [ebp - 0x92], 1
mov byte [ebp - 0x91], 0xd
mov byte [ebp - 0x90], 0
mov byte [ebp - 0x8f], 4
mov byte [ebp - 0x8e], 5
mov byte [ebp - 0x8d], 0
mov byte [ebp - 0x8c], 2
mov byte [ebp - 0x8b], 6
mov byte [ebp - 0x8a], 6
mov byte [ebp - 0x89], 6
mov byte [ebp - 0x88], 8
mov byte [ebp - 0x87], 1
mov byte [ebp - 0x86], 7
mov byte [ebp - 0x85], 6
mov byte [ebp - 0x84], 4
mov byte [ebp - 0x83], 7
mov byte [ebp - 0x82], 9
mov byte [ebp - 0x81], 0xf
mov byte [ebp - 0x80], 0x11
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
or eax, 0xb7
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
and ecx, 0xb7
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0xec], al
mov dword [ebp - 0x2c], 2
and dword [ebp - 0xb0], 0
jmp 0x1004aad3
mov eax, dword [ebp - 0x2c]
inc eax
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x19
jae 0x1004abb3
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x2c], eax
jne 0x1004ab1d
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x98]
inc eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x98]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x2c], eax
jmp 0x1004aacb
mov eax, dword [ebp - 0x2c]
movzx eax, byte [ebp + eax - 0x97]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0xb0]
movzx ecx, byte [ebp + ecx - 0x9a]
movsx ecx, byte [ebp + ecx - 0xec]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x97]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xb0]
movzx edx, byte [ebp + edx - 0x9a]
movsx edx, byte [ebp + edx - 0xec]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx - 0x98]
mov byte [ebp + ecx - 0xec], al
push 0x4b40
push 0x6c34
lea eax, [ebp - 0xb0]
push eax
push 0x1ca1
push 0x29f5
push 1
push 0x24eb
push 0x4a1f
push 1
call fcn.10047f0f
add esp, 0x24
jmp 0x1004aacb
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xec], 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x210]
call fcn.100458fa
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xfc], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0xfc]
call fcn.10046ba7
pop ecx
mov dword [ebp - 0x14c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call fcn.1002fb6f
and dword [ebp - 0xac], 0
jmp 0x1004ac24
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xb
jae 0x1004ac3d
mov eax, dword [ebp - 0xac]
mov byte [ebp + eax - 0xec], 0
jmp 0x1004ac17
mov byte [ebp - 0x7c], 6
mov byte [ebp - 0x7b], 0x50
mov byte [ebp - 0x7a], 5
mov byte [ebp - 0x79], 8
mov byte [ebp - 0x78], 1
mov byte [ebp - 0x77], 7
mov byte [ebp - 0x76], 8
mov byte [ebp - 0x75], 6
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x73], 1
mov byte [ebp - 0x72], 4
mov byte [ebp - 0x71], 5
mov byte [ebp - 0x70], 9
mov byte [ebp - 0x6f], 4
mov byte [ebp - 0x6e], 2
mov byte [ebp - 0x6d], 0xe8
mov byte [ebp - 0x6c], 0x58
mov byte [ebp - 0x6b], 7
mov byte [ebp - 0x6a], 6
mov byte [ebp - 0x69], 2
mov byte [ebp - 0x68], 1
mov byte [ebp - 0x67], 3
mov byte [ebp - 0x66], 5
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x7c]
or eax, 0x69
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
and ecx, 0x69
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0xf8], al
mov dword [ebp - 0x28], 2
and dword [ebp - 0xb4], 0
jmp 0x1004ace1
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x17
jae 0x1004ada6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x7c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x1004ad22
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x7c]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x7c]
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x28], eax
jmp 0x1004acd9
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x7b]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0xb4]
movzx ecx, byte [ebp + ecx - 0x7e]
movsx ecx, byte [ebp + ecx - 0xf8]
or eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x7b]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0xb4]
movzx edx, byte [ebp + edx - 0x7e]
movsx edx, byte [ebp + edx - 0xf8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ebp + ecx - 0x7c]
mov byte [ebp + ecx - 0xf8], al
push 1
push 0x6924
push 0x2bf7
lea eax, [ebp - 0xb4]
push eax
push 0x15ef
push 1
push 0
push 0x568e
push 0x3214
call fcn.100498b0
add esp, 0x24
jmp 0x1004acd9
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x258]
call fcn.100458fa
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x144]
call fcn.10046ba7
pop ecx
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.1002fb6f
and dword [ebp - 0x9c], 0
jmp 0x1004ae1a
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xb
jae 0x1004ae33
mov eax, dword [ebp - 0x9c]
mov byte [ebp + eax - 0xf8], 0
jmp 0x1004ae0d
push dword [ebp - 0x104]
push dword [ebp - 0x14c]
call fcn.100479db
pop ecx
pop ecx
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x40]
push eax
push 0x5a7f
lea eax, [ebp - 0xc8]
push eax
push 1
push 1
push 0x5682
call fcn.10047fae
add esp, 0x18
push 0x1d3d
push 0x48e6
lea eax, [ebp - 0x14]
push eax
push 0x39c2
push 0x3146
push 0x4c71
push 0x53bf
push 0x76f
push 1
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.10049550
add esp, 0x2c
and dword [ebp - 0x60], 0
push 1
lea eax, [ebp - 0x14]
push eax
push 0x50a9
push 0x7475
push 0x589
push 1
push 1
lea eax, [ebp - 0x60]
push eax
push 0x5092
call fcn.100498b0
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x64], 0
jmp 0x1004aef7
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x48]
jge 0x1004afbc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x64], eax
jae 0x1004af59
push 0x23b3
push 0x754d
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x12d2
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x3358
push 0x12e8
push 0x75c0
call fcn.10049d89
add esp, 0x38
jmp 0x1004af7a
lea eax, [ebp - 0xe0]
push eax
push 0x64e0
push 1
push 0x4bde
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.10049b6f
add esp, 0x18
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xe0]
mov dword [ecx + eax], edx
push 0x1029
push 0x2ae9
push 1
push 0x69bc
push 1
push 0x74a2
lea eax, [ebp - 0x10]
push eax
push 0x7321
push 1
call fcn.10048291
add esp, 0x24
jmp 0x1004aef0
push 0x3b8c
lea eax, [ebp - 0x60]
push eax
push 1
push 0x1792
push 0x3850
push 1
push 1
push 0x295d
push 0x823
push 0x5075
push 0x3fcb
push 0x553b
push 0x1b9f
lea eax, [ebp - 0x14]
push eax
call fcn.10049d89
add esp, 0x38
push 0x465c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x688e
push 0x6142
push 0x5d81
push 1
lea eax, [ebp - 0x60]
push eax
push 0x5f14
push 0x10da
push 0x6c75
push 0
push 0x73e4
push 0x1880
call fcn.1004a5e3
add esp, 0x38
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2a5e
lea eax, [ebp - 0x48]
push eax
push 0x962
push 0x68e8
push 0xa4
call fcn.1004a02b
add esp, 0x28
push 0x1eb1
lea eax, [ebp - 0x14]
push eax
push 0x5e7d
push 1
lea eax, [ebp - 0x10]
push eax
push 0x77ef
push 0x16a1
push 0x3b10
lea eax, [ebp - 0x48]
push eax
push 1
push 0x1dc6
call fcn.100484df
add esp, 0x2c
lea eax, [ebp - 0x14]
push eax
push 1
push 1
push 0x172e
lea eax, [ebp - 0x60]
push eax
push 0x5e9d
call fcn.100486ac
add esp, 0x18
and dword [ebp - 0xa0], 0
jmp 0x1004b0de
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x48]
jge 0x1004b14b
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0xe31
lea eax, [ebp - 0x14]
push eax
push 0xfc
lea eax, [ebp - 0x20]
push eax
push 1
push 0xc09
push 0x5fa5
lea eax, [ebp - 0xa0]
push eax
call fcn.1004a14a
add esp, 0x2c
push 0
push 0x5c06
lea eax, [ebp - 0x10]
push eax
push 0x2a3c
push 0x844
push 0x294
push 0xa3c
push 1
call fcn.1004a294
add esp, 0x20
jmp 0x1004b0d1
push 0x69fa
push 0
push 0x7ed
push 0x437d
push 0x61d7
lea eax, [ebp - 0x14]
push eax
push 0x512d
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x500a
call fcn.1004a14a
add esp, 0x2c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.100458fa
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.1002283f
mov dword [ebp - 0xd4], eax
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
shr eax, 1
push eax
call fcn.100479db
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0x71
mov byte [ebp - 0x38], 0x5b
mov byte [ebp - 0x37], 1
mov byte [ebp - 0x36], 2
mov byte [ebp - 0x35], 0x42
mov byte [ebp - 0x34], 3
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 1
mov byte [ebp - 0x31], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x3c]
or eax, 0x5c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
and ecx, 0x5c
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
mov dword [ebp - 0x1c], 2
and dword [ebp - 0x5c], 0
jmp 0x1004b23c
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc
jae 0x1004b2fc
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x3c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x1004b27a
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x1c], eax
jmp 0x1004b234
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x3b]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0x3e]
movsx ecx, byte [ebp + ecx - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3b]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0x3e]
movsx edx, byte [ebp + edx - 0x50]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ebp + ecx - 0x3c]
mov byte [ebp + ecx - 0x50], al
push 1
push 0x267a
push 0x7c1e
push 0x63d7
push 1
lea eax, [ebp - 0x5c]
push eax
call fcn.10049252
add esp, 0x18
jmp 0x1004b234
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0x50], 0
cmp dword [ebp - 0x58], 4
jle 0x1004b3be
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.100458fa
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
sub eax, 4
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.10047bbc
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
or eax, 2
mov dword [ebp - 0x18], eax
push dword [ebp - 0x114]
mov edx, dword [ebp - 0x154]
lea ecx, [ebp - 0x1c8]
call fcn.1004be5e
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x18]
or eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xc0], eax
jmp 0x1004b3ea
push dword [ebp - 0x58]
lea eax, [ebp - 0x240]
push eax
call fcn.10047bbc
pop ecx
pop ecx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x18]
or eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x148], eax
push dword [ebp - 0x148]
lea ecx, [ebp - 0x198]
call fcn.1004ba10
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x18]
and eax, 8
je 0x1004b425
and dword [ebp - 0x18], 0xfffffff7
lea ecx, [ebp - 0x240]
call fcn.1002fb6f
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x1004b440
and dword [ebp - 0x18], 0xfffffffb
lea ecx, [ebp - 0x1c8]
call fcn.1002fb6f
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
and eax, 2
je 0x1004b45b
and dword [ebp - 0x18], 0xfffffffd
lea ecx, [ebp - 0x1e0]
call fcn.1002fb6f
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x1004b476
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x1f8]
call fcn.1002fb6f
and dword [ebp - 0xa4], 0
jmp 0x1004b48c
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 5
jae 0x1004b4a2
mov eax, dword [ebp - 0xa4]
mov byte [ebp + eax - 0x50], 0
jmp 0x1004b47f
push 1
lea eax, [ebp - 0x10]
push eax
push 0x279c
push 0x7b9e
push 0x2902
push 0x25fa
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1004a294
add esp, 0x20
push 0
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x198]
call fcn.1004ba58
lea eax, [ebp - 0x58]
push eax
push 0x7502
push 0x787a
push 1
push 0x5be4
push 0xdd4
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.100499af
add esp, 0x20
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x1e7f
push 0x4ada
lea eax, [ebp - 0x24]
push eax
push 1
push 0x1107
call fcn.1004943d
add esp, 0x20
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jbe 0x1004b59b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x1004b56f
mov dword [ebp - 0xcc], 0xc
jmp 0x1004b58d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
jmp 0x1004b5a2
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
and dword [ebp - 0xa8], 0
jmp 0x1004b5c4
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax + 0x18]
jae 0x1004b6ed
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.100479db
pop ecx
pop ecx
mov dword [ebp - 0xb8], eax
push dword [ebp - 0xb8]
lea eax, [ebp - 0x180]
push eax
call fcn.10047bbc
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
push 0x59d4
lea eax, [ebp - 0x14]
push eax
push 0x6e52
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x2fd0
push 1
push 1
push 0x2c3
call fcn.10049550
add esp, 0x2c
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x2392
push 0
push 0x30b1
call fcn.1004a372
add esp, 0x24
push 1
lea eax, [ebp - 0x10]
push eax
push 0x6e94
push 1
lea eax, [ebp - 0xb8]
push eax
call fcn.1004a46e
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
push 0x4ccb
push 1
push 0x4edc
push 0x294a
push 1
push 0
lea eax, [ebp - 0x20]
push eax
push 0x18da
push 0x3402
push 0x4548
push 0x19c0
lea eax, [ebp - 0x24]
push eax
push 0x7568
call fcn.10049d89
add esp, 0x38
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x180]
call fcn.1002fb6f
jmp 0x1004b5b7
and dword [ebp - 0x54], 0
jmp 0x1004b6fa
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x54], eax
jae 0x1004b755
lea eax, [ebp - 0x10]
push eax
push 0x890
push 0x5e0e
lea eax, [ebp - 0x24]
push eax
push 0x55ca
push 0x1b26
push 1
push 0x4ca
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x74c7
push 1
push 0x1c1b
push 0x7fa7
call fcn.1004a5e3
add esp, 0x38
jmp 0x1004b6f3
push 0x65d4
push 0
push 1
push 0x17c1
push 0x50b3
lea eax, [ebp - 0x30]
push eax
push 0x7a5d
push 0x3f50
lea eax, [ebp - 0x54]
push eax
push 0x5de7
call fcn.1004a02b
add esp, 0x28
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x198]
call fcn.1002fb6f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.1002fb6f
jmp 0x1004b847
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], eax
push 1
mov eax, dword [ebp - 0x168]
push dword [eax]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x164]
call fcn.1004ba9d
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 0xb
push dword [ebp - 0x108]
mov ecx, dword [ebp - 0x110]
call fcn.1004591d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1002fb6f
jmp 0x1004b862
push 0x5c14
push 0x5baa
push 0x294
push 1
call fcn.10047a33
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret