Function at 0x4f8f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f9dff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 9
jge 0x4f8f76
inc dword [ebp - 0x38]
imul eax, dword [ebp - 0x4c], 0xcc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x38], 9
jl 0x4f8f63
mov eax, dword [0x5348cc]
mov dword [0x534a40], eax
mov eax, dword [0x534884]
mov dword [0x534a50], eax
mov eax, dword [0x53485c]
add eax, 0x18
cmp eax, dword [0x534a38]
jge 0x4f8fa6
mov eax, dword [0x5349d8]
mov dword [0x53486c], eax
jmp 0x4f8fb6
mov eax, dword [0x5348bc]
add eax, dword [0x5349d0]
mov dword [0x5348e4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x40]
jne 0x4f901a
mov eax, dword [0x534a08]
mov dword [0x5349d8], eax
mov eax, dword [0x5349ac]
mov dword [0x5349e8], eax
mov eax, dword [0x5349d8]
cmp eax, dword [0x5349e8]
jge 0x4f900e
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x4f902d
inc dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
mov edx, 0x4f9e1c
call fcn.0040a01c
cmp dword [ebp - 0x4c], 2
jl 0x4f8ff6
jmp 0x4f902d
imul eax, dword [ebp - 0x50], 0xa9
mov dword [ebp - 0x2c], eax
jmp 0x4f902d
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [0x5348c4]
mov dword [0x53497c], eax
mov eax, dword [ebp - 0x48]
imul dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5348bc]
mov dword [0x5349e8], eax
mov eax, dword [0x534a00]
call fcn.004071f4
mov dword [0x534a00], eax
mov eax, dword [0x534a00]
cmp eax, dword [0x5349e8]
jge 0x4f9076
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x53489c]
mov dword [0x5348f4], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 1
jne 0x4f9061
jmp 0x4f908e
mov eax, dword [0x534a40]
add eax, 0x5b
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.0040762c
mov dword [0x5349e0], eax
mov eax, dword [0x534974]
sub eax, dword [0x53488c]
mov dword [0x534864], eax
mov eax, dword [0x5348fc]
add eax, 0x56
mov dword [0x5348c4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
xor edx, edx
add edx, 0x18
add eax, edx
mov edx, dword [ebp - 0x6c]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebp - 0x64], eax
mov eax, dword [0x53485c]
mov dword [0x5349b4], eax
mov eax, dword [0x534a00]
mov dword [0x5349c4], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.0040a01c
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [0x5348ec]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
call fcn.004f8cdc
mov dword [ebp - 0x44], eax
mov eax, dword [0x534a00]
call fcn.004071f4
mov dword [0x534a00], eax
imul eax, dword [ebp - 0x50], 0x4f
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x4f9d75
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], 0
imul eax, dword [ebp - 0x3c], 0xe4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x5349d0]
mov dword [0x53493c], eax
mov eax, dword [0x534944]
call fcn.004071f4
mov dword [0x534944], eax
mov eax, dword [0x534944]
cmp eax, dword [0x53493c]
jge 0x4f917b
mov eax, dword [0x534974]
call fcn.004071f4
mov dword [0x534974], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040abd8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x10], 0
jne 0x4f9a0c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [0x5348e4]
call fcn.004071f4
mov dword [0x5348e4], eax
imul eax, dword [ebp - 0x50], 0xd
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
add eax, 0x6c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x4f91ed
inc dword [ebp - 0x38]
fild dword [ebp - 0x44]
call fcn.00407638
mov dword [ebp - 0x34], eax
jmp 0x4f91ed
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x4f9224
inc dword [ebp - 0x1c]
mov eax, dword [0x5349bc]
add eax, 4
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.00407638
mov dword [0x5348e4], eax
jmp 0x4f9224
cmp dword [ebp - 0x58], 0
jle 0x4f974d
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x4f924a
mov eax, dword [ebp - 0x70]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x5f
jle 0x4f9261
mov eax, dword [0x53487c]
call fcn.004071f4
mov dword [0x53487c], eax
jmp 0x4f926c
fild dword [ebp - 0x44]
call fcn.0040762c
mov dword [ebp - 0x28], eax
mov eax, dword [0x534994]
mov edx, 0x4f9e58
call fcn.0040aba0
jne 0x4f9288
mov eax, dword [ebp - 0x1c]
add eax, 0xf6
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 8
jne 0x4f9233
imul eax, dword [ebp - 0x24], 0x97
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xc
jge 0x4f92f7
inc dword [ebp - 0x30]
mov eax, dword [0x534944]
mov dword [0x534864], eax
mov eax, dword [0x5348e4]
mov dword [0x53486c], eax
mov eax, dword [0x534a50]
mov dword [0x53488c], eax
mov eax, dword [0x53486c]
cmp eax, dword [0x53488c]
jle 0x4f92df
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
jmp 0x4f92f7
mov eax, dword [0x534a38]
add eax, dword [0x534974]
mov dword [0x5349ac], eax
jmp 0x4f92f7
lea eax, [ebp - 0x18]
mov edx, 0x4f9e80
call fcn.0040a01c
mov eax, dword [0x5348ac]
add eax, 0xb2
mov dword [0x5348a4], eax
fild dword [0x53485c]
call fcn.0040762c
mov dword [0x534904], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x5c]
push eax
call dword [0x534980]
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [0x5349d8]
mov dword [0x534a50], eax
mov eax, dword [0x534974]
mov dword [0x534864], eax
mov eax, dword [0x534864]
cmp eax, dword [0x534a50]
jle 0x4f9370
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 2
jne 0x4f9346
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 6
jge 0x4f93b3
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
sub eax, 0x15
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.00407638
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x34], 6
jl 0x4f938d
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
mov eax, dword [0x534864]
call fcn.004071f4
mov dword [0x534864], eax
mov eax, dword [0x534a48]
mov dword [0x534874], eax
cmp dword [ebp - 0x60], 0
jne 0x4f9550
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x44]
cmp eax, edx
jge 0x4f941f
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [0x534a18]
mov dword [0x53485c], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 7
jne 0x4f940a
jmp 0x4f9453
mov eax, dword [0x5349e0]
mov dword [0x5349d8], eax
mov eax, dword [0x53492c]
mov dword [0x5349f8], eax
mov eax, dword [0x5349d8]
cmp eax, dword [0x5349f8]
jge 0x4f9453
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040abd8
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
add eax, 0x7f
mov dword [ebp - 0x2c], eax
jmp 0x4f946c
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 7
jne 0x4f93f5
mov eax, dword [0x534a00]
mov dword [0x5349ac], eax
xor eax, eax
mov dword [0x53494c], eax
mov eax, dword [0x5349a4]
mov edx, dword [0x534a10]
call fcn.0040aba0
jne 0x4f94aa
mov eax, dword [0x534934]
imul dword [0x5349d0]
mov dword [0x534a18], eax
jmp 0x4f94b4
mov eax, dword [0x53492c]
mov dword [0x534874], eax
mov byte [ebp - 0xd], 0
jmp 0x4f9de4
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
imul eax, dword [ebp - 0x1c], 0x88
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [0x5348ec]
imul dword [0x534894]
mov dword [0x5348bc], eax
mov eax, dword [0x534894]
sub eax, 0x5c
mov dword [0x534934], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x2c]
cmp eax, 0x93
jge 0x4f95d9
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xc
jge 0x4f965e
inc dword [ebp - 0x4c]
mov eax, dword [0x53486c]
call fcn.004071f4
mov dword [0x53486c], eax
jmp 0x4f965e
mov eax, dword [ebp - 0x38]
add eax, 0x20
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.0040762c
mov dword [ebp - 0x2c], eax
mov eax, dword [0x5348fc]
add eax, dword [0x53486c]
mov edx, dword [0x5349e0]
add edx, dword [0x5348fc]
cmp eax, edx
jge 0x4f9628
imul eax, dword [ebp - 0x24], 0xc4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
add eax, 0xb4
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.0040762c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x4f965e
inc dword [ebp - 0x28]
mov eax, dword [0x5349e8]
mov dword [0x534a50], eax
mov eax, dword [0x53486c]
cmp eax, dword [0x534a50]
jle 0x4f9658
mov eax, dword [0x53486c]
sub dword [0x53490c], eax
cmp dword [ebp - 0x28], 1
jl 0x4f9633
lea eax, [ebp - 0x18]
mov edx, 0x4f9e9c
call fcn.0040a01c
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040abd8
mov eax, dword [0x53485c]
add eax, 4
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.00407638
mov dword [0x534874], eax
mov eax, dword [0x534a50]
add eax, 0xd9
mov dword [0x5348c4], eax
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x60]
xor ecx, ecx
call fcn.0040772c
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 9
jge 0x4f970e
inc dword [ebp - 0x4c]
mov eax, dword [0x53485c]
call fcn.004071f4
mov dword [0x53485c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040abd8
mov eax, dword [ebp - 0x28]
imul dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5348ac]
call fcn.004071f4
mov dword [0x5348ac], eax
jmp 0x4f970e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040abd8
mov eax, dword [0x534934]
call fcn.004071f4
mov dword [0x534934], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
mov eax, dword [ebp - 0x50]
imul dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
imul eax, dword [ebp - 0x20], 0xf9
mov dword [ebp - 0x1c], eax
jmp 0x4f9772
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x4f979c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
add eax, 0x90
mov dword [ebp - 0x2c], eax
mov eax, 0xe5
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x28], 4
jl 0x4f977d
mov eax, dword [0x5349c8]
mov edx, 0x4f9ec4
call fcn.0040aba0
jne 0x4f97f6
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xa
jge 0x4f97ce
inc dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
mov edx, 0x4f9ee4
call fcn.0040a01c
cmp dword [ebp - 0x4c], 0xa
jl 0x4f97b8
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x40]
cmp eax, 0xc2
jge 0x4f97ec
mov eax, dword [0x5349e0]
mov edx, eax
shl eax, 5
sub eax, edx
mov dword [0x53490c], eax
mov eax, dword [0x534884]
mov dword [0x53495c], eax
mov eax, dword [0x5349ac]
cmp eax, dword [0x53490c]
jle 0x4f9830
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
cmp eax, edx
jge 0x4f9824
imul eax, dword [0x534964], 0xb2
mov dword [0x53485c], eax
jmp 0x4f9830
imul eax, dword [0x53485c], 0x49
mov dword [0x5348d4], eax
mov eax, dword [0x5348dc]
sub eax, 0x45
mov dword [0x53497c], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x50]
cmp eax, edx
jle 0x4f986f
mov eax, dword [0x534884]
sub eax, dword [0x534934]
cmp eax, dword [0x5349d8]
jne 0x4f987f
mov eax, dword [0x534884]
add eax, 0x74
mov dword [0x53485c], eax
jmp 0x4f987f
fild dword [0x5348bc]
call fcn.0040762c
mov dword [0x5348f4], eax
add dword [ebp - 0x64], 0x28
mov eax, dword [0x534a40]
call fcn.004071f4
mov dword [0x534a40], eax
mov eax, dword [0x5349f8]
mov dword [0x534a50], eax
mov eax, dword [0x534a50]
cmp eax, dword [0x534a40]
jle 0x4f98ed
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
mov eax, dword [ebp - 0x50]
imul dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xd
jge 0x4f98dc
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
add eax, 0x9a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x3c], 0xd
jl 0x4f98c8
mov eax, dword [0x53494c]
call fcn.004071f4
mov dword [0x53494c], eax
jmp 0x4f9906
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x534a18]
sub eax, dword [0x5348e4]
mov dword [0x534a28], eax
mov eax, dword [0x534a00]
sub eax, 0x2a
mov dword [0x5348cc], eax
mov eax, dword [0x5348e4]
call fcn.004071f4
mov dword [0x5348e4], eax
mov eax, dword [0x5348e4]
cmp eax, dword [0x53494c]
jle 0x4f993f
fild dword [0x534894]
call fcn.0040762c
mov dword [0x534974], eax
mov eax, dword [0x53497c]
mov dword [0x5349b4], eax
lea eax, [ebp - 0x18]
mov edx, 0x4f9f30
call fcn.0040a01c
mov eax, dword [0x53487c]
mov dword [0x534a48], eax
jmp 0x4f9d69
push 4
push 0x1000
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x5c]
push eax
call dword [0x534980]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x4f9b62
mov eax, dword [ebp - 0x48]
lea eax, [eax + eax*8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x534934]
mov dword [0x53493c], eax
imul eax, dword [ebp - 0x2c], 0xe5
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xa
jge 0x4f9a94
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x50]
cmp eax, 0xdb
jge 0x4f9a8e
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x4f9a8e
inc dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x14]
call fcn.0040a01c
cmp dword [ebp - 0x28], 2
jl 0x4f9a7a
cmp dword [ebp - 0x44], 0xa
jl 0x4f9a5f
mov eax, dword [0x5348d4]
call fcn.004071f4
mov dword [0x5348d4], eax
mov eax, dword [0x534a08]
mov dword [0x5348e4], eax
mov byte [ebp - 0xd], 0
jmp 0x4f9de4
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x4f9ba2
inc dword [ebp - 0x4c]
mov eax, dword [0x5349a4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4f9b89
mov eax, dword [ebp - 0x74]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xc
jle 0x4f9b9c
lea eax, [ebp - 0x14]
mov edx, 0x4f9f60
call fcn.0040a01c
cmp dword [ebp - 0x4c], 1
jl 0x4f9b6d
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xd
jge 0x4f9bca
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
imul dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
jmp 0x4f9bca
mov eax, dword [0x534a48]
mov dword [0x53497c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0xf1
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x4f9c03
inc dword [ebp - 0x44]
mov eax, dword [0x534974]
sub eax, dword [0x53488c]
mov dword [0x534874], eax
cmp dword [ebp - 0x44], 2
jl 0x4f9bea
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.0040a01c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [0x53486c]
mov dword [0x53495c], eax
mov eax, dword [ebp - 0x4c]
add eax, 0x6e
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x30]
call fcn.00407638
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [0x534a50]
mov dword [0x534a30], eax
mov eax, dword [0x5349f8]
mov dword [0x534a38], eax
mov eax, dword [0x534a38]
cmp eax, dword [0x534a30]
jge 0x4f9c80
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040abd8
jmp 0x4f9c8a
mov eax, dword [0x5349e0]
mov dword [0x5348dc], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
call fcn.00406fb0
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [eax + 8], edx
add dword [ebp - 0x64], 0x28
mov eax, dword [ebp - 0x18]
mov edx, 0x4f9fa4
call fcn.0040aba0
jne 0x4f9d02
mov eax, dword [0x53494c]
mov dword [0x534884], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
sub eax, 0x66
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 6
jge 0x4f9d02
inc dword [ebp - 0x38]
imul eax, dword [ebp - 0x4c], 0x38
mov dword [ebp - 0x34], eax
jmp 0x4f9d02
mov eax, dword [0x534934]
mov dword [0x5349ac], eax
mov eax, dword [ebp - 0x3c]
sub eax, 0x16
mov dword [ebp - 0x50], eax
mov eax, dword [0x53492c]
mov dword [0x534a08], eax
mov eax, dword [0x5349ac]
cmp eax, dword [0x534a08]
jge 0x4f9d4c
mov eax, dword [0x5348bc]
imul dword [0x534a30]
mov dword [0x534874], eax
fild dword [0x534a18]
call fcn.00407638
mov dword [0x5348e4], eax
mov eax, dword [0x5348ec]
add eax, dword [0x5349c4]
mov dword [0x53497c], eax
mov eax, dword [0x53489c]
add eax, 4
mov dword [0x5349f8], eax
inc dword [ebp - 0x54]
dec dword [ebp - 0x68]
jne 0x4f9133
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
add eax, 0x7b
mov dword [ebp - 0x80], eax
fild dword [ebp - 0x80]
call fcn.0040762c
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [0x53487c]
mov dword [0x5348fc], eax
imul eax, dword [ebp - 0x3c], 0x26
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 7
jne 0x4f9d97
mov eax, dword [0x5349bc]
sub eax, dword [0x53486c]
mov dword [0x5349f8], eax
mov eax, 0x73
sub eax, dword [0x53494c]
mov dword [0x53486c], eax
imul eax, dword [0x53493c], 0xd7
mov dword [0x5348bc], eax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9e06
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00409c54
ret