Function at 0x5150cc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x5150d5
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x402615f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
xor edx, edx
add edx, 0x18
add eax, edx
mov edx, dword [ebp - 0x90]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x516b3a
inc eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x40]
cmp eax, 0xcb
jge 0x5151be
imul eax, dword [ebp - 0x38], 0x8f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
sub eax, 0xce
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
add eax, 0x65
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408254
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408260
mov dword [ebp - 0x68], eax
mov eax, 0x54
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
imul dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
jmp 0x515213
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.0040b914
lea eax, [ebp - 0x34]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.0040b914
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, 0x1f
sub eax, dword [ebp - 0x6c]
cmp eax, 0x3f
jge 0x515285
lea eax, [ebp - 0x34]
mov edx, 0x402617c
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 7
jne 0x51514c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x6c]
cmp eax, edx
jge 0x51563f
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x70]
jne 0x5153ff
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0xb4]
mov edx, dword [0x4102884]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xb4]
lea edx, [ebp - 0xb8]
mov eax, 3
call fcn.0042f940
push dword [ebp - 0xb8]
lea eax, [ebp - 0xbc]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xbc]
lea eax, [ebp - 0xc0]
mov edx, dword [0x4102a08]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xc0]
push 0x40261b4
lea eax, [ebp - 0xc4]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xc4]
lea eax, [ebp - 0xc8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xc8]
lea eax, [ebp - 0xcc]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0xcc]
lea eax, [ebp - 0xb0]
mov edx, 8
call fcn.0040b090
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x28]
call fcn.0040b610
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
jmp 0x515660
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x30]
mov edx, 0x40261c4
call fcn.0040ac34
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0xd0]
mov edx, dword [0x4102824]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xd4]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov cl, 2
call fcn.0040ae6c
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xac]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102874]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xac]
mov cl, 3
call fcn.0040ae6c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0xe0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41028cc]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe0]
mov cl, 4
call fcn.0040ae6c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102874]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe8]
mov cl, 5
call fcn.0040ae6c
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xf0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102c70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf0]
mov cl, 6
call fcn.0040ae6c
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
call fcn.0040ae44
mov edx, 0x40261dc
lea eax, [ebp - 0xf8]
mov cl, 7
call fcn.0040ae6c
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x104]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x104]
mov cl, 8
call fcn.0040ae6c
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x110]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x110]
mov cl, 9
call fcn.0040ae6c
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x11c]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x11c]
mov cl, 0xa
call fcn.0040ae6c
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x34]
call fcn.0040b6c0
jmp 0x515660
lea eax, [ebp - 0x28]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
jne 0x5161f8
mov eax, dword [0x40fee40]
mov dword [0x40fee40], eax
mov eax, dword [0x40fee40]
mov dword [0x40fee38], eax
mov eax, dword [0x40fee38]
cmp eax, dword [0x40fee40]
jle 0x5157f9
mov eax, dword [0x40fee40]
mov dword [0x40fee3c], eax
mov eax, dword [0x40fee3c]
cmp eax, dword [0x40fee40]
jge 0x515706
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x58]
add eax, 0x11
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
add eax, 0x29
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408254
mov dword [ebp - 0x6c], eax
mov eax, dword [0x40fee3c]
mov dword [0x40fee38], eax
mov eax, dword [ebp - 0x70]
sub eax, 0x60
mov dword [ebp - 0x74], eax
fild dword [0x40fee3c]
call fcn.00408254
mov dword [0x40fee40], eax
imul eax, dword [0x40fee38], 0x46
mov dword [0x40fee40], eax
mov eax, dword [0x40fee40]
add eax, 4
mov dword [0x40fee38], eax
mov eax, 0x73
sub eax, dword [0x40fee40]
mov dword [0x40fee3c], eax
mov eax, 0x98
sub eax, dword [0x40fee40]
mov dword [0x40fee40], eax
mov eax, dword [0x40fee3c]
sub eax, dword [0x40fee3c]
cmp eax, dword [0x40fee3c]
jne 0x5157e9
mov eax, dword [0x40fee3c]
sub eax, dword [0x40fee38]
mov dword [0x40fee38], eax
mov eax, dword [0x40fee40]
add eax, 0xf0
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408254
mov dword [0x40fee38], eax
mov eax, dword [0x40fee3c]
sub dword [0x40fee3c], eax
mov eax, dword [0x40fee40]
sub dword [0x40fee40], eax
mov eax, dword [0x40fee38]
add eax, 0x1a
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408254
mov dword [0x40fee38], eax
mov eax, dword [0x40fee40]
add eax, dword [0x40fee38]
mov dword [0x40fee3c], eax
mov eax, dword [0x40fee38]
imul dword [0x40fee38]
mov dword [0x40fee40], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
mov eax, dword [0x40fee3c]
mov dword [0x40fee40], eax
mov eax, dword [0x40fee3c]
cmp eax, dword [0x40fee40]
jle 0x51583f
mov eax, dword [0x40fee40]
mov edx, eax
shl eax, 7
add eax, edx
mov dword [0x40fee38], eax
mov eax, dword [0x40fee3c]
imul eax, dword [0x40fee38]
mov dword [0x40fee38], eax
jmp 0x51584f
mov eax, dword [0x40fee3c]
sub eax, dword [0x40fee3c]
mov dword [0x40fee38], eax
mov eax, dword [0x40fee38]
mov dword [0x40fee3c], eax
lea eax, [ebp - 0xd0]
mov edx, dword [0x4102884]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xd4]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov cl, 2
call fcn.0040ae6c
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xac]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b20]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xac]
mov cl, 3
call fcn.0040ae6c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0xe0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe0]
mov cl, 4
call fcn.0040ae6c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b5c]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe8]
mov cl, 5
call fcn.0040ae6c
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xf0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102c70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf0]
mov cl, 6
call fcn.0040ae6c
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102874]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf8]
mov cl, 7
call fcn.0040ae6c
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x104]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x104]
mov cl, 8
call fcn.0040ae6c
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x110]
call fcn.0040ae44
mov edx, 0x40261dc
lea eax, [ebp - 0x110]
mov cl, 9
call fcn.0040ae6c
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x11c]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x11c]
mov cl, 0xa
call fcn.0040ae6c
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x128]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x128]
mov cl, 0xb
call fcn.0040ae6c
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x138]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x138]
mov cl, 0xc
call fcn.0040ae6c
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x28]
call fcn.0040b6c0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x40fee38
lea edx, [ebp - 0x68]
mov eax, 0x40fee38
call fcn.00503aa4
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [0x40fee40]
push eax
mov eax, dword [0x40fee40]
push eax
mov eax, dword [0x40fee3c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x44]
mov eax, dword [0x40fee40]
call fcn.005146ec
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [0x40fee40], eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [0x40fee40]
push eax
mov eax, dword [0x40fee40]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [0x40fee3c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x68]
call fcn.00513ce0
inc dword [ebp - 0x80]
cmp dword [ebp - 0x80], 0xf
jne 0x515b3d
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x70]
cmp eax, edx
jge 0x515b8d
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
cmp dword [ebp - 0x18], 0
jle 0x51610b
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0044e6d4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xd0]
mov edx, dword [0x4102bfc]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xd4]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a6c]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov cl, 2
call fcn.0040ae6c
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xac]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xac]
mov cl, 3
call fcn.0040ae6c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x144]
mov ecx, 0
call fcn.0040af64
push dword [ebp - 0x144]
lea edx, [ebp - 0x148]
mov eax, 1
call fcn.0042f940
push dword [ebp - 0x148]
lea edx, [ebp - 0x14c]
xor eax, eax
call fcn.0042f940
push dword [ebp - 0x14c]
lea edx, [ebp - 0x150]
mov eax, 3
call fcn.0042f940
push dword [ebp - 0x150]
push 0x40261b4
lea eax, [ebp - 0x154]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0x154]
lea eax, [ebp - 0x158]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0x158]
lea eax, [ebp - 0x15c]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov ecx, 0
call fcn.0040aee0
push dword [ebp - 0x15c]
lea eax, [ebp - 0x140]
mov edx, 8
call fcn.0040b090
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x13c]
call fcn.0040b610
mov eax, dword [ebp - 0x13c]
mov ecx, 1
mov edx, dword [0x40fee30]
call fcn.0040ba6c
cmp eax, 5
je 0x515d8a
xor eax, eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jge 0x515d7f
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x58]
sub eax, 0xb6
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
imul dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
add eax, 5
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
cmp dword [ebp - 0x78], 0
jl 0x515d39
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
mov eax, 0x5d
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x70]
jne 0x515db9
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 7
jge 0x515dee
inc dword [ebp - 0x54]
lea eax, [ebp - 0x34]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.0040b914
cmp dword [ebp - 0x54], 7
jl 0x515dcf
cmp dword [ebp - 0x20], 0
jne 0x515f78
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jge 0x515e53
inc dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [0x40fee38]
push eax
mov eax, dword [0x40fee3c]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [0x40fee3c]
push eax
mov ecx, dword [0x40fee3c]
mov edx, dword [0x40fee3c]
mov eax, dword [0x40fee3c]
call fcn.00513ce0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
cmp dword [ebp - 0x70], 4
jl 0x515e03
mov eax, dword [0x40fee40]
mov dword [0x40fee40], eax
mov eax, dword [0x40fee40]
call fcn.00407df4
mov dword [0x40fee40], eax
mov eax, dword [0x40fee40]
cmp eax, dword [0x40fee40]
jge 0x515e81
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
jmp 0x515e8d
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
mov edx, 0x40261ec
call fcn.0040ac34
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 0x10
jne 0x515e92
xor eax, eax
mov dword [0x40fee3c], eax
push 0x40fee40
mov ecx, 0x40fee40
lea edx, [ebp - 0x38]
mov eax, 0x40fee3c
call fcn.00507ee8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
mov byte [ebp - 0xd], 0
jmp 0x516d19
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
imul eax, dword [ebp - 0x4c], 0xa1
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 9
jge 0x515fd3
inc dword [ebp - 0x60]
mov eax, dword [ebp - 0x84]
add eax, 4
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408260
mov dword [ebp - 0x7c], eax
jmp 0x515fd3
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x68]
jne 0x515feb
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
jmp 0x516001
lea eax, [ebp - 0x28]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
imul eax, dword [ebp - 0x6c], 0x5a
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
push 0x40fee3c
mov ecx, 0x40fee38
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x64]
call fcn.00507ee8
inc dword [ebp - 0x80]
cmp dword [ebp - 0x80], 0xa
jne 0x516021
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jge 0x51606a
inc dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x58]
mov eax, 0x40fee40
call fcn.00513354
cmp dword [ebp - 0x74], 0
jl 0x51604f
imul eax, dword [ebp - 0x50], 0x94
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
add eax, 0x58
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
sub eax, 0xbb
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
call fcn.00408354
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [0x40fee38]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [0x40fee3c]
mov eax, dword [ebp - 0x58]
call fcn.00504420
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 0x50]
sub eax, 0x1b
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [0x40fee40], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40fee40
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x40fee38
mov edx, 0x40fee40
lea eax, [ebp - 0x88]
call fcn.0051224c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, 0x4026214
call fcn.0040ac34
mov ecx, 1
mov edx, dword [ebp - 0x34]
mov eax, 0x4026278
call fcn.0040ba6c
cmp eax, 0x5f
je 0x51613c
mov eax, 0x4d
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
jmp 0x5161b0
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x5161a5
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
add eax, 0x6e
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x54]
add eax, 0xa1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x82
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
call fcn.00408254
mov dword [ebp - 0x40], eax
imul eax, dword [ebp - 0x60], 0xaa
mov dword [ebp - 0x50], eax
mov eax, 0x9e
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], eax
mov eax, dword [0x40fee3c]
add eax, 0x30
mov dword [0x40fee38], eax
cmp dword [ebp - 0x74], 1
jl 0x516147
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
mov eax, dword [0x40fee40]
mov dword [0x40fee3c], eax
mov eax, dword [0x40fee38]
sub dword [0x40fee40], eax
xor eax, eax
mov dword [0x40fee3c], eax
push 0x40fee38
mov ecx, 0x40fee40
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x84]
call fcn.00507ee8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
add dword [ebp - 0x24], 0x28
jmp 0x516b2b
mov eax, dword [ebp - 0x48]
imul dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, 0x40262c0
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, 0x99
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
jmp 0x516234
mov eax, dword [ebp - 0x70]
add eax, 0x97
cmp eax, dword [ebp - 0x68]
jge 0x5164ba
lea eax, [ebp - 0xd0]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xd4]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b1c]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov cl, 2
call fcn.0040ae6c
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xac]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xac]
mov cl, 3
call fcn.0040ae6c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0xe0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b5c]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe0]
mov cl, 4
call fcn.0040ae6c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe8]
mov cl, 5
call fcn.0040ae6c
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xf0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102c70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf0]
mov cl, 6
call fcn.0040ae6c
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102abc]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf8]
mov cl, 7
call fcn.0040ae6c
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x104]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x104]
mov cl, 8
call fcn.0040ae6c
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x110]
call fcn.0040ae44
mov edx, 0x40261dc
lea eax, [ebp - 0x110]
mov cl, 9
call fcn.0040ae6c
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x11c]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x11c]
mov cl, 0xa
call fcn.0040ae6c
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x128]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x128]
mov cl, 0xb
call fcn.0040ae6c
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x138]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x41029f0]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x138]
mov cl, 0xc
call fcn.0040ae6c
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x28]
call fcn.0040b6c0
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x5164da
inc dword [ebp - 0x74]
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x74], 1
jl 0x5164c5
push 4
push 0x1000
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0044e6d4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x40]
cmp eax, edx
jle 0x516515
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x50], eax
call fcn.00512ec8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
call fcn.005064bc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
cmp dword [ebp - 0x20], 0
jne 0x5166ed
xor eax, eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
mov edx, 0x40fee3c
lea eax, [ebp - 0x5c]
call fcn.0050489c
mov eax, dword [0x40fee38]
mov dword [0x40fee3c], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x34]
call fcn.0040ac34
lea eax, [ebp - 0x28]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.0040b914
xor eax, eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x40fee38
mov edx, 0x40fee38
mov eax, 0x40fee38
call fcn.00503aa4
mov byte [ebp - 0xd], 0
jmp 0x516d19
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x70]
jne 0x51671c
lea eax, [ebp - 0x28]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
jmp 0x516732
lea eax, [ebp - 0x28]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
mov eax, dword [ebp - 0x80]
add eax, 0x8f
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
imul dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
add eax, 0xe0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x74], eax
mov eax, 5
sub eax, dword [ebp - 0x6c]
cmp eax, 0x6d
jge 0x51693a
lea eax, [ebp - 0xd0]
mov edx, dword [0x4102a8c]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xd4]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102af4]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xd4]
mov cl, 2
call fcn.0040ae6c
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xac]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102b88]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xac]
mov cl, 3
call fcn.0040ae6c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0xe0]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a70]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe0]
mov cl, 4
call fcn.0040ae6c
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102a08]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xe8]
mov cl, 5
call fcn.0040ae6c
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xf0]
call fcn.0040ae44
mov edx, 0x40261dc
lea eax, [ebp - 0xf0]
mov cl, 6
call fcn.0040ae6c
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102874]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xf8]
mov cl, 7
call fcn.0040ae6c
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x104]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102ac8]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x104]
mov cl, 8
call fcn.0040ae6c
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x110]
call fcn.0040ae44
lea eax, [ebp - 0xd8]
mov edx, dword [0x4102874]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x110]
mov cl, 9
call fcn.0040ae6c
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x28]
call fcn.0040b6c0
jmp 0x516945
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
call fcn.00407bb0
mov eax, dword [ebp - 0x34]
mov edx, 0x40262f8
call fcn.0040b8dc
jne 0x51698e
mov eax, dword [ebp - 0x80]
add eax, 0xfa
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x88]
cmp eax, edx
jle 0x5169ba
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 0x54]
sub eax, 0xce
mov dword [ebp - 0x68], eax
mov eax, dword [0x40fee30]
mov edx, 0x4026338
call fcn.0040b8dc
jne 0x5169d4
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x44]
jle 0x516a40
lea eax, [ebp - 0x28]
mov edx, 0x402635c
call fcn.0040ac34
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
add eax, 0x51
mov dword [ebp - 0x88], eax
mov eax, 0x7c
sub eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x38]
sub eax, 0x76
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x28]
mov edx, 0x40263bc
call fcn.0040ac34
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], 3
jne 0x5169f1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
lea eax, [ebp - 0x2c]
mov edx, 0x40263e0
call fcn.0040ac34
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [eax + 8], edx
fild dword [ebp - 0x74]
call fcn.00408254
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
sub eax, 0x25
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
call fcn.0040ac34
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [0x40fee3c], eax
push 0x40fee3c
mov ecx, 0x40fee3c
mov edx, 0x40fee38
lea eax, [ebp - 0x7c]
call fcn.00507ee8
mov eax, dword [0x40fee40]
mov dword [0x40fee3c], eax
mov eax, dword [0x40fee38]
mov dword [0x40fee40], eax
mov eax, dword [0x40fee3c]
cmp eax, dword [0x40fee40]
jge 0x516ad5
mov eax, dword [ebp - 0x7c]
sub eax, 0xbf
mov dword [ebp - 0x48], eax
jmp 0x516af8
xor eax, eax
mov dword [0x40fee38], eax
push 0x40fee3c
push 0x40fee40
mov ecx, 0x40fee3c
lea edx, [ebp - 0x4c]
mov eax, 0x40fee3c
call fcn.00505928
mov eax, dword [0x40fee3c]
mov dword [0x40fee3c], eax
mov eax, dword [0x40fee3c]
cmp eax, dword [0x40fee40]
jge 0x516b1c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
jmp 0x516b27
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
add dword [ebp - 0x24], 0x28
inc dword [ebp - 0x14]
dec dword [ebp - 0x8c]
jne 0x515147
mov byte [ebp - 0xd], 1
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [0x40fee38]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x40fee3c]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x40fee3c]
call fcn.00513ce0
inc dword [ebp - 0x80]
cmp dword [ebp - 0x80], 0xf
jne 0x516b43
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jge 0x516baa
inc dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040b914
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0040ac34
cmp dword [ebp - 0x74], 0xb
jl 0x516b80
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jge 0x516be4
inc dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x40fee40
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x3c]
mov eax, 0x40fee3c
call fcn.0050489c
cmp dword [ebp - 0x70], 0
jl 0x516bb5
xor eax, eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x516ccb
inc dword [ebp - 0x78]
xor eax, eax
mov dword [0x40fee38], eax
call fcn.00505604
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x516c25
mov eax, dword [ebp - 0xa4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xb
jle 0x516c74
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
add eax, 0x1c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [0x40fee3c]
imul dword [0x40fee38]
mov dword [0x40fee40], eax
fild dword [ebp - 0x6c]
call fcn.00408254
mov dword [ebp - 0x38], eax
mov eax, dword [0x40fee38]
sub dword [0x40fee3c], eax
jmp 0x516cc1
imul eax, dword [0x40fee40], 0xa4
mov dword [0x40fee38], eax
imul eax, dword [0x40fee38], 0x3a
mov dword [0x40fee3c], eax
sub dword [0x40fee3c], 0xd1
sub dword [0x40fee40], 0xce
mov eax, dword [0x40fee3c]
add eax, 0xfe
mov dword [0x40fee38], eax
mov eax, dword [0x40fee40]
add eax, 0xfb
mov dword [0x40fee3c], eax
cmp dword [ebp - 0x78], 2
jl 0x516bf3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x516cee
mov eax, dword [ebp - 0xa8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x3a
jne 0x516d07
mov eax, 0x49
sub eax, dword [0x40fee40]
mov dword [0x40fee40], eax
xor eax, eax
mov dword [0x40fee3c], eax
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00513354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4026166
lea eax, [ebp - 0x15c]
mov edx, 8
call fcn.0040a89c
lea eax, [ebp - 0x13c]
call fcn.0040a80c
lea eax, [ebp - 0xcc]
mov edx, 8
call fcn.0040a89c
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a86c
ret